File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <?define version =" 1.0.0" ?>
3
+ <?define UpgradeCode =" a580c04f-caec-4e18-9134-c4b8f1c8f1be" ?>
2
4
<Wix xmlns =" http://schemas.microsoft.com/wix/2006/wi" >
3
5
<Product Id =" 712c71fd-c6f1-41a6-a634-b6d0a8769002"
4
6
Name =" cli-netlite"
5
7
Language =" 1033"
6
- Version =" 1.0.0.0 "
8
+ Version =" $(var.version) "
7
9
Manufacturer =" David Kornel"
8
- UpgradeCode =" a580c04f-caec-4e18-9134-c4b8f1c8f1be " >
10
+ UpgradeCode =" $(var.UpgradeCode) " >
9
11
10
12
<Package InstallerVersion =" 200" Compressed =" yes" InstallScope =" perMachine" />
11
13
<Media Id =" 1" Cabinet =" clinetlite.cab" EmbedCab =" yes" />
12
14
13
15
<WixVariable Id =" WixUILicenseRtf" Value =" /LICENSE.rtf" />
14
16
15
- <MajorUpgrade DowngradeErrorMessage =" A newer version of [ProductName] is already installed." />
17
+ <MajorUpgrade
18
+ AllowDowngrades =" no" DowngradeErrorMessage =" A later version of [ProductName] is already installed. Setup will now exit."
19
+ AllowSameVersionUpgrades =" no"
20
+ Schedule =" afterInstallInitialize"
21
+ />
16
22
17
23
<UI >
18
24
<UIRef Id =" Custom_WixUI_Minimal" />
You can’t perform that action at this time.
0 commit comments