VirtualBox

Changeset 104632 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
May 14, 2024 4:04:18 PM (9 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
163177
Message:

Windows/Host Installer: Fixed registering known file extensions. bugref:10644

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

Legend:

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

    r104464 r104632  
    348348                <Text Value="!(loc.Customize2Dlg_Desc)" />
    349349            </Control>
    350 <?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
    351350            <!-- Note the gray background behind the checkboxes. Unfortunately there's no easy way to
    352351                 fix this, without fixing it in the WiX source code. Because the control's background
     
    368367                <Text Value="!(loc.Customize2Dlg_RegisterFileExtensions)" />
    369368            </Control>
    370 <?endif?> <!-- VBOX_WITH_QTGUI -->
    371369            <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.ButtonText_Next)" />
    372370            <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.ButtonText_Back)" />
     371            <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Text="!(loc.ButtonText_Cancel)">
     372                <Publish Event="SpawnDialog" Value="VBoxCancelDlg" />
     373            </Control>
    373374
    374375            <!-- Build number text drawn left bottom -->
  • trunk/src/VBox/Installer/win/VBoxMergeApp.wxi

    r104454 r104632  
    148148<?if $(env.VBOX_WITH_QTGUI) = "yes" ?>
    149149    <Component Id="cp_RegisterExtensions" Guid="FEB8943E-5D60-4E2D-846F-458207019D40" Bitness="$(var.Property_Bitness)" KeyPath="yes"
    150                Condition="(local_VBOX_REGISTERFILEEXTENSIONS=&quot;1&quot;)">
     150               Condition="(VBOX_REGISTERFILEEXTENSIONS=&quot;1&quot;)">
    151151        <!-- Register file extensions. Note: Extension IDs *must not* be changed! These specify the actual
    152152             file extension to handle. Also, here would be the place to add more fancy DDE stuff later.
  • trunk/src/VBox/Installer/win/VBoxMergeApp.wxs

    r104454 r104632  
    5353        <?include PublicProperties.wxi ?>
    5454
    55         <Property Id="local_VBOX_REGISTERFILEEXTENSIONS" Value="Empty" />
     55        <Property Id="VBOX_REGISTERFILEEXTENSIONS" Value="Empty" />
    5656        <Configuration Name="argRegisterExtensions" Format="Text" DefaultValue="Not passed" />
    5757        <Substitution Table="CustomAction" Row="registerExtensions" Column="Target" Value="[=argRegisterExtensions]" />
    58         <CustomAction Id="registerExtensions" Property="local_VBOX_REGISTERFILEEXTENSIONS" Value="[local_VBOX_REGISTERFILEEXTENSIONS]" Execute="immediate" />
     58        <CustomAction Id="registerExtensions" Property="VBOX_REGISTERFILEEXTENSIONS" Value="[VBOX_REGISTERFILEEXTENSIONS]" Execute="immediate" />
    5959
    6060        <!-- Here comes the file/directory list -->
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