Changeset 51050 in vbox for trunk/src/VBox/Installer/win
- Timestamp:
- Apr 11, 2014 2:55:45 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 93272
- Location:
- trunk/src/VBox/Installer/win
- Files:
-
- 9 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/InstallHelper/VBoxInstallHelper.cpp
r51009 r51050 493 493 #define VBOX_NETCFG_APP_NAME L"VirtualBox Installer" 494 494 #define VBOX_NETCFG_MAX_RETRIES 10 495 #define NETFLT_PT_INF_REL_PATH L" drivers\\network\\netflt\\VBoxNetFlt.inf"496 #define NETFLT_MP_INF_REL_PATH L" drivers\\network\\netflt\\VBoxNetFltM.inf"495 #define NETFLT_PT_INF_REL_PATH L"VBoxNetFlt.inf" 496 #define NETFLT_MP_INF_REL_PATH L"VBoxNetFltM.inf" 497 497 #define NETFLT_ID L"sun_VBoxNetFlt" /** @todo Needs to be changed (?). */ 498 498 #define NETADP_ID L"sun_VBoxNetAdp" /** @todo Needs to be changed (?). */ … … 538 538 case NETCFG_S_REBOOT: 539 539 { 540 logStringW(hModule, L"Reboot required, setting REBOOT property to Force");540 logStringW(hModule, L"Reboot required, setting REBOOT property to \"force\""); 541 541 HRESULT hr2 = MsiSetPropertyW(hModule, L"REBOOT", L"Force"); 542 542 if (hr2 != ERROR_SUCCESS) … … 855 855 GUID guid; 856 856 WCHAR wszMpInf[MAX_PATH]; 857 DWORD cchMpInf = RT_ELEMENTS(wszMpInf) - sizeof(" drivers\\network\\netadp\\VBoxNetAdp.inf") - 1;857 DWORD cchMpInf = RT_ELEMENTS(wszMpInf) - sizeof("VBoxNetAdp.inf") - 1; 858 858 LPCWSTR pwszInfPath = NULL; 859 859 bool bIsFile = false; … … 870 870 } 871 871 872 wcscat(wszMpInf, L" drivers\\network\\netadp\\VBoxNetAdp.inf");872 wcscat(wszMpInf, L"VBoxNetAdp.inf"); 873 873 pwszInfPath = wszMpInf; 874 874 bIsFile = true; … … 877 877 } 878 878 else 879 logStringW(hModule, L"CreateHostOnlyInterface: NetAdpDir property valueis empty");879 logStringW(hModule, L"CreateHostOnlyInterface: VBox installation path is empty"); 880 880 } 881 881 else 882 logStringW(hModule, L"CreateHostOnlyInterface: Failed to get NetAdpDir property, error = 0x%x", uErr);882 logStringW(hModule, L"CreateHostOnlyInterface: Unable to retrieve VBox installation path, error = 0x%x", uErr); 883 883 884 884 /* Make sure the inf file is installed. */ … … 943 943 if (FAILED(hr)) 944 944 { 945 logStringW(hModule, L"RemoveHostOnlyInterfaces: NetAdp uninstalled successfully, but failed to remove infs");945 logStringW(hModule, L"RemoveHostOnlyInterfaces: NetAdp uninstalled successfully, but failed to remove INF files"); 946 946 } 947 947 } … … 1000 1000 1001 1001 WCHAR wszMpInf[MAX_PATH]; 1002 DWORD cchMpInf = RT_ELEMENTS(wszMpInf) - sizeof(" drivers\\network\\netadp\\VBoxNetAdp.inf") - 1;1002 DWORD cchMpInf = RT_ELEMENTS(wszMpInf) - sizeof("VBoxNetAdp.inf") - 1; 1003 1003 LPCWSTR pwszInfPath = NULL; 1004 1004 bool bIsFile = false; … … 1015 1015 } 1016 1016 1017 wcscat(wszMpInf, L" drivers\\network\\netadp\\VBoxNetAdp.inf");1017 wcscat(wszMpInf, L"VBoxNetAdp.inf"); 1018 1018 pwszInfPath = wszMpInf; 1019 1019 bIsFile = true; … … 1050 1050 } 1051 1051 else 1052 logStringW(hModule, L"UpdateHostOnlyInterfaces: NetAdpDir property valueis empty");1052 logStringW(hModule, L"UpdateHostOnlyInterfaces: VBox installation path is empty"); 1053 1053 } 1054 1054 else 1055 logStringW(hModule, L"UpdateHostOnlyInterfaces: Failed to get NetAdpDir property, error = 0x%x", uErr);1055 logStringW(hModule, L"UpdateHostOnlyInterfaces: Unable to retrieve VBox installation path, error = 0x%x", uErr); 1056 1056 1057 1057 /* Restore original setup mode. */ -
trunk/src/VBox/Installer/win/VBoxMergeNetAdp.wxs
r51023 r51050 43 43 </Directory> <!-- TARGETDIR --> 44 44 45 <!-- Custom actions --> 46 <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" /> 47 <Property Id="VBOX_FEATURE_NETADP" Value="1" /> 48 <?include VBoxMergeNetAdpCA.wxi ?> 49 50 <InstallExecuteSequence> 51 <?include VBoxMergeNetAdpSeq.wxi ?> 52 </InstallExecuteSequence> 53 45 54 </Module> 46 55 </Wix> -
trunk/src/VBox/Installer/win/VBoxMergeNetAdpCA.wxi
r51043 r51050 17 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 18 19 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>20 19 <CustomAction Id="ca_CreateHostOnlyInterface" BinaryKey="VBoxInstallHelper" DllEntry="CreateHostOnlyInterface" Execute="deferred" Return="check" Impersonate="no"/> 21 <CustomAction Id="ca_CreateHostOnlyInterfaceArgs" Property="ca_CreateHostOnlyInterface" Value="[INSTALLDIR]" Execute="immediate"/> 22 20 <CustomAction Id="ca_CreateHostOnlyInterfaceArgs" Property="ca_CreateHostOnlyInterface" Value="[MergeRedirectFolder]" Execute="immediate"/> 23 21 <CustomAction Id="ca_RemoveHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="RemoveHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/> 24 22 <CustomAction Id="ca_StopHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="StopHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/> 25 26 23 <CustomAction Id="ca_UpdateHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="UpdateHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/> 27 <CustomAction Id="ca_UpdateHostOnlyInterfacesArgs" Property="ca_UpdateHostOnlyInterfaces" Value="[INSTALLDIR]" Execute="immediate"/> 28 29 <CustomAction Id="ca_InstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetFlt" Execute="deferred" Return="check" Impersonate="no"/> 30 <CustomAction Id="ca_InstallNetFltArgs" Property="ca_InstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/> 31 32 <CustomAction Id="ca_RollbackInstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetFlt" Execute="rollback" Impersonate="no"/> 33 <CustomAction Id="ca_RollbackInstallNetFltArgs" Property="ca_RollbackInstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/> 34 35 <CustomAction Id="ca_UninstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetFlt" Execute="deferred" Return="check" Impersonate="no"/> 36 <CustomAction Id="ca_UninstallNetFltArgs" Property="ca_UninstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/> 37 38 <CustomAction Id="ca_RollbackUninstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetFlt" Execute="rollback" Impersonate="no"/> 39 <CustomAction Id="ca_RollbackUninstallNetFltArgs" Property="ca_RollbackUninstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/> 40 <?endif ?> 24 <CustomAction Id="ca_UpdateHostOnlyInterfacesArgs" Property="ca_UpdateHostOnlyInterfaces" Value="[MergeRedirectFolder]" Execute="immediate"/> 41 25 42 26 </Include> -
trunk/src/VBox/Installer/win/VBoxMergeNetAdpSeq.wxi
r51043 r51050 17 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 18 19 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?> 20 <!-- Create host-only interfaces on first-time install. --> 21 <Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkAdp=3]]></Custom> 22 <Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" ><![CDATA[&VBoxNetworkAdp=3]]></Custom> 23 <!-- Don't remove the host-only interfaces on update, only on uninstall. --> 24 <Custom Action="ca_RemoveHostOnlyInterfaces" After="ca_UninstallNetFlt" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom> 19 <!-- Create host-only interfaces on first-time install --> 20 <Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" ><![CDATA[NOT Installed]]></Custom> 21 <Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" ><![CDATA[NOT Installed]]></Custom> 22 <!-- Don't remove the host-only interfaces on update, only on uninstall --> 23 <Custom Action="ca_RemoveHostOnlyInterfaces" Before="RemoveFiles" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom> 25 24 <!-- First stop the existing host-only interfaces on update ... --> 26 25 <Custom Action="ca_StopHostOnlyInterfaces" Before="ca_UpdateHostOnlyInterfaces" ><![CDATA[UPGRADINGPRODUCTCODE]]></Custom> … … 29 28 <Custom Action="ca_UpdateHostOnlyInterfaces" Before="InstallFiles" ><![CDATA[Installed AND UPGRADINGPRODUCTCODE]]></Custom> 30 29 31 <Custom Action="ca_RollbackInstallNetFltArgs" Before="ca_RollbackInstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>32 <Custom Action="ca_RollbackInstallNetFlt" Before="ca_InstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>33 <Custom Action="ca_InstallNetFltArgs" Before="ca_InstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>34 <Custom Action="ca_InstallNetFlt" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>35 36 <Custom Action="ca_RollbackUninstallNetFltArgs" Before="ca_RollbackUninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>37 <Custom Action="ca_RollbackUninstallNetFlt" Before="ca_UninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>38 <Custom Action="ca_UninstallNetFltArgs" Before="ca_UninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>39 <Custom Action="ca_UninstallNetFlt" After="InstallInitialize" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>40 <?endif?>41 42 30 </Include> -
trunk/src/VBox/Installer/win/VBoxMergeNetFlt.wxs
r51043 r51050 45 45 <!-- Custom actions --> 46 46 <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" /> 47 <Property Id="VBOX_FEATURE_NETFLT" Value="1" /> 47 48 <?include VBoxMergeNetFltCA.wxi ?> 48 49 -
trunk/src/VBox/Installer/win/VBoxMergeNetFltCA.wxi
r51043 r51050 18 18 19 19 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?> 20 <CustomAction Id="ca_CreateHostOnlyInterface" BinaryKey="VBoxInstallHelper" DllEntry="CreateHostOnlyInterface" Execute="deferred" Return="check" Impersonate="no"/>21 <CustomAction Id="ca_CreateHostOnlyInterfaceArgs" Property="ca_CreateHostOnlyInterface" Value="[INSTALLDIR]" Execute="immediate"/>22 23 <CustomAction Id="ca_RemoveHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="RemoveHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/>24 <CustomAction Id="ca_StopHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="StopHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/>25 26 <CustomAction Id="ca_UpdateHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="UpdateHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/>27 <CustomAction Id="ca_UpdateHostOnlyInterfacesArgs" Property="ca_UpdateHostOnlyInterfaces" Value="[INSTALLDIR]" Execute="immediate"/>28 29 20 <CustomAction Id="ca_InstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetFlt" Execute="deferred" Return="check" Impersonate="no"/> 30 <CustomAction Id="ca_InstallNetFltArgs" Property="ca_InstallNetFlt" Value="[ INSTALLDIR]" Execute="immediate"/>21 <CustomAction Id="ca_InstallNetFltArgs" Property="ca_InstallNetFlt" Value="[MergeRedirectFolder]" Execute="immediate"/> 31 22 32 23 <CustomAction Id="ca_RollbackInstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetFlt" Execute="rollback" Impersonate="no"/> 33 <CustomAction Id="ca_RollbackInstallNetFltArgs" Property="ca_RollbackInstallNetFlt" Value="[ INSTALLDIR]" Execute="immediate"/>24 <CustomAction Id="ca_RollbackInstallNetFltArgs" Property="ca_RollbackInstallNetFlt" Value="[MergeRedirectFolder]" Execute="immediate"/> 34 25 35 26 <CustomAction Id="ca_UninstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetFlt" Execute="deferred" Return="check" Impersonate="no"/> 36 <CustomAction Id="ca_UninstallNetFltArgs" Property="ca_UninstallNetFlt" Value="[ INSTALLDIR]" Execute="immediate"/>27 <CustomAction Id="ca_UninstallNetFltArgs" Property="ca_UninstallNetFlt" Value="[MergeRedirectFolder]" Execute="immediate"/> 37 28 38 29 <CustomAction Id="ca_RollbackUninstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetFlt" Execute="rollback" Impersonate="no"/> 39 <CustomAction Id="ca_RollbackUninstallNetFltArgs" Property="ca_RollbackUninstallNetFlt" Value="[ INSTALLDIR]" Execute="immediate"/>30 <CustomAction Id="ca_RollbackUninstallNetFltArgs" Property="ca_RollbackUninstallNetFlt" Value="[MergeRedirectFolder]" Execute="immediate"/> 40 31 <?endif ?> 41 32 -
trunk/src/VBox/Installer/win/VBoxMergeNetFltSeq.wxi
r51043 r51050 18 18 19 19 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?> 20 <!-- Create host-only interfaces on first-time install. --> 21 <Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkAdp=3]]></Custom> 22 <Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" ><![CDATA[&VBoxNetworkAdp=3]]></Custom> 23 <!-- Don't remove the host-only interfaces on update, only on uninstall. --> 24 <Custom Action="ca_RemoveHostOnlyInterfaces" After="ca_UninstallNetFlt" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom> 25 <!-- First stop the existing host-only interfaces on update ... --> 26 <Custom Action="ca_StopHostOnlyInterfaces" Before="ca_UpdateHostOnlyInterfaces" ><![CDATA[UPGRADINGPRODUCTCODE]]></Custom> 27 <!-- ... then do the actual driver update. --> 28 <Custom Action="ca_UpdateHostOnlyInterfacesArgs" Before="ca_UpdateHostOnlyInterfaces" ><![CDATA[Installed AND UPGRADINGPRODUCTCODE]]></Custom> 29 <Custom Action="ca_UpdateHostOnlyInterfaces" Before="InstallFiles" ><![CDATA[Installed AND UPGRADINGPRODUCTCODE]]></Custom> 20 <Custom Action="ca_RollbackInstallNetFltArgs" Before="ca_RollbackInstallNetFlt" ><![CDATA[UPGRADINGPRODUCTCODE OR (NOT Installed)]]></Custom> 21 <Custom Action="ca_RollbackInstallNetFlt" Before="ca_InstallNetFlt" ><![CDATA[UPGRADINGPRODUCTCODE OR (NOT Installed)]]></Custom> 22 <Custom Action="ca_InstallNetFltArgs" Before="ca_InstallNetFlt" ><![CDATA[UPGRADINGPRODUCTCODE OR (NOT Installed)]]></Custom> 23 <Custom Action="ca_InstallNetFlt" Before="InstallFinalize" ><![CDATA[UPGRADINGPRODUCTCODE OR (NOT Installed)]]></Custom> 30 24 31 <Custom Action="ca_RollbackInstallNetFltArgs" Before="ca_RollbackInstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom> 32 <Custom Action="ca_RollbackInstallNetFlt" Before="ca_InstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom> 33 <Custom Action="ca_InstallNetFltArgs" Before="ca_InstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom> 34 <Custom Action="ca_InstallNetFlt" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkFlt=3]]></Custom> 35 36 <Custom Action="ca_RollbackUninstallNetFltArgs" Before="ca_RollbackUninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom> 37 <Custom Action="ca_RollbackUninstallNetFlt" Before="ca_UninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom> 38 <Custom Action="ca_UninstallNetFltArgs" Before="ca_UninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom> 39 <Custom Action="ca_UninstallNetFlt" After="InstallInitialize" ><![CDATA[&VBoxNetworkFlt=2]]></Custom> 25 <Custom Action="ca_RollbackUninstallNetFltArgs" Before="ca_RollbackUninstallNetFlt" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom> 26 <Custom Action="ca_RollbackUninstallNetFlt" Before="ca_UninstallNetFlt" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom> 27 <Custom Action="ca_UninstallNetFltArgs" Before="ca_UninstallNetFlt" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom> 28 <Custom Action="ca_UninstallNetFlt" After="InstallInitialize" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom> 40 29 <?endif?> 41 30 -
trunk/src/VBox/Installer/win/VBoxMergePython.wxs
r51043 r51050 45 45 <!-- Custom actions --> 46 46 <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" /> 47 <Property Id="VBOX_FEATURE_PYTHON" Value="1" /> 47 48 <?include VBoxMergePythonCA.wxi ?> 48 49 -
trunk/src/VBox/Installer/win/VBoxMergePythonCA.wxi
r51043 r51050 18 18 19 19 <CustomAction Id="ca_InstallPythonAPI" BinaryKey="VBoxInstallHelper" DllEntry="InstallPythonAPI" Execute="deferred" Return="check" Impersonate="no"/> 20 <CustomAction Id="ca_InstallPythonAPIArgs" Property="ca_InstallPythonAPI" Value="[ INSTALLDIR]" Execute="immediate"/>20 <CustomAction Id="ca_InstallPythonAPIArgs" Property="ca_InstallPythonAPI" Value="[MergeRedirectFolder]" Execute="immediate"/> 21 21 22 22 </Include> -
trunk/src/VBox/Installer/win/VBoxMergePythonSeq.wxi
r51043 r51050 17 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 18 19 <Custom Action="ca_InstallPythonAPIArgs" Before="ca_InstallPythonAPI" ><![CDATA[ &VBoxPython=3]]></Custom>20 <Custom Action="ca_InstallPythonAPI" Before="InstallFinalize" ><![CDATA[ &VBoxPython=3]]></Custom>19 <Custom Action="ca_InstallPythonAPIArgs" Before="ca_InstallPythonAPI" ><![CDATA[1]]></Custom> 20 <Custom Action="ca_InstallPythonAPI" Before="InstallFinalize" ><![CDATA[1]]></Custom> 21 21 22 22 </Include> -
trunk/src/VBox/Installer/win/VirtualBox.wxs
r51046 r51050 65 65 66 66 <!-- VirtualBox properties --> 67 <Property Id="VBOX_INSTALLDESKTOPSHORTCUT" Value="1" ></Property>68 <Property Id="VBOX_INSTALLQUICKLAUNCHSHORTCUT" Value="1" ></Property>69 <Property Id="VBOX_REGISTERFILEEXTENSIONS" Value="1" ></Property>70 <Property Id="VBOX_STARTVBOX" Value="1" ></Property>67 <Property Id="VBOX_INSTALLDESKTOPSHORTCUT" Value="1" /> 68 <Property Id="VBOX_INSTALLQUICKLAUNCHSHORTCUT" Value="1" /> 69 <Property Id="VBOX_REGISTERFILEEXTENSIONS" Value="1" /> 70 <Property Id="VBOX_STARTVBOX" Value="1" /> 71 71 72 72 <!-- Make sure installation will not start on anything other but the NT family --> … … 279 279 ConfigurableDirectory="INSTALLDIR" TypicalDefault="install" Display="expand" 280 280 Absent="disallow" AllowAdvertise="no" > 281 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 282 <MergeRef Id="msm_VBoxApp" /> 283 <?else ?> 281 <!-- Components which are handled only by this installer itself --> 284 282 <ComponentRef Id="cp_StartMenuVBox" /> 285 283 <ComponentRef Id="cp_DesktopShortcut" /> 286 284 <ComponentRef Id="cp_QuickLaunchVBox" /> 285 <!-- Components handled either by the installer itself or 286 the merge module --> 287 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 288 <MergeRef Id="msm_VBoxApp" /> 289 <?else ?> 287 290 <?if $(env.VBOX_WITH_QTGUI) = "yes" ?> 288 291 <ComponentRef Id="cp_RegisterExtensions" /> … … 410 413 <!-- AppSearch must be done before "RemoveExistingProducts" and before "FindRelatedProducts" --> 411 414 <AppSearch Sequence="1"></AppSearch> 412 <LaunchConditions Sequence="2" />415 <LaunchConditions After="AppSearch" /> 413 416 414 417 <!-- First install the new version and then remove the old version. This is more efficient --> 415 <RemoveExistingProducts Sequence="3" /> 416 <InstallValidate Sequence="4" /> 418 <RemoveExistingProducts Before="InstallValidate" /> 417 419 418 420 <Custom Action="ca_OriginalTargetDir" After="FileCost"><![CDATA[(NOT INSTALLDIR) AND (NOT EXISTINGINSTALLDIR)]]></Custom>
Note:
See TracChangeset
for help on using the changeset viewer.