summaryrefslogtreecommitdiffstats
path: root/packaging/wix/inkscape.wxs
blob: dfe61defdd4db13e7dad90675bd787a6f8e4c121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?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?>
  
	<Product Name="$(var.FullProductName)" Id='81922150-317e-4bb0-a31d-ff1c14f707c5' UpgradeCode='4d5fedaa-84a0-48be-bd2a-08246398361a' Language='1033' Codepage='1252' Version='0.48' Manufacturer='inkscape.org'>

		<Package Id='*' Keywords='Installer' Description="Inkscape Installer" Comments='inkscape is registered trademark of inkscape.org' Manufacturer='inkscape.org' InstallerVersion='100' Languages='1033' Compressed='yes' SummaryCodepage='1252' />

		<Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt="CD-ROM #1" />
		<Property Id='DiskPrompt' Value="inkscape Installation [1]" />

		<Property Id='ALLUSERS' Value="2" />

		<DirectoryRef Id="ApplicationProgramsFolder">
			<Component Id="ApplicationShortcut" Guid="37de8ea4-e83a-4e40-8f9c-c6066b78d935">
				<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\Microsoft\MyApplicationName" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
			</Component>
		</DirectoryRef>

		<DirectoryRef Id="DesktopFolder">
			<Component Id="DesktopShortcut" Guid="3afc08a7-05a1-40cf-90c2-0d6c042bfc41">
				<!-- Shortcut Id="desktopFoobar10" Directory="DesktopFolder" Target="[INSTALLDIR]inkscape.exe" Name="Inkscape 0.48" WorkingDirectory='INSTALLDIR' Icon="file_inkscape_exe" IconIndex="0" / -->
				<Shortcut Id="desktopFoobar10" Directory="DesktopFolder" Target="[INSTALLDIR]inkscape.exe" Name="$(var.FullProductName)" WorkingDirectory='INSTALLDIR' />
				<RemoveFolder Id="DesktopFolder" On="uninstall"/>
				<RegistryValue Root="HKCU" Key="Software\Microsoft\MyApplicationName" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
			</Component>
		</DirectoryRef>
		
		<DirectoryRef Id="INSTALLDIR">
			<Component Id="RegisterExtension" Guid="d544e040-573e-4ea8-983e-4bcae6b87f3d">
				<ProgId Id="inkscape.svg" Description='scalable vector graphics file' Icon='file_inkscape_exe'>
					<Extension Id='svg' ContentType='application/svg'>
						<Verb Id='edit' Command='Edit with Inkscape' TargetFile='file_inkscape_exe' Argument='"%1"' />
					</Extension>
					<Extension Id='svgz' ContentType='application/svgz'>
						<Verb Id='open' Command='Open with Inkscape' TargetFile='file_inkscape_exe' Argument='"%1"' />
					</Extension>
					
				</ProgId>
			</Component>
		</DirectoryRef>

    

		<Feature Id='Complete' Title="$(var.FullProductName)" Description='The complete Package' Display='expand' Level='1' ConfigurableDirectory='INSTALLDIR'  Absent="disallow" AllowAdvertise='no'>
<!--
			<Feature Id='MainProgram' Level='1' Title='inkscape Application' Description='the inkscape Application' Absent="disallow" AllowAdvertise='no'>
				<ComponentRef Id='MainExecutable' />
			</Feature>
-->
			<!--
			<Feature Id='MainProgram' Level='1' Title='inkscape Application' Description='the inkscape Application' Absent="disallow" AllowAdvertise='no'>
			-->
				<ComponentGroupRef Id='AllOther' />
			<!--
			</Feature>
			-->
			
			<!-- shortcuts -->
			<Feature Id='ApplicationShortcut' Level='1' Title='Start Menu entry' Description='an entry in the start Menu' AllowAdvertise='no'>
				<ComponentRef Id='ApplicationShortcut' />
			</Feature>
			
			<Feature Id='DesktopShortcut' Level='1' Title='Desktop link' Description='an link on the desktop' AllowAdvertise='no'>
				<ComponentRef Id='DesktopShortcut' />
			</Feature>
			
			<Feature Id='RegisterExtension' Level='1' Title='register file extension' Description='register .svg and .svgz file extension to explorer context menu' AllowAdvertise='no'>
				<ComponentRef Id='RegisterExtension' />
			</Feature>

			<Feature Id='Examples' Level='1' Title='Examples' Description='examples as svg' AllowAdvertise='no'>
				<ComponentGroupRef Id='Examples' />
			</Feature>

			<Feature Id='Translations' Level='1' Title='Translations' Description='translations' AllowAdvertise='no'>
				<ComponentGroupRef Id='Translations' />
			</Feature>

			<Feature Id='Tutorials' Level='1' Title='Tutorials' Description='tutorials as svg' AllowAdvertise='no'>
				<ComponentGroupRef Id='Tutorials' />
			</Feature>
<!--
			<ComponentRef Id='ProgramMenuDir' />
-->
		</Feature>
		<!-- set license text -->
		<WixVariable Id="WixUILicenseRtf" Value="gpl-2.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="..\..\inkscape.ico" />
		<Property Id="ARPPRODUCTICON" Value="inkscape.ico" />
	</Product>
</Wix>