VirtualBox

Changeset 68251 in vbox for trunk/src/VBox/Main/src-server


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

Unattended: XP updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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