VirtualBox

Changeset 58793 in vbox for trunk/src/VBox/Installer/win


Ignore:
Timestamp:
Nov 20, 2015 11:06:35 AM (9 years ago)
Author:
vboxsync
Message:

bugref:8101. Windows MSM build is affected. Global property VBOX_REGISTERFILEEXTENSIONS is passed into merge module msm_VBoxApp now.

Location:
trunk/src/VBox/Installer/win
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/PublicProperties.wxi

    r58721 r58793  
    3030               Value="{}"><![CDATA[VBOX_INSTALLQUICKLAUNCHSHORTCUT="0"]]></SetProperty>
    3131
    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 
    3732  <!-- Whether or not VirtualBox should be started automatically right after successful installation -->
    3833  <Property Id="VBOX_START" Value="1" Secure="yes"/>
  • trunk/src/VBox/Installer/win/VBoxMergeApp.wxi

    r58458 r58793  
    9595    <Component Id="cp_RegisterExtensions" Guid="FEB8943E-5D60-4E2D-846F-458207019D40"
    9696               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
    98104        <!-- Register file extensions. Note: Extension IDs *must not* be changed! These specify the actual
    99105             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  
    5151        <?include PublicProperties.wxi ?>
    5252
     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
    5359        <!-- Here comes the file/directory list -->
    5460        <Directory Id="TARGETDIR" Name="SourceDir">
     
    6571
    6672        <InstallExecuteSequence>
     73            <Custom Action="registerExtensions" After="AppSearch"/>
    6774            <?include VBoxMergeAppSeq.wxi ?>
    6875        </InstallExecuteSequence>
  • trunk/src/VBox/Installer/win/VirtualBox.wxs

    r58721 r58793  
    6969<?endif ?>
    7070
     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
    7179    <!-- Install the product for all users on the system -->
    7280    <Property Id="ALLUSERS"><![CDATA[1]]></Property>
     
    222230                <Directory Id="INSTALLDIR" Name="VirtualBox">
    223231<?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>
    225235    <?if $(env.VBOX_WITH_32_ON_64_MAIN_API) = "yes" ?>
    226236                <Merge Id="msm_VBoxCOM32On64" Language="!(loc.LANG)" SourceFile="$(var.Property_VBoxMergeCOM32On64)" DiskId="1" />
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette