File: groestlcoin.wxs

package info (click to toggle)
groestlcoin 2.17.2~dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 20,948 kB
  • sloc: cpp: 103,119; sh: 4,198; python: 3,879; makefile: 1,016; ansic: 702; asm: 586; xml: 205
file content (113 lines) | stat: -rwxr-xr-x 5,264 bytes parent folder | download
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
109
110
111
112
113
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:netfx='http://schemas.microsoft.com/wix/NetFxExtension'>


<?define UpgradeCode="76e20a64-ea63-4ac5-9729-05f8e607c45d"?>
<?define PRODVER="2.17.2"?>

<?if $(sys.BUILDARCH) = x64 ?>
	<?define OUTDIR="x64_R_St\"?>
<?else ?>
	<?define OUTDIR="x86_R_St\"?>
<?endif ?>

<Product Name='Groestlcoin Core' Id='*' UpgradeCode='$(var.UpgradeCode)' Version='$(var.PRODVER)' Manufacturer='Groestlcoin' Language='1033' >
	<Package Id='*' Keywords='Installer' Description="Groestlcoin Core" Comments='Groestlcoin Core' Manufacturer='Groestlcoin' InstallerVersion='301' Compressed='yes'  />

	<UIRef Id="WixUI_InstallDir" />


	<Upgrade Id='$(var.UpgradeCode)'>
		<UpgradeVersion OnlyDetect="yes" Minimum="$(var.PRODVER)" Property="NEWERVERSIONDETECTED" IncludeMinimum="no" />
		<UpgradeVersion OnlyDetect="no" Maximum="99.0.0.0" Property="OLDERVERSIONBEINGUPGRADED" IncludeMaximum="no" />
	</Upgrade>

	<Icon Id="Groestlcoin.ico" SourceFile="src\qt\res\icons\groestlcoin.ico " />

	<Property Id="ARPPRODUCTICON" Value="Groestlcoin.ico" />
	<Property Id='DiskPrompt' Value="Groestlcoin Core" />
	<Property Id="ARPHELPLINK" Value="https://www.groestlcoin.org/downloads/" />
	<Property Id="ARPURLINFOABOUT" Value="https://www.groestlcoin.org/downloads/" />
	<Property Id="ARPURLUPDATEINFO" Value="https://www.groestlcoin.org/downloads/" />
	<Property Id="LAUNCHPRODUCT">0</Property>
	<Property Id="ARPNOREPAIR" Value="1" />
<!--    <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />-->

	<Property Id="INSTALLDIR">
		<RegistrySearch Id="FindInstallLocation" Root="HKLM" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[OLDERVERSIONBEINGUPGRADED]" Name="InstallLocation" Type="raw" />
	</Property>


	<Directory Id='TARGETDIR' Name='SourceDir'>
<?if $(sys.BUILDARCH) = x64 ?>
		<Directory Id='ProgramFiles64Folder' Name='PFiles'>
			<Directory Id='INSTALLDIR' Name='Groestlcoin'>
	   			<Directory Id='DAEMON' Name='daemon' />
			</Directory>
		</Directory>
<?else ?>
		<Directory Id='ProgramFilesFolder' Name='PFiles'>
			<Directory Id='INSTALLDIR' Name='Groestlcoin'>
	   			<Directory Id='DAEMON' Name='daemon' />
			</Directory>
		</Directory>
<?endif ?>

		<Directory Id="ProgramMenuFolder">
			<Directory Id="ApplicationProgramsFolder" Name="Groestlcoin Core"/>
		</Directory>
		<Directory Id="DesktopFolder" Name="Desktop" />
	</Directory>

	<Media Id="1" Cabinet="groestlcoin.cab" EmbedCab="yes"/>

	<Component Id='CMP_GrsQt' Guid='a677466c-3dbe-476f-a225-eb19da78004d' Directory='INSTALLDIR' >
		<File  Id="groestlcoin_qt.exe" Source="$(var.OUTDIR)\groestlcoin-qt.exe"    KeyPath='yes'       >
<!--            <Shortcut Id="startmenuGroestlcoin"     Directory="ProgramMenuFolder"   Name="Groestlcoin Core" Icon="Groestlcoin.ico" IconIndex="0" Advertise="yes" /> -->
			<Shortcut Id="desktopGroestlcoin"   Directory="DesktopFolder"       Name="Groestlcoin Core" Icon="Groestlcoin.ico" IconIndex="0" Advertise="yes" />
		</File>
		<Shortcut Id='UninstallProductFromInstallDir'     Name='Uninstall Groestlcoin Core' Description='Uninstalls Groestlcoin Core' Target='[System64Folder]msiexec.exe' Arguments="/x [ProductCode]" />
	</Component>

	<Component Id='CMP_GrsDaemon' Guid='32b21315-0f58-4af8-8f14-156645ecfad6' Directory='DAEMON' >
		<File  Source="$(var.OUTDIR)\groestlcoind.exe"  KeyPath='yes'       />
		<File  Source="$(var.OUTDIR)\groestlcoin-cli.exe"           />
		<File  Source="$(var.OUTDIR)\groestlcoin-tx.exe"           />
	</Component>

	<DirectoryRef Id="ApplicationProgramsFolder">
		<Component Id='CMP_ApplicationShortcut' Guid='ed335276-6250-4832-98b3-3694ff8beaee'>
			<Shortcut Id="startmenuGroestlcoin" Name="Groestlcoin Core" Target="[#groestlcoin_qt.exe]" Icon="Groestlcoin.ico" IconIndex="0" Advertise="no" />
			<Shortcut Id='UninstallProduct'     Name='Uninstall Groestlcoin Core' Description='Uninstalls Groestlcoin Core' Target='[System64Folder]msiexec.exe' Arguments="/x [ProductCode]" />
			<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
			<RegistryValue Root="HKCU" Key="Software\Groestlcoin" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
		</Component>
	</DirectoryRef>

	<CustomAction Id="NewerVersionDetected" Error="There is a later version of this product installed"/>
	<CustomAction Id="SetARPINSTALLLOCATION" Property="ARPINSTALLLOCATION" Value="[INSTALLDIR]" />
	<CustomAction Id='LaunchFile' FileKey='groestlcoin_qt.exe' ExeCommand='' Return="asyncNoWait" />

	<InstallUISequence>
		<AppSearch After="FindRelatedProducts"/>
	</InstallUISequence>

	<InstallExecuteSequence>
		<Custom Action="NewerVersionDetected" After="FindRelatedProducts">NEWERVERSIONDETECTED</Custom>
		<RemoveExistingProducts After="InstallInitialize" />
		<InstallFiles/>
		<Custom Action="SetARPINSTALLLOCATION" After="InstallValidate"></Custom>
		<SelfRegModules/>
<!--        <Custom Action='LaunchFile' After='InstallFinalize'>LAUNCHPRODUCT</Custom>  -->
	</InstallExecuteSequence>


	<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />

	<Feature Id='Complete' Level='1' Title='Groestlcoin Core'>
		<ComponentRef Id='CMP_GrsQt'				/>
		<ComponentRef Id='CMP_GrsDaemon'			/>
		<ComponentRef Id='CMP_ApplicationShortcut'	/>
	</Feature>

</Product>
</Wix>