Changeset 58721 in vbox for trunk/src/VBox/Installer/win
- Timestamp:
- Nov 17, 2015 2:13:20 PM (9 years ago)
- Location:
- trunk/src/VBox/Installer/win
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/PublicProperties.wxi
r58599 r58721 20 20 case we're building the installer as MSM modules --> 21 21 22 <!-- Default property for network adapter type -->23 <Property Id="NETWORKTYPE" Value="NDIS6" Secure="yes"/>24 25 <!-- Force NDIS5 on pre-Vista -->26 <SetProperty Id="NETWORKTYPE" After="CostFinalize" Value="NDIS5"><![CDATA[(NETWORKTYPE="NDIS6") AND (VersionNT < 600)]]></SetProperty>27 28 22 <!-- Whether or not a desktop shortcut should be created. --> 29 23 <Property Id="VBOX_INSTALLDESKTOPSHORTCUT" Value="1" Secure="yes"/> -
trunk/src/VBox/Installer/win/VBoxMergeNetAdp.wxi
r56299 r58721 25 25 Source="$(env.PATH_OUT)\bin\VBoxNetAdp.cat" /> 26 26 <?endif ?> 27 <Condition><![CDATA[NETWORKTYPE="NDIS5"]]></Condition> 27 28 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 29 <Condition><![CDATA[(localMSMNetworkType="NDIS5")]]></Condition> 30 <?else ?> 31 <Condition><![CDATA[(NETWORKTYPE="NDIS5")]]></Condition> 32 <?endif ?> 33 28 34 </Component> 29 35 -
trunk/src/VBox/Installer/win/VBoxMergeNetAdp.wxs
r58599 r58721 34 34 SummaryCodepage="1252"/> 35 35 36 36 37 <?include PublicProperties.wxi ?> 38 39 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 40 <Property Id="localMSMNetworkType" Value="Empty" /> 41 <Configuration Name="passedNetworkType" Format="Text" DefaultValue="Not passed"/> 42 <Substitution Table="CustomAction" Row="setNetworkTypeADP" Column="Target" Value="[=passedNetworkType]"/> 43 <CustomAction Id="setNetworkTypeADP" Property="localMSMNetworkType" Value="[localMSMNetworkType]" Execute="immediate" /> 44 <CustomAction Id="correctNetworkTypeADP" Property="localMSMNetworkType" Value="NDIS5" Execute="immediate" /> 45 <?endif ?> 37 46 38 47 <!-- Here comes the file/directory list --> … … 48 57 <Binary Id="VBoxInstallHelper" SourceFile="$(env.PATH_OUT)\bin\VBoxInstallHelper.dll" /> 49 58 <?include VBoxMergeNetAdpCA.wxi ?> 50 59 51 60 <InstallExecuteSequence> 61 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 62 <Custom Action="setNetworkTypeADP" After="CostInitialize"/> 63 <Custom Action="correctNetworkTypeADP" After="setNetworkTypeADP"> 64 <![CDATA[(VersionNT < 600)]]> 65 </Custom> 66 <?endif ?> 52 67 <?include VBoxMergeNetAdpSeq.wxi ?> 53 68 </InstallExecuteSequence> -
trunk/src/VBox/Installer/win/VBoxMergeNetAdp6.wxi
r58412 r58721 25 25 Source="$(env.PATH_OUT)\bin\VBoxNetAdp6.cat" /> 26 26 <?endif ?> 27 <?if $(env.VBOX_WITH_MSM_INSTALL) = "no" ?> 28 <Condition><![CDATA[NETWORKTYPE="NDIS6"]]></Condition> 27 28 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 29 <Condition><![CDATA[(localMSMNetworkType="NDIS6")]]></Condition> 30 <?else ?> 31 <Condition><![CDATA[(NETWORKTYPE="NDIS6")]]></Condition> 29 32 <?endif ?> 33 30 34 </Component> 31 35 -
trunk/src/VBox/Installer/win/VBoxMergeNetAdp6.wxs
r58599 r58721 34 34 SummaryCodepage="1252"/> 35 35 36 36 37 <?include PublicProperties.wxi ?> 38 39 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 40 <Property Id="localMSMNetworkType" Value="NDIS6" /> 41 <Configuration Name="passedNetworkType" Format="Text" DefaultValue="Not passed"/> 42 <Substitution Table="CustomAction" Row="setNetworkTypeADP6" Column="Target" Value="[=passedNetworkType]"/> 43 <CustomAction Id="setNetworkTypeADP6" Property="localMSMNetworkType" Value="[localMSMNetworkType]" Execute="immediate" /> 44 <CustomAction Id="correctNetworkTypeADP6" Property="localMSMNetworkType" Value="NDIS5" Execute="immediate" /> 45 <?endif ?> 37 46 38 47 <!-- Here comes the file/directory list --> … … 50 59 51 60 <InstallExecuteSequence> 61 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 62 <Custom Action="setNetworkTypeADP6" After="CostInitialize"/> 63 <Custom Action="correctNetworkTypeADP6" After="setNetworkTypeADP6"> 64 <![CDATA[(VersionNT < 600)]]> 65 </Custom> 66 <?endif ?> 52 67 <?include VBoxMergeNetAdp6Seq.wxi ?> 53 68 </InstallExecuteSequence> -
trunk/src/VBox/Installer/win/VBoxMergeNetFlt.wxi
r56299 r58721 30 30 Source="$(env.PATH_OUT)\bin\VBoxNetFlt.cat" /> 31 31 <?endif ?> 32 <Condition><![CDATA[NETWORKTYPE="NDIS5"]]></Condition> 32 33 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 34 <Condition><![CDATA[(localMSMNetworkType="NDIS5")]]></Condition> 35 <?else ?> 36 <Condition><![CDATA[(NETWORKTYPE="NDIS5")]]></Condition> 37 <?endif ?> 38 33 39 </Component> 34 40 -
trunk/src/VBox/Installer/win/VBoxMergeNetFlt.wxs
r58599 r58721 34 34 SummaryCodepage="1252"/> 35 35 36 <?include PublicProperties.wxi ?> 36 37 <?include PublicProperties.wxi ?> 38 39 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 40 <Property Id="localMSMNetworkType" Value="Empty" /> 41 <Configuration Name="passedNetworkType" Format="Text" DefaultValue="Not passed"/> 42 <Substitution Table="CustomAction" Row="setNetworkTypeFLT" Column="Target" Value="[=passedNetworkType]"/> 43 <CustomAction Id="setNetworkTypeFLT" Property="localMSMNetworkType" Value="[localMSMNetworkType]" Execute="immediate" /> 44 <CustomAction Id="correctNetworkTypeFLT" Property="localMSMNetworkType" Value="NDIS5" Execute="immediate" /> 45 <?endif ?> 37 46 38 47 <!-- Here comes the file/directory list --> … … 50 59 51 60 <InstallExecuteSequence> 61 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 62 <Custom Action="setNetworkTypeFLT" After="CostInitialize"/> 63 <Custom Action="correctNetworkTypeFLT" After="setNetworkTypeFLT"> 64 <![CDATA[(VersionNT < 600)]]> 65 </Custom> 66 <?endif ?> 52 67 <?include VBoxMergeNetFltSeq.wxi ?> 53 68 </InstallExecuteSequence> -
trunk/src/VBox/Installer/win/VBoxMergeNetLwf.wxi
r58412 r58721 26 26 Source="$(env.PATH_OUT)\bin\VBoxNetLwf.cat" /> 27 27 <?endif ?> 28 <?if $(env.VBOX_WITH_MSM_INSTALL) = "no" ?> 29 <Condition><![CDATA[NETWORKTYPE="NDIS6"]]></Condition> 28 29 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 30 <Condition><![CDATA[(localMSMNetworkType="NDIS6")]]></Condition> 31 <?else ?> 32 <Condition><![CDATA[(NETWORKTYPE="NDIS6")]]></Condition> 30 33 <?endif ?> 34 31 35 </Component> 32 36 -
trunk/src/VBox/Installer/win/VBoxMergeNetLwf.wxs
r58599 r58721 34 34 SummaryCodepage="1252"/> 35 35 36 36 37 <?include PublicProperties.wxi ?> 38 39 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 40 <Property Id="localMSMNetworkType" Value="NDIS6" /> 41 <Configuration Name="passedNetworkType" Format="Text" DefaultValue="Not passed"/> 42 <Substitution Table="CustomAction" Row="setNetworkTypeLWF" Column="Target" Value="[=passedNetworkType]"/> 43 <CustomAction Id="setNetworkTypeLWF" Property="localMSMNetworkType" Value="[localMSMNetworkType]" Execute="immediate" /> 44 <CustomAction Id="correctNetworkTypeLWF" Property="localMSMNetworkType" Value="NDIS5" Execute="immediate" /> 45 <?endif ?> 37 46 38 47 <!-- Here comes the file/directory list --> … … 50 59 51 60 <InstallExecuteSequence> 61 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 62 <Custom Action="setNetworkTypeLWF" After="CostInitialize"/> 63 <Custom Action="correctNetworkTypeLWF" After="setNetworkTypeLWF"> 64 <![CDATA[(VersionNT < 600)]]> 65 </Custom> 66 <?endif ?> 52 67 <?include VBoxMergeNetLwfSeq.wxi ?> 53 68 </InstallExecuteSequence> -
trunk/src/VBox/Installer/win/VirtualBox.wxs
r58599 r58721 61 61 <Property Id="ARPURLINFOABOUT">http://www.virtualbox.org</Property> 62 62 <Property Id="ARPURLUPDATEINFO">http://www.virtualbox.org</Property> 63 64 <Property Id="NETWORKTYPE" Value="NDIS6" Secure="yes"/> 65 66 <?if $(env.VBOX_WITH_MSM_INSTALL) = "no" ?> 67 <!-- Force NDIS5 on pre-Vista --> 68 <SetProperty Id="NETWORKTYPE" After="CostFinalize" Value="NDIS5"><![CDATA[(VersionNT < 600)]]></SetProperty> 69 <?endif ?> 63 70 64 71 <!-- Install the product for all users on the system --> … … 241 248 <Directory Id="dir_NetFlt" Name="netflt"> 242 249 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 243 <Merge Id="msm_VBoxNetworkFlt" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkFlt)" DiskId="1" /> 250 <Merge Id="msm_VBoxNetworkFlt" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkFlt)" DiskId="1"> 251 <ConfigurationData Name="passedNetworkType" Value="[NETWORKTYPE]"/> 252 </Merge> 244 253 <?else ?> 245 254 <Directory Id="msm_VBoxNetworkFltFolder" FileSource="."> … … 251 260 <Directory Id="dir_NetAdp" Name="netadp"> 252 261 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 253 <Merge Id="msm_VBoxNetworkAdp" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkAdp)" DiskId="1" /> 262 <Merge Id="msm_VBoxNetworkAdp" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkAdp)" DiskId="1"> 263 <ConfigurationData Name="passedNetworkType" Value="[NETWORKTYPE]"/> 264 </Merge> 254 265 <?else ?> 255 266 <Directory Id="msm_VBoxNetworkAdpFolder" FileSource="."> … … 262 273 <Directory Id="dir_NetLwf" Name="netlwf"> 263 274 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 264 <Merge Id="msm_VBoxNetworkLwf" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkLwf)" DiskId="1" /> 275 <Merge Id="msm_VBoxNetworkLwf" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkLwf)" DiskId="1"> 276 <ConfigurationData Name="passedNetworkType" Value="[NETWORKTYPE]"/> 277 </Merge> 265 278 <?else ?> 266 279 <Directory Id="msm_VBoxNetworkLwfFolder" FileSource="."> … … 272 285 <Directory Id="dir_NetAdp6" Name="netadp6"> 273 286 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 274 <Merge Id="msm_VBoxNetworkAdp6" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkAdp6)" DiskId="1" /> 287 <Merge Id="msm_VBoxNetworkAdp6" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeNetworkAdp6)" DiskId="1"> 288 <ConfigurationData Name="passedNetworkType" Value="[NETWORKTYPE]"/> 289 </Merge> 275 290 <?else ?> 276 291 <Directory Id="msm_VBoxNetworkAdp6Folder" FileSource=".">
Note:
See TracChangeset
for help on using the changeset viewer.