-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstaller.wsx
88 lines (81 loc) · 2.29 KB
/
installer.wsx
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
<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
{{ if eq .MsiArch "x64" }}
<?define ArchString = "(64 bit)" ?>
<?define Win64 = "yes" ?>
<?define ProgramFilesFolder = "ProgramFiles64Folder" ?>
{{ else }}
<?define ArchString = "" ?>
<?define Win64 = "no" ?>
<?define ProgramFilesFolder = "ProgramFilesFolder" ?>
{{ end }}
<Product
Name='Agentuity {{.Version}}'
Id='ABCDDCBA-86C7-4D14-AEC0-86413A69ABDE'
UpgradeCode='ABCDDCBA-7349-453F-94F6-BCB5110BA8FD'
Language='1033'
Codepage='1252'
Version='{{.Version}}'
Manufacturer='Agentuity, Inc.'>
<Package
Id='*'
Keywords='Installer'
Description="Agentuity installer"
Manufacturer='Agentuity, Inc.'
InstallerVersion='200'
Languages='1033'
Compressed='yes'
SummaryCodepage='1252'
/>
<Media
Id='1'
Cabinet='Sample.cab'
EmbedCab='yes'
DiskPrompt="CD-ROM #1"
/>
<Property
Id='DiskPrompt'
Value="Agentuity {{.Version}} Installation [1]"
/>
<Property Id="WIXUI_INSTALLDIR" Value="TARGETDIR" />
<Property Id="ALLUSERS" Value="1" />
<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='ProgramFilesFolder' Name='PFiles'>
<Directory Id='Agentuity' Name='Agentuity'>
<Component
Id='PathComponent'
Guid='ABCDDCBA-83F1-4F22-985B-FDB3C8ABD476'
Win64='$(var.Win64)'
>
<Environment
Id="PATH"
Name="PATH"
Value="[Agentuity]"
Permanent="no"
Part="last"
Action="set"
System="yes"
/>
</Component>
<Component
Id='MainExecutable'
Guid='ABCDDCBA-83F1-4F22-985B-FDB3C8ABD474'
Win64='$(var.Win64)'
>
<File
Id='agentuity.exe'
Name='agentuity.exe'
DiskId='1'
Source='agentuity.exe'
KeyPath='yes'
/>
</Component>
</Directory>
</Directory>
</Directory>
<Feature Id='Complete' Level='1'>
<ComponentRef Id='PathComponent' />
<ComponentRef Id='MainExecutable' />
</Feature>
</Product>
</Wix>