Changeset 68251 in vbox for trunk/src/VBox
- Timestamp:
- Aug 2, 2017 3:11:20 PM (7 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/UnattendedTemplates/win_nt5_unattended.sif
r68071 r68251 16 16 17 17 [GuiUnattended] 18 AdminPassword = "@@VBOX_INSERT_ USER_PASSWORD@@"18 AdminPassword = "@@VBOX_INSERT_ROOT_PASSWORD@@" 19 19 EncryptedAdminPassword = No 20 20 AutoLogon = Yes … … 22 22 OemSkipWelcome = 1 23 23 ; TODO: Make timezone configurable? 24 TimeZone = 8524 TimeZone = @@VBOX_INSERT_TIME_ZONE_WIN_INDEX@@ 25 25 OemSkipWelcome = 1 26 26 … … 29 29 ProductKey = "@@VBOX_INSERT_PRODUCT_KEY@@" 30 30 ProductID = "@@VBOX_INSERT_PRODUCT_KEY@@" 31 ; ; TODO: we're currently setting this up as Administrator only. We should respect the --user too. 32 ; ; Maybe consider: https://unattended.msfn.org/unattended.xp/view/web/27/SESSID=329e04d6824e220b0bb415d0665b1fe0/ 31 33 FullName = "@@VBOX_INSERT_USER_LOGIN@@" 32 34 OrgName = "" 33 ; TODO: Make computer name configurable, defaulting to a mangled (for NT) VM name. 34 ComputerName = * 35 ComputerName = "@@VBOX_INSERT_HOSTNAME_WITHOUT_DOMAIN_MAX_15@@" 35 36 36 37 [RegionalSettings] … … 55 56 InstallDefaultComponents = Yes 56 57 57 @@VBOX_COND_IS_INSTALLING_ADDITIONS@@58 58 [GuiRunOnce] 59 Command0="A:\vboxpost.cmd" 60 @@VBOX_COND_END@@ 59 Command0="A:\VBOXPOST.CMD" 61 60 -
trunk/src/VBox/Main/src-server/UnattendedScript.cpp
r68243 r68251 613 613 else if (IS_PLACEHOLDER_MATCH("HAS_NO_POST_INSTALL_COMMAND")) 614 614 *pfOutputting = !mpUnattended->i_getPostInstallCommand().isNotEmpty(); 615 /* Product key: */ 616 else if (IS_PLACEHOLDER_MATCH("HAS_PRODUCT_KEY")) 617 *pfOutputting = mpUnattended->i_getProductKey().isNotEmpty(); 618 else if (IS_PLACEHOLDER_MATCH("HAS_NO_PRODUCT_KEY")) 619 *pfOutputting = !mpUnattended->i_getProductKey().isNotEmpty(); 615 620 /* Minimal installation: */ 616 621 else if (IS_PLACEHOLDER_MATCH("IS_MINIMAL_INSTALLATION"))
Note:
See TracChangeset
for help on using the changeset viewer.