VirtualBox

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


Ignore:
Timestamp:
Nov 23, 2010 12:49:40 PM (14 years ago)
Author:
vboxsync
Message:

Windows host installer: Implemented file handling registration of ".vbox", ".vbox-extpack", ".ova" and ".ovf" files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/VirtualBox.wxs

    r33540 r34278  
    101101        </Upgrade>
    102102
    103         <Icon Id="vendorvboxicon" src="$(env.VBOX_WINDOWS_ICON_FILE)" />
    104         <Property Id="ARPPRODUCTICON">vendorvboxicon</Property>
     103        <!-- The product's icon table. -->
     104        <Icon Id="IconVirtualBox" SourceFile="$(env.VBOX_WINDOWS_ICON_FILE)" />
     105
     106        <!-- Global properties. -->
     107        <Property Id="ARPPRODUCTICON">IconVirtualBox</Property>
    105108        <Property Id="ARPURLINFOABOUT">http://www.virtualbox.org</Property>
    106109        <Property Id="ARPURLUPDATEINFO">http://www.virtualbox.org</Property>
     
    362365                        <Environment Id="EnvVBoxInstallDir" Action="set" Name="VBOX_INSTALL_PATH"
    363366                            System="yes" Part="last" Permanent="no" Value="[INSTALLDIR]" />
     367                        <!-- Register file extensions. Note: Extension Id's *must not* be changed! -->
     368                        <ProgId Id="ProgIdVirtualBox" Description="VirtualBox Virtual Machine" Icon="IconVirtualBox">
     369                            <Extension Id="vbox" ContentType="application/x-virtualbox-vbox">
     370                                <Verb Id="open" Command="Open" Target="[#vbox]" Argument="%1" />
     371                            </Extension>
     372                        </ProgId>
     373                        <ProgId Id="ProgIdVirtualBoxExtPack" Description="VirtualBox Extension Pack" Icon="IconVirtualBox">
     374                            <Extension Id="vbox-extpack" ContentType="application/x-virtualbox-vbox-extpack">
     375                                <Verb Id="open" Command="Open" Target="[#vbox]" Argument="%1" />
     376                            </Extension>
     377                        </ProgId>
     378                        <ProgId Id="ProgIdOVF" Description="Open Virtualization Format" Icon="IconVirtualBox">
     379                            <Extension Id="ovf" ContentType="application/x-virtualbox-ovf">
     380                                <Verb Id="open" Command="Open" Target="[#vbox]" Argument="%1" />
     381                            </Extension>
     382                        </ProgId>
     383                        <ProgId Id="ProgIdOVA" Description="Open Virtualization Format Archive" Icon="IconVirtualBox">
     384                            <Extension Id="ova" ContentType="application/x-virtualbox-ova">
     385                                <Verb Id="open" Command="Open" Target="[#vbox]" Argument="%1" />
     386                            </Extension>
     387                        </ProgId>
    364388                        <!-- The "Name" attribute must always be present. If the name is longer than 8.3 the additional "LongName"
    365389                             attribute can be used. -->
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