VirtualBox

Changeset 68251 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 2, 2017 3:11:20 PM (7 years ago)
Author:
vboxsync
Message:

Unattended: XP updates.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/UnattendedTemplates/win_nt5_unattended.sif

    r68071 r68251  
    1616
    1717[GuiUnattended]
    18     AdminPassword = "@@VBOX_INSERT_USER_PASSWORD@@"
     18    AdminPassword = "@@VBOX_INSERT_ROOT_PASSWORD@@"
    1919    EncryptedAdminPassword = No
    2020    AutoLogon = Yes
     
    2222    OemSkipWelcome = 1
    2323; TODO: Make timezone configurable?
    24     TimeZone = 85
     24    TimeZone = @@VBOX_INSERT_TIME_ZONE_WIN_INDEX@@
    2525    OemSkipWelcome = 1
    2626
     
    2929    ProductKey = "@@VBOX_INSERT_PRODUCT_KEY@@"
    3030    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/
    3133    FullName = "@@VBOX_INSERT_USER_LOGIN@@"
    3234    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@@"
    3536
    3637[RegionalSettings]
     
    5556    InstallDefaultComponents = Yes
    5657
    57 @@VBOX_COND_IS_INSTALLING_ADDITIONS@@
    5858[GuiRunOnce]
    59     Command0="A:\vboxpost.cmd"
    60 @@VBOX_COND_END@@
     59    Command0="A:\VBOXPOST.CMD"
    6160
  • trunk/src/VBox/Main/src-server/UnattendedScript.cpp

    r68243 r68251  
    613613    else if (IS_PLACEHOLDER_MATCH("HAS_NO_POST_INSTALL_COMMAND"))
    614614        *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();
    615620    /* Minimal installation: */
    616621    else if (IS_PLACEHOLDER_MATCH("IS_MINIMAL_INSTALLATION"))
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette