Changeset 58793 in vbox for trunk/src/VBox/Installer/win
- Timestamp:
- Nov 20, 2015 11:06:35 AM (9 years ago)
- Location:
- trunk/src/VBox/Installer/win
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/win/PublicProperties.wxi
r58721 r58793 30 30 Value="{}"><![CDATA[VBOX_INSTALLQUICKLAUNCHSHORTCUT="0"]]></SetProperty> 31 31 32 <!-- Whether or not registering of known desktop shortcut for the Quick Launch Bar should be created -->33 <Property Id="VBOX_REGISTERFILEEXTENSIONS" Value="1" Secure="yes"/>34 <SetProperty Id="VBOX_REGISTERFILEEXTENSIONS" After="AppSearch" Sequence="both"35 Value="{}"><![CDATA[VBOX_REGISTERFILEEXTENSIONS="0"]]></SetProperty>36 37 32 <!-- Whether or not VirtualBox should be started automatically right after successful installation --> 38 33 <Property Id="VBOX_START" Value="1" Secure="yes"/> -
trunk/src/VBox/Installer/win/VBoxMergeApp.wxi
r58458 r58793 95 95 <Component Id="cp_RegisterExtensions" Guid="FEB8943E-5D60-4E2D-846F-458207019D40" 96 96 Win64="$(var.Property_Win64)" KeyPath="yes"> 97 <Condition>VBOX_REGISTERFILEEXTENSIONS</Condition> 97 98 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 99 <Condition><![CDATA[(local_VBOX_REGISTERFILEEXTENSIONS="1")]]></Condition> 100 <?else ?> 101 <Condition><![CDATA[(VBOX_REGISTERFILEEXTENSIONS)]]></Condition> 102 <?endif ?> 103 98 104 <!-- Register file extensions. Note: Extension IDs *must not* be changed! These specify the actual 99 105 file extension to handle. Also, here would be the place to add more fancy DDE stuff later. -
trunk/src/VBox/Installer/win/VBoxMergeApp.wxs
r58599 r58793 51 51 <?include PublicProperties.wxi ?> 52 52 53 54 <Property Id="local_VBOX_REGISTERFILEEXTENSIONS" Value="Empty" /> 55 <Configuration Name="argRegesterExtensions" Format="Text" DefaultValue="Not passed"/> 56 <Substitution Table="CustomAction" Row="registerExtensions" Column="Target" Value="[=argRegesterExtensions]"/> 57 <CustomAction Id="registerExtensions" Property="local_VBOX_REGISTERFILEEXTENSIONS" Value="[local_VBOX_REGISTERFILEEXTENSIONS]" Execute="immediate" /> 58 53 59 <!-- Here comes the file/directory list --> 54 60 <Directory Id="TARGETDIR" Name="SourceDir"> … … 65 71 66 72 <InstallExecuteSequence> 73 <Custom Action="registerExtensions" After="AppSearch"/> 67 74 <?include VBoxMergeAppSeq.wxi ?> 68 75 </InstallExecuteSequence> -
trunk/src/VBox/Installer/win/VirtualBox.wxs
r58721 r58793 69 69 <?endif ?> 70 70 71 <!-- Whether or not registering of known desktop shortcut for the Quick Launch Bar should be created --> 72 <Property Id="VBOX_REGISTERFILEEXTENSIONS" Value="1" Secure="yes"/> 73 74 <SetProperty Id="VBOX_REGISTERFILEEXTENSIONS" After="AppSearch" Sequence="both" Value="{}"> 75 <![CDATA[VBOX_REGISTERFILEEXTENSIONS="0"]]> 76 </SetProperty> 77 78 71 79 <!-- Install the product for all users on the system --> 72 80 <Property Id="ALLUSERS"><![CDATA[1]]></Property> … … 222 230 <Directory Id="INSTALLDIR" Name="VirtualBox"> 223 231 <?if $(env.VBOX_WITH_MSM_INSTALL) = "yes" ?> 224 <Merge Id="msm_VBoxApp" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeApp)" DiskId="1" /> 232 <Merge Id="msm_VBoxApp" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeApp)" DiskId="1"> 233 <ConfigurationData Name="argRegesterExtensions" Value="[VBOX_REGISTERFILEEXTENSIONS]"/> 234 </Merge> 225 235 <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?> 226 236 <Merge Id="msm_VBoxCOM32On64" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeCOM32On64)" DiskId="1" />
Note:
See TracChangeset
for help on using the changeset viewer.