|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
3 | 3 | <Fragment>
|
| 4 | + <util:ProductSearch Id="DotNetRedistLtsProductSearch_x86" |
| 5 | + Condition="NOT VersionNT64" |
| 6 | + ProductCode="$(var.DotNetRedistLtsInstallerProductCodex86)" |
| 7 | + Result="version" |
| 8 | + Variable="DotNetRedistLtsProductVersion_x86" /> |
| 9 | + |
| 10 | + <util:ProductSearch Id="DotNetRedistLtsProductSearch_x64" |
| 11 | + Condition="VersionNT64" |
| 12 | + ProductCode="$(var.DotNetRedistLtsInstallerProductCodex64)" |
| 13 | + Result="version" |
| 14 | + Variable="DotNetRedistLtsProductVersion_x64" /> |
| 15 | + |
4 | 16 | <PackageGroup Id="PG_DOTNET_REDIST_LTS_BUNDLE">
|
5 | 17 | <RollbackBoundary Id="RB_DOTNET_REDIST_LTS_BUNDLE" />
|
6 | 18 |
|
|
12 | 24 | InstallCondition="VersionNT64 AND (NOT OPT_NO_RUNTIME OR OPT_NO_RUNTIME="0")"
|
13 | 25 | InstallCommand="/quiet /norestart"
|
14 | 26 | RepairCommand="/quiet /repair"
|
15 |
| - Permanent="yes" |
| 27 | + UninstallCommand="/quiet /uninstall" |
16 | 28 | DetectCondition="DotNetRedistLtsProductVersion_x64 = v$(var.DotNetRedistLtsInstallerProductVersionx64)">
|
17 | 29 | </ExePackage>
|
18 | 30 |
|
|
24 | 36 | InstallCondition="(NOT OPT_NO_RUNTIME OR OPT_NO_RUNTIME="0") AND (NOT OPT_NO_X86 OR OPT_NO_X86="0")"
|
25 | 37 | InstallCommand="/quiet /norestart"
|
26 | 38 | RepairCommand="/quiet /repair"
|
27 |
| - Permanent="yes" |
| 39 | + UninstallCommand="/quiet /uninstall" |
28 | 40 | DetectCondition="DotNetRedistLtsProductVersion_x86 = v$(var.DotNetRedistLtsInstallerProductVersionx86)">
|
29 | 41 | </ExePackage>
|
30 | 42 | </PackageGroup>
|
31 | 43 | </Fragment>
|
32 |
| - |
33 |
| - <Fragment> |
34 |
| - <util:ProductSearch Id="DotNetRedistLtsProductSearch_x86" |
35 |
| - Condition="NOT VersionNT64" |
36 |
| - ProductCode="$(var.DotNetRedistLtsInstallerProductCodex86)" |
37 |
| - Result="version" |
38 |
| - Variable="DotNetRedistLtsProductVersion_x86" /> |
39 |
| - |
40 |
| - <util:ProductSearch Id="DotNetRedistLtsProductSearch_x64" |
41 |
| - Condition="VersionNT64" |
42 |
| - ProductCode="$(var.DotNetRedistLtsInstallerProductCodex64)" |
43 |
| - Result="version" |
44 |
| - Variable="DotNetRedistLtsProductVersion_x64" /> |
45 |
| - </Fragment> |
46 | 44 | </Wix>
|
0 commit comments