VirtualBox

Changeset 34630 in vbox for trunk/src/VBox/Installer/win


Ignore:
Timestamp:
Dec 2, 2010 5:12:51 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68432
Message:

Windows host installer: Don't install/display any license (page) anymore.

Location:
trunk/src/VBox/Installer/win
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/Makefile.kmk

    r34584 r34630  
    107107                $(VBOX_WIN_INST_OUT_DIR)/$(PACKAGE_NAME_LANG)_$(lang).msi) \
    108108        $(VBOX_WIN_INST_OUT_DIR)/Files_Doc.wxi \
    109         $(VBOX_WIN_INST_OUT_DIR)/Files_License.wxi
     109        $(if $(VBOX_WITH_LICENSE_DISPLAY), $(VBOX_WIN_INST_OUT_DIR)/Files_License.wxi)
    110110
    111111ifdef VBOX_WITH_COMBINED_PACKAGE
     
    231231        $(APPEND) $@ '</Include>'
    232232
     233ifdef VBOX_WITH_LICENSE_DISPLAY
    233234$(VBOX_WIN_INST_OUT_DIR)/Files_License.wxi: $(MAKEFILE_CURRENT) | $$(dir $$@)
    234235        $(call MSG_GENERATE,,$@,$<)
     
    243244                     '  </File>')
    244245        $(APPEND) $@ '</Include>'
    245 
     246endif
    246247
    247248#
     
    376377                -E 'VBOX_WITH_SECURELABEL=$(if $(VBOX_WITH_SECURELABEL),yes,no)' \
    377378                -E 'VBOX_WITH_SERIALNUMBER_INSTALL=$(if $(VBOX_WITH_SERIALNUMBER_INSTALL),yes,no)' \
     379                -E 'VBOX_WITH_LICENSE_DISPLAY=$(if $(VBOX_WITH_LICENSE_DISPLAY),yes,no)' \
    378380                -E 'VBOX_WINDOWS_ICON_FILE=$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))' \
    379381                -E 'BUILD_TYPE=$(KBUILD_TYPE)' \
     
    471473                $(VBOX_WIN_INST_OUT_DIR)/Files_Main.wxi \
    472474                $(VBOX_WIN_INST_OUT_DIR)/Files_Doc.wxi \
    473                 $(VBOX_WIN_INST_OUT_DIR)/Files_License.wxi \
     475                $(if $(VBOX_WITH_LICENSE_DISPLAY), $(VBOX_WIN_INST_OUT_DIR)/Files_License.wxi) \
    474476                $(foreach lang,$(VBOX_INSTALLER_LANGUAGES), $(VBOX_WIN_INST_OUT_DIR)/$(PACKAGE_NAME_LANG)_$(lang).msi) \
    475477                $(foreach lang,$(VBOX_INSTALLER_ADD_LANGUAGES), $(VBOX_WIN_INST_OUT_DIR)/Languages/$(lang).mst) \
  • trunk/src/VBox/Installer/win/UserInterface.wxi

    r34367 r34630  
    5757            </Control>
    5858
    59             <!-- Next dialog is the license agreement -->
    6059            <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="$(loc.ButtonText_Next)">
    61                  <Publish Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
     60        <?if $(env.VBOX_WITH_LICENSE_DISPLAY) = "yes" ?>
     61                <!-- Next dialog is the license agreement -->
     62                <Publish Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
     63        <?else ?>
     64                <!-- Decide which dialog to show next: The serial number dialog (if this is a branded build)
     65                     or directly proceed to the customization dialog (Vbox not installed yet) -->
     66                <?if $(env.VBOX_WITH_SERIALNUMBER_INSTALL) = "yes" ?>
     67                    <Publish Event="NewDialog" Value="CheckSerialDlg">1</Publish>
     68                <?else ?>
     69                    <Publish Event="NewDialog" Value="CustomizeDlg"><![CDATA[(PREVIOUSVERSIONSINSTALLED OR NEWERVERSIONDETECTED)]]></Publish>
     70                    <Publish Event="NewDialog" Value="CustomizeDlg"><![CDATA[(NOT PREVIOUSVERSIONSINSTALLED) AND (NOT NEWERVERSIONDETECTED)]]></Publish>
     71                <?endif ?>
     72        <?endif ?>
    6273            </Control>
    6374
     
    177188
    178189            <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="$(loc.ButtonText_Back)">
    179                  <Publish Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
     190        <?if $(env.VBOX_WITH_LICENSE_DISPLAY) = "yes" ?>
     191                <Publish Event="NewDialog" Value="LicenseAgreementDlg">1</Publish>
     192        <?else ?>
     193                <Publish Event="NewDialog" Value="WelcomeDlg">1</Publish>
     194        <?endif ?>
    180195            </Control>
    181196            <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="$(loc.ButtonText_Check)">
     
    275290
    276291            <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="$(loc.ButtonText_Back)">
     292        <?if $(env.VBOX_WITH_LICENSE_DISPLAY) = "yes" ?>
    277293                <Publish Event="NewDialog" Value="LicenseAgreementDlg"><![CDATA[(NOT CHECKSERIAL) AND (InstallMode = "$(loc.InstallModeCustom)")]]></Publish>
    278294                <Publish Event="NewDialog" Value="CheckSerialDlg"><![CDATA[CHECKSERIAL]]></Publish>
     295        <?else ?>
     296                <Publish Event="NewDialog" Value="WelcomeDlg">1</Publish>
     297        <?endif ?>
    279298            </Control>
    280299            <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="$(loc.ButtonText_Next)">
  • trunk/src/VBox/Installer/win/VirtualBox.wxs

    r34447 r34630  
    400400                        <?include $(env.PATH_TARGET)\Files_Main.wxi ?>
    401401<?endif ?>
     402<?if $(env.VBOX_WITH_LICENSE_DISPLAY) = "yes" ?>
    402403                        <!-- Include all license files (file is generated by makefile). -->
    403404                        <?include $(env.PATH_TARGET)\Files_License.wxi ?>
     405<?endif ?>
    404406
    405407<?if $(env.VBOX_WITH_DEBUGGER_GUI) = "yes" ?>
Note: See TracChangeset for help on using the changeset viewer.

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