summaryrefslogtreecommitdiffstats
path: root/packaging/wix/inkscape.wxs
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/wix/inkscape.wxs')
-rw-r--r--packaging/wix/inkscape.wxs127
1 files changed, 127 insertions, 0 deletions
diff --git a/packaging/wix/inkscape.wxs b/packaging/wix/inkscape.wxs
new file mode 100644
index 0000000..bd11dc5
--- /dev/null
+++ b/packaging/wix/inkscape.wxs
@@ -0,0 +1,127 @@
+<?xml version='1.0' encoding='windows-1252'?>
+<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
+ <?include version.wxi?>
+
+ <!-- change Product Id for every new version and subversion, do not change UpgradeCode -->
+ <Product Name="$(var.FullProductName)" Id='81922150-317e-4bb0-a31d-ff1c14f707c5' UpgradeCode='4d5fedaa-84a0-48be-bd2a-08246398361a' Language='1033' Codepage='1252' Version='$(var.ProductVersion)' Manufacturer='Inkscape project'>
+
+ <Package Id='*' Keywords='SVG, vector graphics' Description="Installer for Inkscape vector graphics editor" Comments='Licensed under the GNU GPL' Manufacturer='Inkscape project' InstallerVersion='$(var.InstallerVersion)' Platform='$(var.Platform)' Languages='1033' Compressed='yes' SummaryCodepage='1252' />
+
+ <Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt="CD-ROM #1" CompressionLevel="high"/>
+ <Property Id='DiskPrompt' Value="inkscape Installation [1]" />
+
+ <Property Id='ALLUSERS' Value="2" />
+
+ <MajorUpgrade DowngradeErrorMessage="A newer version is already installed." />
+
+ <DirectoryRef Id="ApplicationProgramsFolder">
+ <Component Id="ApplicationShortcut" Guid="37de8ea4-e83a-4e40-8f9c-c6066b78d935" Win64='$(var.Win64)' >
+ <Shortcut Id="ApplicationStartMenuShortcut"
+ Name="$(var.FullProductName)"
+ Description="Inkscape Vector Graphics Application"
+ Target="[INSTALLDIR]inkscape.exe"
+ WorkingDirectory="INSTALLDIR"/>
+ <util:InternetShortcut Id="OnlineDocumentationShortcut"
+ Name="Inkscape Homepage"
+ Target="http://www.inkscape.org/"/>
+ <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
+ <RegistryValue Root="HKCU" Key="Software\inkscape.org\Inkscape" Name="startmenu_installed" Type="integer" Value="1" KeyPath="yes"/>
+ </Component>
+ </DirectoryRef>
+
+ <DirectoryRef Id="DesktopFolder">
+ <Component Id="DesktopShortcut" Guid="3afc08a7-05a1-40cf-90c2-0d6c042bfc41" Win64='$(var.Win64)'>
+ <!-- Shortcut Id="desktopFoobar10" Directory="DesktopFolder" Target="[INSTALLDIR]inkscape.exe" Name="$(var.FullProductName)" WorkingDirectory='INSTALLDIR' Icon="file_inkscape_exe" IconIndex="0" / -->
+ <Shortcut Id="DesktopShortcut" Directory="DesktopFolder" Target="[INSTALLDIR]inkscape.exe" Name="$(var.FullProductName)" WorkingDirectory='INSTALLDIR' />
+ <RemoveFolder Id="DesktopFolder" On="uninstall"/>
+ <RegistryValue Root="HKCU" Key="Software\inkscape.org\Inkscape" Name="desktop_installed" Type="integer" Value="1" KeyPath="yes"/>
+ </Component>
+ </DirectoryRef>
+
+ <DirectoryRef Id="INSTALLDIR">
+ <Component Id="RegisterExtension" Guid="d544e040-573e-4ea8-983e-4bcae6b87f3d" Win64='$(var.Win64)'>
+ <ProgId Id="inkscape.svg" Description='scalable vector graphics file' Icon='file_inkscape_exe'>
+ <Extension Id='svg' ContentType='image/svg+xml'>
+ <Verb Id='edit' Command='Edit with Inkscape' TargetFile='file_inkscape_exe' Argument='"%1"' />
+ </Extension>
+ <Extension Id='svgz' ContentType='image/svg+xml'>
+ <Verb Id='open' Command='Open with Inkscape' TargetFile='file_inkscape_exe' Argument='"%1"' />
+ </Extension>
+ </ProgId>
+ </Component>
+ </DirectoryRef>
+
+ <Feature Id='Inkscape' Level='1' Absent="disallow" Display="expand" ConfigurableDirectory='INSTALLDIR' AllowAdvertise='no'
+ Title="$(var.FullProductName)"
+ Description='Inkscape core files, shortcuts and file extension'>
+ <!-- core files, i.e. everything that does not fit into any of the other features -->
+ <ComponentGroupRef Id='AllOther' />
+
+ <!-- shortcuts and file extensions -->
+ <Feature Id='ApplicationShortcut' Level='1' AllowAdvertise='no'
+ Title='Start Menu entry'
+ Description='Create a link in the start menu.'>
+ <ComponentRef Id='ApplicationShortcut' />
+ </Feature>
+ <Feature Id='DesktopShortcut' Level='1' AllowAdvertise='no'
+ Title='Desktop shortcut'
+ Description='Create a link on the desktop.' >
+ <ComponentRef Id='DesktopShortcut' />
+ </Feature>
+ <Feature Id='RegisterExtension' Level='1' AllowAdvertise='no'
+ Title='Register file extensions'
+ Description='Register SVG files (.svg and .svgz) with Inkscape and add entries in Explorer context menu.'>
+ <ComponentRef Id='RegisterExtension' />
+ </Feature>
+ </Feature>
+
+ <Feature Id='Python' Level='1' ConfigurableDirectory='INSTALLDIR' AllowAdvertise='no'
+ Title='Python 2.7'
+ Description='Bundled Distribution of Python 2.7 including modules required to run Inkscape extensions.'>
+ <ComponentGroupRef Id='Python' />
+ </Feature>
+
+ <Feature Id='Additional' Level='1' ConfigurableDirectory='INSTALLDIR' AllowAdvertise='no'
+ Title="Additional files"
+ Description='Additional components to enhance Inkscape functionality and provide supplemental documentation.'>
+ <Feature Id='Extensions' Level='1' AllowAdvertise='no'
+ Title='Extensions (recommended)'
+ Description='Inkscape extensions (including many import and export plugins). Requires Python.'>
+ <ComponentGroupRef Id='Extensions' />
+ </Feature>
+ <Feature Id='Dictionaries' Level='1' AllowAdvertise='no'
+ Title='Dictionaries'
+ Description='GNU Aspell dictionaries of some common languages for spell checking in Inkscape' >
+ <ComponentGroupRef Id='Dictionaries' />
+ </Feature>
+ <Feature Id='Examples' Level='1' AllowAdvertise='no'
+ Title='Examples'
+ Description='Example files highlighting some of the features of the SVG file format and Inkscape functionality.' >
+ <ComponentGroupRef Id='Examples' />
+ </Feature>
+ <Feature Id='Tutorials' Level='1' AllowAdvertise='no'
+ Title='Tutorials'
+ Description='Tutorials on how to use specific Inkscape features.' >
+ <ComponentGroupRef Id='Tutorials' />
+ </Feature>
+ </Feature>
+
+ <Feature Id='Translations' Level='1' ConfigurableDirectory='INSTALLDIR' AllowAdvertise='no'
+ Title='Translations'
+ Description='Translations and localized content for Inkscape. Note: Some translations might be incomplete, translators welcome!' >
+ <FeatureGroupRef Id='Translations' />
+ </Feature>
+
+ <!-- set license text -->
+ <WixVariable Id="WixUILicenseRtf" Value="gpl-3.0.rtf" />
+ <!-- set dialog custom bitmaps -->
+ <WixVariable Id="WixUIDialogBmp" Value="Bitmaps\dialog.bmp"/>
+ <WixVariable Id="WixUIBannerBmp" Value="Bitmaps\banner.bmp"/>
+
+ <UIRef Id="WixUI_Mondo" />
+ <UIRef Id="WixUI_ErrorProgressText" />
+
+ <Icon Id="inkscape.ico" SourceFile="..\..\share\branding\inkscape.ico" />
+ <Property Id="ARPPRODUCTICON" Value="inkscape.ico" />
+ </Product>
+</Wix>