-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpangolin-cli.wxs
More file actions
57 lines (52 loc) · 2.2 KB
/
pangolin-cli.wxs
File metadata and controls
57 lines (52 loc) · 2.2 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Package Name="Pangolin CLI"
Language="1033"
Version="0.0.0"
Manufacturer="Fossorial"
UpgradeCode="35A1E3C4-C273-4334-9DF3-57408E83012E"
Compressed="yes">
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate EmbedCab="yes" />
<StandardDirectory Id="ProgramFiles64Folder">
<Directory Id="INSTALLFOLDER" Name="pangolin-cli">
<Component Id="PangolinCli" Guid="C1D2E3F4-A5B6-4789-9012-3456789ABCDE">
<File Id="PangolinCliExe"
Source="$(var.BuildDir)/pangolin-cli_windows_amd64.exe"
Name="pangolin.exe"
KeyPath="yes" />
<Environment Id="PangolinCliPath"
Name="PATH"
Value="[INSTALLFOLDER]"
Part="last"
Action="set"
System="yes" />
</Component>
</Directory>
</StandardDirectory>
<StandardDirectory Id="ProgramMenuFolder">
<Directory Id="ApplicationProgramsFolder" Name="pangolin-cli">
<Component Id="StartMenuShortcut" Guid="D2E3F4A5-B6C7-4890-0123-456789ABCDEF">
<Shortcut Id="StartMenuShortcut"
Name="pangolin-cli"
Description="Pangolin CLI"
Target="[INSTALLFOLDER]pangolin.exe"
Icon="ProductIcon" />
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall" />
<RegistryValue Root="HKCU"
Key="Software\Fossorial\PangolinCLI"
Name="StartMenuShortcut"
Type="integer"
Value="1"
KeyPath="yes" />
</Component>
</Directory>
</StandardDirectory>
<Feature Id="ProductFeature" Title="pangolin-cli" Level="1">
<ComponentRef Id="PangolinCli" />
<ComponentRef Id="StartMenuShortcut" />
</Feature>
<Icon Id="ProductIcon" SourceFile="icons/icon-orange.ico" />
<Property Id="ARPPRODUCTICON" Value="ProductIcon" />
</Package>
</Wix>