-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWiX_toolset.wxs
More file actions
56 lines (33 loc) · 1.62 KB
/
WiX_toolset.wxs
File metadata and controls
56 lines (33 loc) · 1.62 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
Directives: 1. candle.exe yourname.wxs
2. light.exe yourname.wixobj
Result: you will get yourname.msi
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="GUID"
Name="yourSoftName"
Language="The Microsoft Software Development Kit(SDK) includes Language and Codepage"
Codepage=""
Version="major.minor.build"
Manufacturer="yourCompany"
UpgradeCode="GUID"
>
<Package Id="*" //asterisk represents WiX will autogenerate a GUID
InstallScope="perMachine/perUser"
//perUser declares the package is a per-user installation and does not require elevated privileges to install,
works with limited
//perMachine declares the package is a per-machine installation and requires elevated privileges to install,
need to set the ALLUSERS property to 1.
InstallPrivileges="elevated/limited"
Keywords=""
Description=""
Comments=""
InstallerVersion=""
Language=""
Compressed="yes/no"
SummaryCodepage=""
/>
<Directory Id="TARGETDIR" Name="SourceDir">
//TARGETDIR = root directory that contains the source cabinet file or the source file tree of the installation package.
same to SourceDir
</Product>
</Wix>