fix license in Windows MSI setup
[inkscape.git] / packaging / wix / inkscape.wxs
blobbd11dc579fb80562e8683a9dfaed60424101de09
1 <?xml version='1.0' encoding='windows-1252'?>
2 <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
3 <?include version.wxi?>
5 <!-- change Product Id for every new version and subversion, do not change UpgradeCode -->
6 <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'>
8 <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' />
10 <Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt="CD-ROM #1" CompressionLevel="high"/>
11 <Property Id='DiskPrompt' Value="inkscape Installation [1]" />
13 <Property Id='ALLUSERS' Value="2" />
15 <MajorUpgrade DowngradeErrorMessage="A newer version is already installed." />
17 <DirectoryRef Id="ApplicationProgramsFolder">
18 <Component Id="ApplicationShortcut" Guid="37de8ea4-e83a-4e40-8f9c-c6066b78d935" Win64='$(var.Win64)' >
19 <Shortcut Id="ApplicationStartMenuShortcut"
20 Name="$(var.FullProductName)"
21 Description="Inkscape Vector Graphics Application"
22 Target="[INSTALLDIR]inkscape.exe"
23 WorkingDirectory="INSTALLDIR"/>
24 <util:InternetShortcut Id="OnlineDocumentationShortcut"
25 Name="Inkscape Homepage"
26 Target="http://www.inkscape.org/"/>
27 <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
28 <RegistryValue Root="HKCU" Key="Software\inkscape.org\Inkscape" Name="startmenu_installed" Type="integer" Value="1" KeyPath="yes"/>
29 </Component>
30 </DirectoryRef>
32 <DirectoryRef Id="DesktopFolder">
33 <Component Id="DesktopShortcut" Guid="3afc08a7-05a1-40cf-90c2-0d6c042bfc41" Win64='$(var.Win64)'>
34 <!-- Shortcut Id="desktopFoobar10" Directory="DesktopFolder" Target="[INSTALLDIR]inkscape.exe" Name="$(var.FullProductName)" WorkingDirectory='INSTALLDIR' Icon="file_inkscape_exe" IconIndex="0" / -->
35 <Shortcut Id="DesktopShortcut" Directory="DesktopFolder" Target="[INSTALLDIR]inkscape.exe" Name="$(var.FullProductName)" WorkingDirectory='INSTALLDIR' />
36 <RemoveFolder Id="DesktopFolder" On="uninstall"/>
37 <RegistryValue Root="HKCU" Key="Software\inkscape.org\Inkscape" Name="desktop_installed" Type="integer" Value="1" KeyPath="yes"/>
38 </Component>
39 </DirectoryRef>
41 <DirectoryRef Id="INSTALLDIR">
42 <Component Id="RegisterExtension" Guid="d544e040-573e-4ea8-983e-4bcae6b87f3d" Win64='$(var.Win64)'>
43 <ProgId Id="inkscape.svg" Description='scalable vector graphics file' Icon='file_inkscape_exe'>
44 <Extension Id='svg' ContentType='image/svg+xml'>
45 <Verb Id='edit' Command='Edit with Inkscape' TargetFile='file_inkscape_exe' Argument='"%1"' />
46 </Extension>
47 <Extension Id='svgz' ContentType='image/svg+xml'>
48 <Verb Id='open' Command='Open with Inkscape' TargetFile='file_inkscape_exe' Argument='"%1"' />
49 </Extension>
50 </ProgId>
51 </Component>
52 </DirectoryRef>
54 <Feature Id='Inkscape' Level='1' Absent="disallow" Display="expand" ConfigurableDirectory='INSTALLDIR' AllowAdvertise='no'
55 Title="$(var.FullProductName)"
56 Description='Inkscape core files, shortcuts and file extension'>
57 <!-- core files, i.e. everything that does not fit into any of the other features -->
58 <ComponentGroupRef Id='AllOther' />
60 <!-- shortcuts and file extensions -->
61 <Feature Id='ApplicationShortcut' Level='1' AllowAdvertise='no'
62 Title='Start Menu entry'
63 Description='Create a link in the start menu.'>
64 <ComponentRef Id='ApplicationShortcut' />
65 </Feature>
66 <Feature Id='DesktopShortcut' Level='1' AllowAdvertise='no'
67 Title='Desktop shortcut'
68 Description='Create a link on the desktop.' >
69 <ComponentRef Id='DesktopShortcut' />
70 </Feature>
71 <Feature Id='RegisterExtension' Level='1' AllowAdvertise='no'
72 Title='Register file extensions'
73 Description='Register SVG files (.svg and .svgz) with Inkscape and add entries in Explorer context menu.'>
74 <ComponentRef Id='RegisterExtension' />
75 </Feature>
76 </Feature>
78 <Feature Id='Python' Level='1' ConfigurableDirectory='INSTALLDIR' AllowAdvertise='no'
79 Title='Python 2.7'
80 Description='Bundled Distribution of Python 2.7 including modules required to run Inkscape extensions.'>
81 <ComponentGroupRef Id='Python' />
82 </Feature>
84 <Feature Id='Additional' Level='1' ConfigurableDirectory='INSTALLDIR' AllowAdvertise='no'
85 Title="Additional files"
86 Description='Additional components to enhance Inkscape functionality and provide supplemental documentation.'>
87 <Feature Id='Extensions' Level='1' AllowAdvertise='no'
88 Title='Extensions (recommended)'
89 Description='Inkscape extensions (including many import and export plugins). Requires Python.'>
90 <ComponentGroupRef Id='Extensions' />
91 </Feature>
92 <Feature Id='Dictionaries' Level='1' AllowAdvertise='no'
93 Title='Dictionaries'
94 Description='GNU Aspell dictionaries of some common languages for spell checking in Inkscape' >
95 <ComponentGroupRef Id='Dictionaries' />
96 </Feature>
97 <Feature Id='Examples' Level='1' AllowAdvertise='no'
98 Title='Examples'
99 Description='Example files highlighting some of the features of the SVG file format and Inkscape functionality.' >
100 <ComponentGroupRef Id='Examples' />
101 </Feature>
102 <Feature Id='Tutorials' Level='1' AllowAdvertise='no'
103 Title='Tutorials'
104 Description='Tutorials on how to use specific Inkscape features.' >
105 <ComponentGroupRef Id='Tutorials' />
106 </Feature>
107 </Feature>
109 <Feature Id='Translations' Level='1' ConfigurableDirectory='INSTALLDIR' AllowAdvertise='no'
110 Title='Translations'
111 Description='Translations and localized content for Inkscape. Note: Some translations might be incomplete, translators welcome!' >
112 <FeatureGroupRef Id='Translations' />
113 </Feature>
115 <!-- set license text -->
116 <WixVariable Id="WixUILicenseRtf" Value="gpl-3.0.rtf" />
117 <!-- set dialog custom bitmaps -->
118 <WixVariable Id="WixUIDialogBmp" Value="Bitmaps\dialog.bmp"/>
119 <WixVariable Id="WixUIBannerBmp" Value="Bitmaps\banner.bmp"/>
121 <UIRef Id="WixUI_Mondo" />
122 <UIRef Id="WixUI_ErrorProgressText" />
124 <Icon Id="inkscape.ico" SourceFile="..\..\share\branding\inkscape.ico" />
125 <Property Id="ARPPRODUCTICON" Value="inkscape.ico" />
126 </Product>
127 </Wix>