Changeset 51225 in vbox for trunk/src/VBox/Installer/win
- Timestamp:
- May 9, 2014 1:08:07 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 93643
- Location:
- trunk/src/VBox/Installer/win
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/Makefile.kmk
r51221 r51225 60 60 # 61 61 ifneq ($(int-mod $(VBOX_VERSION_BUILD),2),0) 62 VBOX_WITH_MSM_INSTALL := 1 63 VBOX_INSTALLER_LANGUAGES = en_US 64 endif 65 66 ifeq ($(USERNAME),andy) 62 67 VBOX_WITH_MSM_INSTALL := 1 63 68 VBOX_INSTALLER_LANGUAGES = en_US … … 642 647 -E 'VBOX_WITH_VRDP=$(if-expr defined(VBOX_WITH_VRDP) && !defined(VBOX_WITH_EXTPACK_PUEL),yes,no)' \ 643 648 -E 'VBOX_WITH_WEBSERVICES=$(if $(VBOX_WITH_WEBSERVICES),yes,no)' \ 649 -E 'VBOX_WITH_MSM_INSTALL=$(if $(VBOX_WITH_MSM_INSTALL),yes,no)' \ 644 650 -E 'VBOX_WITH_SECURELABEL=$(if $(VBOX_WITH_SECURELABEL),yes,no)' \ 645 651 -E 'VBOX_WITH_SERIALNUMBER_INSTALL=$(if $(VBOX_WITH_SERIALNUMBER_INSTALL),yes,no)' \ -
trunk/src/VBox/Installer/win/VBoxKey.wxi
r51009 r51225 2 2 <RegistryValue Root="HKLM" Key="$(var.Property_RegKey)" Name="Version" Value="%VER%" Type="string" /> 3 3 <RegistryValue Root="HKLM" Key="$(var.Property_RegKey)" Name="VersionExt" Value="%VER_EXT%" Type="string" /> 4 <RegistryValue Root="HKLM" Key="$(var.Property_RegKey)" Name="InstallDir" Value="[ MergeRedirectFolder]" Type="string" />4 <RegistryValue Root="HKLM" Key="$(var.Property_RegKey)" Name="InstallDir" Value="[INSTALLDIR]" Type="string" /> 5 5 </Include> -
trunk/src/VBox/Installer/win/VBoxMergeApp.wxi
r51144 r51225 137 137 <!-- Set required environment variables --> 138 138 <Environment Id="env_VBoxInstallDir" Action="set" Name="VBOX_MSI_INSTALL_PATH" 139 System="yes" Part="last" Permanent="no" Value="[ MergeRedirectFolder]" />139 System="yes" Part="last" Permanent="no" Value="[msm_VBoxApplicationFolder]" /> 140 140 141 141 <!-- Files --> -
trunk/src/VBox/Installer/win/VBoxMergeApp.wxs
r51043 r51225 51 51 <!-- Here comes the file/directory list --> 52 52 <Directory Id="TARGETDIR" Name="SourceDir"> 53 <Directory Id=" MergeRedirectFolder" FileSource=".">53 <Directory Id="msm_VBoxApplicationFolder" FileSource="."> 54 54 55 55 <?include VBoxMergeApp.wxi ?> 56 56 57 </Directory> <!-- MergeRedirectFolder directory -->57 </Directory> <!-- msm_VBoxApplicationFolder directory --> 58 58 </Directory> <!-- TARGETDIR --> 59 59 -
trunk/src/VBox/Installer/win/VBoxMergeNetAdp.wxs
r51060 r51225 36 36 <!-- Here comes the file/directory list --> 37 37 <Directory Id="TARGETDIR" Name="SourceDir"> 38 <Directory Id=" MergeRedirectFolder" FileSource=".">38 <Directory Id="msm_VBoxNetworkAdpFolder" FileSource="."> 39 39 40 40 <?include VBoxMergeNetAdp.wxi ?> 41 41 42 </Directory> <!-- MergeRedirectFolder -->42 </Directory> <!-- msm_VBoxNetworkAdpFolder --> 43 43 </Directory> <!-- TARGETDIR --> 44 44 -
trunk/src/VBox/Installer/win/VBoxMergeNetAdpCA.wxi
r51050 r51225 18 18 19 19 <CustomAction Id="ca_CreateHostOnlyInterface" BinaryKey="VBoxInstallHelper" DllEntry="CreateHostOnlyInterface" Execute="deferred" Return="check" Impersonate="no"/> 20 <CustomAction Id="ca_CreateHostOnlyInterfaceArgs" Property="ca_CreateHostOnlyInterface" Value="[ MergeRedirectFolder]" Execute="immediate"/>20 <CustomAction Id="ca_CreateHostOnlyInterfaceArgs" Property="ca_CreateHostOnlyInterface" Value="[msm_VBoxNetworkAdpFolder]" Execute="immediate"/> 21 21 <CustomAction Id="ca_RemoveHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="RemoveHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/> 22 22 <CustomAction Id="ca_StopHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="StopHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/> 23 <CustomAction Id="ca_UpdateHostOnlyInterfacesArgs" Property="ca_UpdateHostOnlyInterfaces" Value="[msm_VBoxNetworkAdpFolder]" Execute="immediate"/> 23 24 <CustomAction Id="ca_UpdateHostOnlyInterfaces" BinaryKey="VBoxInstallHelper" DllEntry="UpdateHostOnlyInterfaces" Execute="deferred" Return="check" Impersonate="no"/> 24 <CustomAction Id="ca_UpdateHostOnlyInterfacesArgs" Property="ca_UpdateHostOnlyInterfaces" Value="[MergeRedirectFolder]" Execute="immediate"/>25 25 26 26 </Include> -
trunk/src/VBox/Installer/win/VBoxMergeNetAdpSeq.wxi
r51120 r51225 19 19 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?> 20 20 <!-- Create host-only interfaces on first-time install --> 21 <Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" ><![CDATA[NOT Installed]]></Custom> 22 <Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" ><![CDATA[NOT Installed]]></Custom> 21 <Custom Action="ca_CreateHostOnlyInterfaceArgs" Before="ca_CreateHostOnlyInterface" > 22 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 23 <![CDATA[NOT Installed]]> 24 <?else ?> 25 <![CDATA[&VBoxNetworkAdp=3]]> 26 <?endif ?> 27 </Custom> 28 <Custom Action="ca_CreateHostOnlyInterface" Before="InstallFinalize" > 29 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 30 <![CDATA[NOT Installed]]> 31 <?else ?> 32 <![CDATA[&VBoxNetworkAdp=3]]> 33 <?endif ?> 34 </Custom> 23 35 <!-- Don't remove the host-only interfaces on update, only on uninstall --> 24 36 <Custom Action="ca_RemoveHostOnlyInterfaces" Before="InstallFinalize" ><![CDATA[(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")]]></Custom> -
trunk/src/VBox/Installer/win/VBoxMergeNetFlt.wxs
r51060 r51225 36 36 <!-- Here comes the file/directory list --> 37 37 <Directory Id="TARGETDIR" Name="SourceDir"> 38 <Directory Id=" MergeRedirectFolder" FileSource=".">38 <Directory Id="msm_VBoxNetworkFltFolder" FileSource="."> 39 39 40 40 <?include VBoxMergeNetFlt.wxi ?> 41 41 42 </Directory> <!-- MergeRedirectFolder -->42 </Directory> <!-- msm_VBoxNetworkFltFolder --> 43 43 </Directory> <!-- TARGETDIR --> 44 44 -
trunk/src/VBox/Installer/win/VBoxMergeNetFltCA.wxi
r51050 r51225 19 19 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?> 20 20 <CustomAction Id="ca_InstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetFlt" Execute="deferred" Return="check" Impersonate="no"/> 21 <CustomAction Id="ca_InstallNetFltArgs" Property="ca_InstallNetFlt" Value="[ MergeRedirectFolder]" Execute="immediate"/>21 <CustomAction Id="ca_InstallNetFltArgs" Property="ca_InstallNetFlt" Value="[msm_VBoxNetworkFltFolder]" Execute="immediate"/> 22 22 23 23 <CustomAction Id="ca_RollbackInstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetFlt" Execute="rollback" Impersonate="no"/> 24 <CustomAction Id="ca_RollbackInstallNetFltArgs" Property="ca_RollbackInstallNetFlt" Value="[ MergeRedirectFolder]" Execute="immediate"/>24 <CustomAction Id="ca_RollbackInstallNetFltArgs" Property="ca_RollbackInstallNetFlt" Value="[msm_VBoxNetworkFltFolder]" Execute="immediate"/> 25 25 26 26 <CustomAction Id="ca_UninstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="UninstallNetFlt" Execute="deferred" Return="check" Impersonate="no"/> 27 <CustomAction Id="ca_UninstallNetFltArgs" Property="ca_UninstallNetFlt" Value="[ MergeRedirectFolder]" Execute="immediate"/>27 <CustomAction Id="ca_UninstallNetFltArgs" Property="ca_UninstallNetFlt" Value="[msm_VBoxNetworkFltFolder]" Execute="immediate"/> 28 28 29 29 <CustomAction Id="ca_RollbackUninstallNetFlt" BinaryKey="VBoxInstallHelper" DllEntry="InstallNetFlt" Execute="rollback" Impersonate="no"/> 30 <CustomAction Id="ca_RollbackUninstallNetFltArgs" Property="ca_RollbackUninstallNetFlt" Value="[ MergeRedirectFolder]" Execute="immediate"/>30 <CustomAction Id="ca_RollbackUninstallNetFltArgs" Property="ca_RollbackUninstallNetFlt" Value="[msm_VBoxNetworkFltFolder]" Execute="immediate"/> 31 31 <?endif ?> 32 32 -
trunk/src/VBox/Installer/win/VBoxMergeNetFltSeq.wxi
r51127 r51225 18 18 19 19 <?if $(env.VBOX_WITH_NETFLT) = "yes" ?> 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> 24 25 <Custom Action="ca_RollbackUninstallNetFltArgs" Before="ca_RollbackUninstallNetFlt" ><![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]></Custom> 26 <Custom Action="ca_RollbackUninstallNetFlt" Before="ca_UninstallNetFlt" ><![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]></Custom> 27 <Custom Action="ca_UninstallNetFltArgs" Before="ca_UninstallNetFlt" ><![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]></Custom> 28 <Custom Action="ca_UninstallNetFlt" After="InstallInitialize" ><![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]></Custom> 29 <?endif?> 20 <Custom Action="ca_RollbackInstallNetFltArgs" Before="ca_RollbackInstallNetFlt" > 21 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 22 <![CDATA[UPGRADINGPRODUCTCODE OR (NOT Installed)]]> 23 <?else ?> 24 <![CDATA[&VBoxNetworkFlt=3]]> 25 <?endif ?> 26 </Custom> 27 <Custom Action="ca_RollbackInstallNetFlt" Before="ca_InstallNetFlt" > 28 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 29 <![CDATA[UPGRADINGPRODUCTCODE OR (NOT Installed)]]> 30 <?else ?> 31 <![CDATA[&VBoxNetworkFlt=3]]> 32 <?endif ?> 33 </Custom> 34 <Custom Action="ca_InstallNetFltArgs" Before="ca_InstallNetFlt" > 35 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 36 <![CDATA[UPGRADINGPRODUCTCODE OR (NOT Installed)]]> 37 <?else ?> 38 <![CDATA[&VBoxNetworkFlt=3]]> 39 <?endif ?> 40 </Custom> 41 <Custom Action="ca_InstallNetFlt" Before="InstallFinalize" > 42 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 43 <![CDATA[UPGRADINGPRODUCTCODE OR (NOT Installed)]]> 44 <?else ?> 45 <![CDATA[&VBoxNetworkFlt=3]]> 46 <?endif ?> 47 </Custom> 48 <Custom Action="ca_RollbackUninstallNetFltArgs" Before="ca_RollbackUninstallNetFlt" > 49 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 50 <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]> 51 <?else ?> 52 <![CDATA[&VBoxNetworkFlt=2]]> 53 <?endif ?> 54 </Custom> 55 <Custom Action="ca_RollbackUninstallNetFlt" Before="ca_UninstallNetFlt" > 56 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 57 <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]> 58 <?else ?> 59 <![CDATA[&VBoxNetworkFlt=2]]> 60 <?endif ?> 61 </Custom> 62 <Custom Action="ca_UninstallNetFltArgs" Before="ca_UninstallNetFlt" > 63 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 64 <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]> 65 <?else ?> 66 <![CDATA[&VBoxNetworkFlt=2]]> 67 <?endif ?> 68 </Custom> 69 <Custom Action="ca_UninstallNetFlt" After="InstallInitialize" > 70 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 71 <![CDATA[(UPGRADINGPRODUCTCODE) OR (REMOVE="ALL")]]> 72 <?else ?> 73 <![CDATA[&VBoxNetworkFlt=2]]> 74 <?endif ?> 75 </Custom> 76 <?endif?> <!-- VBOX_WITH_NETFLT --> 30 77 31 78 </Include> -
trunk/src/VBox/Installer/win/VBoxMergePython.wxs
r51060 r51225 36 36 <!-- Here comes the file/directory list --> 37 37 <Directory Id="TARGETDIR" Name="SourceDir"> 38 <Directory Id=" MergeRedirectFolder" FileSource=".">38 <Directory Id="msm_VBoxPythonFolder" FileSource="."> 39 39 40 40 <?include VBoxMergePython.wxi ?> 41 41 42 </Directory> <!-- MergeRedirectFolder -->42 </Directory> <!-- msm_VBoxPythonFolder --> 43 43 </Directory> <!-- TARGETDIR --> 44 44 -
trunk/src/VBox/Installer/win/VBoxMergePythonCA.wxi
r51050 r51225 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="[ MergeRedirectFolder]" Execute="immediate"/>20 <CustomAction Id="ca_InstallPythonAPIArgs" Property="ca_InstallPythonAPI" Value="[msm_VBoxPythonFolder]" Execute="immediate"/> 21 21 22 22 </Include> -
trunk/src/VBox/Installer/win/VBoxMergePythonSeq.wxi
r51050 r51225 17 17 xmlns:difxapp="http://schemas.microsoft.com/wix/DifxAppExtension"> 18 18 19 <Custom Action="ca_InstallPythonAPIArgs" Before="ca_InstallPythonAPI" ><![CDATA[1]]></Custom> 20 <Custom Action="ca_InstallPythonAPI" Before="InstallFinalize" ><![CDATA[1]]></Custom> 19 <Custom Action="ca_InstallPythonAPIArgs" Before="ca_InstallPythonAPI" > 20 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 21 <![CDATA[1]]> 22 <?else ?> 23 <![CDATA[&VBoxPython=3]]> 24 <?endif ?> 25 </Custom> 26 <Custom Action="ca_InstallPythonAPI" Before="InstallFinalize" > 27 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 28 <![CDATA[1]]> 29 <?else ?> 30 <![CDATA[&VBoxPython=3]]> 31 <?endif ?> 32 </Custom> 21 33 22 34 </Include> -
trunk/src/VBox/Installer/win/VBoxMergeUSB.wxs
r51023 r51225 36 36 <!-- Here comes the file/directory list --> 37 37 <Directory Id="TARGETDIR" Name="SourceDir"> 38 <Directory Id=" MergeRedirectFolder" FileSource=".">38 <Directory Id="msm_VBoxUSBFolder" FileSource="."> 39 39 40 40 <?include VBoxMergeUSB.wxi ?> 41 41 42 </Directory> <!-- MergeRedirectFolder -->42 </Directory> <!-- msm_VBoxUSBFolder --> 43 43 </Directory> <!-- TARGETDIR --> 44 44 -
trunk/src/VBox/Installer/win/VirtualBox.wxs
r51144 r51225 196 196 <?endif ?> 197 197 <?else ?> 198 <?include VBoxMergeApp.wxi ?> 198 <Directory Id="msm_VBoxApplicationFolder" FileSource="."> 199 <?include VBoxMergeApp.wxi ?> 199 200 <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?> 200 <?include VBoxMergeCOM32On64.wxi ?> 201 <?include VBoxMergeCOM32On64.wxi ?> 202 </Directory> 201 203 <?endif ?> 202 204 <?endif ?> … … 206 208 <Merge Id="msm_VBoxUSB" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeUSB)" DiskId="1" /> 207 209 <?else ?> 208 <?include VBoxMergeUSB.wxi ?> 210 <Directory Id="msm_VBoxUSBFolder" FileSource="."> 211 <?include VBoxMergeUSB.wxi ?> 212 </Directory> 209 213 <?endif ?> 210 214 </Directory> … … 215 219 <Merge Id="msm_VBoxNetworkFlt" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkFlt)" DiskId="1" /> 216 220 <?else ?> 217 <?include VBoxMergeNetFlt.wxi ?> 221 <Directory Id="msm_VBoxNetworkFltFolder" FileSource="."> 222 <?include VBoxMergeNetFlt.wxi ?> 223 </Directory> 218 224 <?endif ?> 219 225 </Directory> … … 223 229 <Merge Id="msm_VBoxNetworkAdp" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkAdp)" DiskId="1" /> 224 230 <?else ?> 225 <?include VBoxMergeNetAdp.wxi ?> 231 <Directory Id="msm_VBoxNetworkAdpFolder" FileSource="."> 232 <?include VBoxMergeNetAdp.wxi ?> 233 </Directory> 226 234 <?endif ?> 227 235 </Directory> … … 234 242 <Merge Id="msm_VBoxPython" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergePython)" DiskId="1" /> 235 243 <?else ?> 236 <?include VBoxMergePython.wxi ?> 244 <Directory Id="msm_VBoxPythonFolder" FileSource="."> 245 <?include VBoxMergePython.wxi ?> 246 </Directory> 237 247 <?endif ?> 238 248 </Directory>
Note:
See TracChangeset
for help on using the changeset viewer.