forked from pop-os/keyboard-configurator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkeyboard-configurator.wxs
68 lines (59 loc) · 2.98 KB
/
keyboard-configurator.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version='1.0' encoding='utf-8'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<Product
Name='System76 Keyboard Configurator'
Manufacturer='System76, Inc.'
Id='*'
UpgradeCode='548e3064-0ff9-421a-91dc-1f1bd0afe9b6'
Language='1033'
Codepage='1252'
Version='$(var.crate_version)'
>
<!-- Comments='' -->
<Package
Id='*'
Keywords='Installer'
Description="System76 Keyboard Configurator $(var.crate_version) Installer"
Manufacturer='System76, Inc.'
InstallerVersion='100'
Languages='1033'
Compressed='yes'
SummaryCodepage='1252'
InstallScope='perMachine'
/>
<Media Id='1' Cabinet='KeyboardConfigurator.cab' EmbedCab='yes' CompressionLevel='high' />
<Icon Id="keyboard_configurator.ico" SourceFile="out/keyboard-configurator.ico"/>
<Property Id="ARPPRODUCTICON" Value="keyboard_configurator.ico" />
<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='ProgramFilesFolder' Name='PFiles'>
<Directory Id='System76' Name='System76'>
<Directory Id='INSTALLDIR' Name='Keyboard Configurator'>
<Component Id='MainExecutable' Feature='Complete' Guid='*'>
<File Name='system76-keyboard-configurator.exe' Source='out/system76-keyboard-configurator.exe' KeyPath='yes'>
<Shortcut Id="KeyboardConfiguratorShortcut" Directory="ProgramMenuDir" Name="System76 Keyboard Configurator"
WorkingDirectory='INSTALLDIR' Advertise="yes" Icon='keyboard_configurator.ico' />
</File>
</Component>
<?include libraries.wxi ?>
</Directory>
</Directory>
</Directory>
<Directory Id="ProgramMenuFolder" Name="Programs">
<Directory Id="ProgramMenuDir" Name="System76 Keyboard Configurator">
<Component Id="ProgramMenuDir" Feature="Complete" Guid="*">
<RemoveFolder Id='ProgramMenuDir' On='uninstall' />
<RegistryValue Root='HKCU' Key='Software\[Manufacturer]\[ProductName]' Type='string' Value='' KeyPath='yes' />
</Component>
</Directory>
</Directory>
</Directory>
<Feature Id='Complete' Level='1' />
<WixVariable Id="WixUILicenseRtf" Value="gpl.rtf" />
<WixVariable Id="WixUIBannerBmp" Value="banner.bmp" />
<WixVariable Id="WixUIDialogBmp" Value="dialog.bmp" />
<UIRef Id="WixUI_Minimal" />
<UIRef Id="WixUI_ErrorProgressText" />
<MajorUpgrade DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit."
AllowSameVersionUpgrades="yes" />
</Product>
</Wix>