|
2 | 2 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
3 | 3 | <Product Id="*"
|
4 | 4 | Language="1033"
|
5 |
| - Manufacturer="Microsoft Corporation" |
| 5 | + Manufacturer="Microsoft" |
6 | 6 | Name="quicreach"
|
7 | 7 | UpgradeCode="8395c163-ac9f-4a89-82fc-689fe25f0777"
|
8 |
| - Version="1.1.0.0"> |
9 |
| - <Package InstallScope="perMachine" Compressed="yes" /> |
| 8 | + Version="1.1.1.0"> |
| 9 | + <Package InstallScope="perUser" Compressed="yes" /> |
10 | 10 | <MajorUpgrade DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit." />
|
11 | 11 | <MediaTemplate EmbedCab="yes" />
|
12 | 12 | <Directory Id="TARGETDIR" Name="SourceDir">
|
13 |
| - <Directory Id="SystemFolder64"> |
14 |
| - <Component Id="ProductComponent" Guid='4c39c05d-c4bd-44d2-aba6-78abbb0c0d21'> |
15 |
| - <File KeyPath="yes" Source="quicreach.exe"></File> |
16 |
| - </Component> |
| 13 | + <Directory Id="LocalAppDataFolder"> |
| 14 | + <Directory Id="COMPANYFOLDER" Name="Microsoft"> |
| 15 | + <Directory Id="INSTALLFOLDER" Name="quicreach"> |
| 16 | + <Component Id="ProductComponent" Guid='4c39c05d-c4bd-44d2-aba6-78abbb0c0d21'> |
| 17 | + <RegistryValue Root='HKCU' Key='Software\[Manufacturer]\[ProductName]' |
| 18 | + Name='InstallFolder' |
| 19 | + Value='[INSTALLFOLDER]' |
| 20 | + Type='string' |
| 21 | + KeyPath='yes' /> |
| 22 | + <File Source="quicreach.exe" /> |
| 23 | + <RemoveFolder Id="COMPANYFOLDER" Directory='COMPANYFOLDER' On="uninstall"/> |
| 24 | + <RemoveFolder Id="INSTALLFOLDER" On="uninstall"/> |
| 25 | + </Component> |
| 26 | + </Directory> |
| 27 | + </Directory> |
17 | 28 | </Directory>
|
18 | 29 | </Directory>
|
| 30 | + <DirectoryRef Id="TARGETDIR"> |
| 31 | + <Component Id="PathEnvUsr" Guid="df49ef33-1b21-45ca-b0df-5feebf4ceaca"> |
| 32 | + <Environment Id="EnvPathUsr" Name="PATH" Action="set" Part="last" System="no" Value="[INSTALLFOLDER]" Permanent="no"/> |
| 33 | + </Component> |
| 34 | + </DirectoryRef> |
19 | 35 | <Feature Id="quicreach">
|
20 | 36 | <ComponentRef Id="ProductComponent" />
|
| 37 | + <ComponentRef Id='PathEnvUsr' /> |
21 | 38 | </Feature>
|
22 | 39 | </Product>
|
23 | 40 | </Wix>
|
0 commit comments