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"/>
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"/>
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"'
/>
47 <Extension Id='svgz' ContentType='image/svg+xml'
>
48 <Verb Id='open' Command='Open with Inkscape' TargetFile='file_inkscape_exe' Argument='
"%1"'
/>
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'
/>
66 <Feature Id='DesktopShortcut' Level='
1' AllowAdvertise='no'
67 Title='Desktop shortcut'
68 Description='Create a link on the desktop.'
>
69 <ComponentRef Id='DesktopShortcut'
/>
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'
/>
78 <Feature Id='Python' Level='
1' ConfigurableDirectory='INSTALLDIR' AllowAdvertise='no'
80 Description='Bundled Distribution of Python
2.7 including modules required to run Inkscape extensions.'
>
81 <ComponentGroupRef Id='Python'
/>
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'
/>
92 <Feature Id='Dictionaries' Level='
1' AllowAdvertise='no'
94 Description='GNU Aspell dictionaries of some common languages for spell checking in Inkscape'
>
95 <ComponentGroupRef Id='Dictionaries'
/>
97 <Feature Id='Examples' Level='
1' AllowAdvertise='no'
99 Description='Example files highlighting some of the features of the SVG file format and Inkscape functionality.'
>
100 <ComponentGroupRef Id='Examples'
/>
102 <Feature Id='Tutorials' Level='
1' AllowAdvertise='no'
104 Description='Tutorials on how to use specific Inkscape features.'
>
105 <ComponentGroupRef Id='Tutorials'
/>
109 <Feature Id='Translations' Level='
1' ConfigurableDirectory='INSTALLDIR' AllowAdvertise='no'
111 Description='Translations and localized content for Inkscape. Note: Some translations might be incomplete, translators welcome!'
>
112 <FeatureGroupRef Id='Translations'
/>
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" />