-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwinetd.wxs
44 lines (41 loc) · 2.14 KB
/
winetd.wxs
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
<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<Product Name='Winetd' Id='*' UpgradeCode='C1D7E608-0F3B-4200-810C-5AF048DF4F7A'
Language='1033' Version='0.1.9' Manufacturer='Leonid Genkin'>
<Package Id='*' Compressed='yes' InstallScope='perMachine' Platform='x64' InstallerVersion='200' />
<Media Id='1' Cabinet='Winetd.cab' EmbedCab='yes' />
<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='ProgramFiles64Folder' Name='PFiles'>
<Directory Id='INSTALLDIR' Name='Winetd'>
<Component Id='Winetd' Guid='D1E724F4-8B79-4937-BDC7-FB9EF458B6C5' Win64='yes'>
<Environment Id="PATH" Name="PATH" Value="[INSTALLDIR]" Permanent="yes" Part="last" Action="set" System="yes" />
<File Id='WinetD' Name='winetd.exe' DiskId='1' Source='target\release\winetd.exe'>
</File>
<ServiceInstall Id='WinetdServiceInstall' Type='ownProcess' Name='Winetd'
DisplayName='Winetd Service' Description='Winetd Service'
Start='auto' ErrorControl='normal' />
<ServiceControl Id='WinetdServiceStart' Name='Winetd' Start='install' Stop='both' />
</Component>
<Component Id="RegistryEntries" Guid='80630C0C-27A6-4EDC-9296-68441536C8C8' Win64='yes'>
<RegistryKey Root="HKLM"
Key="SYSTEM\CurrentControlSet\Services\EventLog\Application\Winetd">
<RegistryValue Type="string" Name="EventMessageFile" Value="[INSTALLDIR]\winetd.exe"/>
</RegistryKey>
</Component>
</Directory>
</Directory>
<Directory Id="CommonAppDataFolder">
<Directory Id="WinetdDirectory" Name="Winetd">
<Component Id='CreateSettingsDir' Guid='328C1461-7B60-43F7-8163-CBDA1194A811'>
<CreateFolder />
</Component>
</Directory>
</Directory>
</Directory>
<Feature Id='Complete'>
<ComponentRef Id='Winetd' />
<ComponentRef Id='RegistryEntries' />
<ComponentRef Id='CreateSettingsDir' />
</Feature>
</Product>
</Wix>