Changeset 51043 in vbox
- Timestamp:
- Apr 11, 2014 8:15:36 AM (11 years ago)
- Location:
- trunk/src/VBox/Installer/win
- Files:
-
- 7 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/VBoxMergeApp.wxs
r51028 r51043 58 58 </Directory> <!-- TARGETDIR --> 59 59 60 <!-- Custom actions --> 61 <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" /> 60 62 <?include VBoxMergeAppCA.wxi ?> 63 64 <InstallExecuteSequence> 65 <?include VBoxMergeAppSeq.wxi ?> 66 </InstallExecuteSequence> 61 67 62 68 </Module> -
trunk/src/VBox/Installer/win/VBoxMergeAppCA.wxi
r51023 r51043 17 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 18 19 <!-- Custom actions -->20 <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />21 22 19 </Include> -
trunk/src/VBox/Installer/win/VBoxMergeAppSeq.wxi
r51023 r51043 17 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 18 19 <!-- Custom actions -->20 <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />21 22 19 </Include> -
trunk/src/VBox/Installer/win/VBoxMergeNetFlt.wxs
r51028 r51043 43 43 </Directory> <!-- TARGETDIR --> 44 44 45 <!-- Custom actions --> 46 <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" /> 45 47 <?include VBoxMergeNetFltCA.wxi ?> 48 49 <InstallExecuteSequence> 50 <?include VBoxMergeNetFltSeq.wxi ?> 51 </InstallExecuteSequence> 46 52 47 53 </Module> -
trunk/src/VBox/Installer/win/VBoxMergeNetFltCA.wxi
r51023 r51043 17 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 18 19 <!-- Custom actions -->20 <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />21 19 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?> 22 20 <CustomAction Id="ca_CreateHostOnlyInterface" BinaryKey="VBoxInstallHelper" DllEntry="CreateHostOnlyInterface" Execute="deferred" Return="check" Impersonate="no"/> … … 42 40 <?endif ?> 43 41 44 <InstallExecuteSequence>45 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?>46 <!-- Create host-only interfaces on first-time install. -->47 <Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkAdp=3]]></Custom>48 <Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" ><![CDATA[&VBoxNetworkAdp=3]]></Custom>49 <!-- Don't remove the host-only interfaces on update, only on uninstall. -->50 <Custom Action="ca_RemoveHostOnlyInterfaces" After="ca_UninstallNetFlt" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom>51 <!-- First stop the existing host-only interfaces on update ... -->52 <Custom Action="ca_StopHostOnlyInterfaces" Before="ca_UpdateHostOnlyInterfaces" ><![CDATA[UPGRADINGPRODUCTCODE]]></Custom>53 <!-- ... then do the actual driver update. -->54 <Custom Action="ca_UpdateHostOnlyInterfacesArgs" Before="ca_UpdateHostOnlyInterfaces" ><![CDATA[Installed AND UPGRADINGPRODUCTCODE]]></Custom>55 <Custom Action="ca_UpdateHostOnlyInterfaces" Before="InstallFiles" ><![CDATA[Installed AND UPGRADINGPRODUCTCODE]]></Custom>56 57 <Custom Action="ca_RollbackInstallNetFltArgs" Before="ca_RollbackInstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>58 <Custom Action="ca_RollbackInstallNetFlt" Before="ca_InstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>59 <Custom Action="ca_InstallNetFltArgs" Before="ca_InstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>60 <Custom Action="ca_InstallNetFlt" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkFlt=3]]></Custom>61 62 <Custom Action="ca_RollbackUninstallNetFltArgs" Before="ca_RollbackUninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>63 <Custom Action="ca_RollbackUninstallNetFlt" Before="ca_UninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>64 <Custom Action="ca_UninstallNetFltArgs" Before="ca_UninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>65 <Custom Action="ca_UninstallNetFlt" After="InstallInitialize" ><![CDATA[&VBoxNetworkFlt=2]]></Custom>66 <?endif?>67 </InstallExecuteSequence>68 69 42 </Include> -
trunk/src/VBox/Installer/win/VBoxMergeNetFltSeq.wxi
r51023 r51043 17 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 18 19 <!-- Custom actions -->20 <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />21 19 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?> 22 <CustomAction Id="ca_CreateHostOnlyInterface" BinaryKey="VBoxInstallHelper" DllEntry="CreateHostOnlyInterface" Execute="deferred" Return="check" Impersonate="no"/> 23 <CustomAction Id="ca_CreateHostOnlyInterfaceArgs" Property="ca_CreateHostOnlyInterface" Value="[INSTALLDIR]" Execute="immediate"/> 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> 24 30 25 <CustomAction Id="ca_RemoveHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="RemoveHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/> 26 <CustomAction Id="ca_StopHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="StopHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/> 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> 27 35 28 <CustomAction Id="ca_UpdateHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="UpdateHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/> 29 <CustomAction Id="ca_UpdateHostOnlyInterfacesArgs" Property="ca_UpdateHostOnlyInterfaces" Value="[INSTALLDIR]" Execute="immediate"/> 30 31 <CustomAction Id="ca_InstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetFlt" Execute="deferred" Return="check" Impersonate="no"/> 32 <CustomAction Id="ca_InstallNetFltArgs" Property="ca_InstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/> 33 34 <CustomAction Id="ca_RollbackInstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetFlt" Execute="rollback" Impersonate="no"/> 35 <CustomAction Id="ca_RollbackInstallNetFltArgs" Property="ca_RollbackInstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/> 36 37 <CustomAction Id="ca_UninstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetFlt" Execute="deferred" Return="check" Impersonate="no"/> 38 <CustomAction Id="ca_UninstallNetFltArgs" Property="ca_UninstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/> 39 40 <CustomAction Id="ca_RollbackUninstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetFlt" Execute="rollback" Impersonate="no"/> 41 <CustomAction Id="ca_RollbackUninstallNetFltArgs" Property="ca_RollbackUninstallNetFlt" Value="[INSTALLDIR]" Execute="immediate"/> 42 <?endif ?> 43 44 <InstallExecuteSequence> 45 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?> 46 <!-- Create host-only interfaces on first-time install. --> 47 <Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkAdp=3]]></Custom> 48 <Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" ><![CDATA[&VBoxNetworkAdp=3]]></Custom> 49 <!-- Don't remove the host-only interfaces on update, only on uninstall. --> 50 <Custom Action="ca_RemoveHostOnlyInterfaces" After="ca_UninstallNetFlt" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom> 51 <!-- First stop the existing host-only interfaces on update ... --> 52 <Custom Action="ca_StopHostOnlyInterfaces" Before="ca_UpdateHostOnlyInterfaces" ><![CDATA[UPGRADINGPRODUCTCODE]]></Custom> 53 <!-- ... then do the actual driver update. --> 54 <Custom Action="ca_UpdateHostOnlyInterfacesArgs" Before="ca_UpdateHostOnlyInterfaces" ><![CDATA[Installed AND UPGRADINGPRODUCTCODE]]></Custom> 55 <Custom Action="ca_UpdateHostOnlyInterfaces" Before="InstallFiles" ><![CDATA[Installed AND UPGRADINGPRODUCTCODE]]></Custom> 56 57 <Custom Action="ca_RollbackInstallNetFltArgs" Before="ca_RollbackInstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom> 58 <Custom Action="ca_RollbackInstallNetFlt" Before="ca_InstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom> 59 <Custom Action="ca_InstallNetFltArgs" Before="ca_InstallNetFlt" ><![CDATA[&VBoxNetworkFlt=3]]></Custom> 60 <Custom Action="ca_InstallNetFlt" Before="ca_CreateHostOnlyInterface" ><![CDATA[&VBoxNetworkFlt=3]]></Custom> 61 62 <Custom Action="ca_RollbackUninstallNetFltArgs" Before="ca_RollbackUninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom> 63 <Custom Action="ca_RollbackUninstallNetFlt" Before="ca_UninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom> 64 <Custom Action="ca_UninstallNetFltArgs" Before="ca_UninstallNetFlt" ><![CDATA[&VBoxNetworkFlt=2]]></Custom> 65 <Custom Action="ca_UninstallNetFlt" After="InstallInitialize" ><![CDATA[&VBoxNetworkFlt=2]]></Custom> 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> 66 40 <?endif?> 67 </InstallExecuteSequence>68 41 69 42 </Include> -
trunk/src/VBox/Installer/win/VBoxMergePython.wxs
r51028 r51043 43 43 </Directory> <!-- TARGETDIR --> 44 44 45 <!-- Custom actions --> 46 <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" /> 45 47 <?include VBoxMergePythonCA.wxi ?> 48 49 <InstallExecuteSequence> 50 <?include VBoxMergePythonSeq.wxi ?> 51 </InstallExecuteSequence> 46 52 47 53 </Module> -
trunk/src/VBox/Installer/win/VBoxMergePythonCA.wxi
r51028 r51043 17 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 18 19 <!-- Custom actions -->20 <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" />21 19 <CustomAction Id="ca_InstallPythonAPI" BinaryKey="VBoxInstallHelper" DllEntry="InstallPythonAPI" Execute="deferred" Return="check" Impersonate="no"/> 22 20 <CustomAction Id="ca_InstallPythonAPIArgs" Property="ca_InstallPythonAPI" Value="[INSTALLDIR]" Execute="immediate"/> 23 21 24 <InstallExecuteSequence>25 26 <Custom Action="ca_InstallPythonAPIArgs" Before="ca_InstallPythonAPI" ><![CDATA[&VBoxPython=3]]></Custom>27 <Custom Action="ca_InstallPythonAPI" Before="InstallFinalize" ><![CDATA[&VBoxPython=3]]></Custom>28 29 </InstallExecuteSequence>30 31 22 </Include> -
trunk/src/VBox/Installer/win/VBoxMergePythonSeq.wxi
r51028 r51043 17 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 18 19 <!-- Custom actions --> 20 <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" /> 21 <CustomAction Id="ca_InstallPythonAPI" BinaryKey="VBoxInstallHelper" DllEntry="InstallPythonAPI" Execute="deferred" Return="check" Impersonate="no"/> 22 <CustomAction Id="ca_InstallPythonAPIArgs" Property="ca_InstallPythonAPI" Value="[INSTALLDIR]" Execute="immediate"/> 23 24 <InstallExecuteSequence> 25 26 <Custom Action="ca_InstallPythonAPIArgs" Before="ca_InstallPythonAPI" ><![CDATA[&VBoxPython=3]]></Custom> 27 <Custom Action="ca_InstallPythonAPI" Before="InstallFinalize" ><![CDATA[&VBoxPython=3]]></Custom> 28 29 </InstallExecuteSequence> 19 <Custom Action="ca_InstallPythonAPIArgs" Before="ca_InstallPythonAPI" ><![CDATA[&VBoxPython=3]]></Custom> 20 <Custom Action="ca_InstallPythonAPI" Before="InstallFinalize" ><![CDATA[&VBoxPython=3]]></Custom> 30 21 31 22 </Include> -
trunk/src/VBox/Installer/win/VirtualBox.wxs
r51023 r51043 172 172 <CustomAction Id="ca_UninstallBranding" BinaryKey="VBoxInstallHelper" DllEntry="UninstallBranding" Execute="deferred" Return="check" Impersonate="no"/> 173 173 <CustomAction Id="ca_UninstallBrandingArgs" Property="ca_UninstallBranding" Value="[INSTALLDIR]" Execute="immediate"/> 174 <?if $(env.VBOX_WITH_MSM_INSTALL) = "no" ?> 175 <?include VBoxMergeAppCA.wxi ?> 176 <?include VBoxMergeNetFltCA.wxi ?> 177 <?include VBoxMergePythonCA.wxi ?> 178 <?endif ?> 174 179 175 180 <Directory Id="TARGETDIR" Name="SourceDir"> … … 283 288 284 289 <?if $(env.VBOX_WITH_DOCS_PACKING) = "yes" ?> 285 286 <?endif ?>287 290 <ComponentRef Id="cp_Docs" /> 291 <?endif ?> 292 <ComponentRef Id="cp_NLS" /> 288 293 <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?> 289 290 <?endif ?>291 292 294 <ComponentRef Id="cp_MainCOM_x86" /> 295 <?endif ?> 296 <ComponentRef Id="cp_MainCOM" /> 297 <ComponentRef Id="cp_MainBinaries" /> 293 298 <?if $(env.VBOX_WITH_QTGUI) = "yes" ?> 294 295 <?endif ?>299 <ComponentRef Id="cp_QtAccessible" /> 300 <?endif ?> 296 301 <?if $(env.VBOX_WITH_PYTHON) = "yes" ?> 297 298 299 <?endif ?>302 <ComponentRef Id="cp_VBoxPyInst" /> 303 <ComponentRef Id="cp_VBoxPyMod" /> 304 <?endif ?> 300 305 301 306 <?if $(env.VBOX_WITH_CROGL) = "yes" ?> 302 303 <?endif ?>304 307 <ComponentRef Id="cp_VBoxCROpenGL" /> 308 <?endif ?> 309 <ComponentRef Id="cp_VBoxSDLBinaries" /> 305 310 <?if $(env.VBOX_WITH_WEBSERVICES) = "yes" ?> 306 307 <?endif ?>308 311 <ComponentRef Id="cp_VBoxWebService" /> 312 <?endif ?> 313 <ComponentRef Id="cp_VBoxDrv" /> 309 314 <?endif ?> 310 315 … … 347 352 </Feature> 348 353 </Feature> 349 <?endif ?>354 <?endif ?> 350 355 351 356 <?if $(env.VBOX_WITH_PYTHON) = "yes" ?> … … 360 365 <?endif ?> 361 366 </Feature> 362 <?endif ?>367 <?endif ?> 363 368 </Feature> 364 369 … … 420 425 <Custom Action="ca_UninstallBranding" Before="InstallFinalize" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom> 421 426 427 <?if $(env.VBOX_WITH_MSM_INSTALL) = "no" ?> 428 <?include VBoxMergeAppSeq.wxi ?> 429 <?include VBoxMergeNetFltSeq.wxi ?> 430 <?include VBoxMergePythonSeq.wxi ?> 431 <?endif ?> 432 422 433 </InstallExecuteSequence> 423 434
Note:
See TracChangeset
for help on using the changeset viewer.