VirtualBox

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


Ignore:
Timestamp:
Nov 18, 2013 2:34:06 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
90710
Message:

Windows host installer: Make registering .vbox, .vbox-extpack,.ovf and .ova file associations optional (contribution by Tal Aloni).

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/NLS/de_DE.wxl

    r40051 r49534  
    120120    <String Id="Customize2Dlg_CreateShortcut">Verknüpfung auf dem Desktop anlegen</String>
    121121    <String Id="Customize2Dlg_CreateQuickLaunch">Verknüpfung in der Schnellstartleiste anlegen</String>
     122    <String Id="Customize2Dlg_RegisterFileExtensions">Dateizuordnungen registrieren</String>
    122123
    123124    <!---->
  • trunk/src/VBox/Installer/win/NLS/en_US.wxl

    r40051 r49534  
    124124    <String Id="Customize2Dlg_CreateShortcut">Create a shortcut on the desktop</String>
    125125    <String Id="Customize2Dlg_CreateQuickLaunch">Create a shortcut in the Quick Launch Bar</String>
     126    <String Id="Customize2Dlg_RegisterFileExtensions">Register file associations</String>
    126127
    127128    <!---->
  • trunk/src/VBox/Installer/win/NLS/fa_IR.wxl

    r43562 r49534  
    9191    <String Id="Customize2Dlg_CreateShortcut">ایجاد یک میانبر روی دسکتاپ</String>
    9292    <String Id="Customize2Dlg_CreateQuickLaunch">ایجاد یک میانبر در اِجرای سریع</String>
     93    <String Id="Customize2Dlg_RegisterFileExtensions">ثبت نام انجمن فایل</String>
    9394    <!---->
    9495    <String Id="WarnDisconNetIfacesDlg_Title">هشدار:</String>
  • trunk/src/VBox/Installer/win/NLS/fr_FR.wxl

    r43863 r49534  
    118118    <String Id="Customize2Dlg_CreateShortcut">Créer un raccourci sur le bureau</String>
    119119    <String Id="Customize2Dlg_CreateQuickLaunch">Créer un raccourci dans la barre de lancement rapide</String>
     120    <String Id="Customize2Dlg_RegisterFileExtensions">Inscription des associations de fichiers</String>
    120121
    121122    <!---->
  • trunk/src/VBox/Installer/win/NLS/it_IT.wxl

    r43562 r49534  
    9191    <String Id="Customize2Dlg_CreateShortcut">Crea una scorciatoia sul desktop</String>
    9292    <String Id="Customize2Dlg_CreateQuickLaunch">Crea una scorciatoia nella barra di avvio veloce</String>
     93    <String Id="Customize2Dlg_RegisterFileExtensions">Registrati associazioni di file</String>
    9394    <!---->
    9495    <String Id="WarnDisconNetIfacesDlg_Title">Avviso:</String>
  • trunk/src/VBox/Installer/win/NLS/zh_TW.wxl

    r48658 r49534  
    124124    <String Id="Customize2Dlg_CreateShortcut">在桌面建立捷徑</String>
    125125    <String Id="Customize2Dlg_CreateQuickLaunch">在快速啟動列建立捷徑</String>
     126    <String Id="Customize2Dlg_RegisterFileExtensions">註冊文件關聯</String>
    126127
    127128    <!---->
  • trunk/src/VBox/Installer/win/UserInterface.wxi

    r45326 r49534  
    334334                     Property="INSTALLQUICKLAUNCHSHORTCUT" CheckBoxValue="1">
    335335                <Text>!(loc.Customize2Dlg_CreateQuickLaunch)</Text>
     336            </Control>
     337            <Control Id="RegisterFileExtensionsCheckBox" Type="CheckBox" X="25" Y="135" Width="200" Height="17"
     338                     Property="REGISTERFILEEXTENSIONS" CheckBoxValue="1">
     339                <Text>!(loc.Customize2Dlg_RegisterFileExtensions)</Text>
    336340            </Control>
    337341
  • trunk/src/VBox/Installer/win/VirtualBox.wxs

    r48323 r49534  
    117117        <Property Id="INSTALLDESKTOPSHORTCUT" Value="1"></Property>
    118118        <Property Id="INSTALLQUICKLAUNCHSHORTCUT" Value="1"></Property>
     119        <Property Id="REGISTERFILEEXTENSIONS" Value="1"></Property>
    119120        <Property Id="STARTVBOX" Value="1"></Property>
    120121
     
    379380                    <!---->
    380381
    381                     <!-- All Binaries, DLLs (except COM) and drivers are in one component because they belong together. Additional
    382                          binaries e.g. test tools, utilities etc. should be in another component so they"re clearly separated. -->
    383                     <Component Id="cp_MainBinaries" Guid="5C8FE57A-F744-4DE0-AA3F-A563F486AD98" Win64="$(var.Property_Win64)">
    384 
    385                         <!-- Set required environment variables. -->
    386                         <Environment Id="env_VBoxInstallDir" Action="set" Name="VBOX_INSTALL_PATH"
    387                                      System="yes" Part="last" Permanent="no" Value="[INSTALLDIR]" />
    388 
     382                   
     383                    <Component Id="cp_RegisterExtensions" Guid="FEB8943E-5D60-4E2D-846F-458207019D40" Win64="$(var.Property_Win64)">
     384                        <Condition>REGISTERFILEEXTENSIONS</Condition>
    389385                        <!-- Register file extensions. Note: Extension Id's *must not* be changed! These specify the actual
    390386                             file extension to handle. Also, here would be the place to add more fancy DDE stuff later.
     
    422418                            <Extension Id="hdd" ContentType="application/x-virtualbox-hdd" />
    423419                        </ProgId>
     420                    </Component> <!-- RegisterExtensions -->
     421
     422                    <!-- All Binaries, DLLs (except COM) and drivers are in one component because they belong together. Additional
     423                         binaries e.g. test tools, utilities etc. should be in another component so they"re clearly separated. -->
     424                    <Component Id="cp_MainBinaries" Guid="5C8FE57A-F744-4DE0-AA3F-A563F486AD98" Win64="$(var.Property_Win64)">
     425
     426                        <!-- Set required environment variables. -->
     427                        <Environment Id="env_VBoxInstallDir" Action="set" Name="VBOX_INSTALL_PATH"
     428                                     System="yes" Part="last" Permanent="no" Value="[INSTALLDIR]" />
    424429
    425430                        <!-- Files -->
Note: See TracChangeset for help on using the changeset viewer.

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