|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> |
3 | | - <Product Id="*" Name="BoxCLI" Language="1033" Version="1.0.0.0" Manufacturer="Box" UpgradeCode="4c6ec143-4c4b-4c0e-bf14-4e0fa8e1101b"> |
4 | | - <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /> |
| 3 | + <Product Id="*" Name="BoxCLI" Language="1033" Version="1.0.1" Manufacturer="Box" UpgradeCode="4c6ec143-4c4b-4c0e-bf14-4e0fa8e1101b"> |
| 4 | + <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" Platform="x64"/> |
5 | 5 | <UI> |
6 | 6 | <UIRef Id="WixUI_InstallDir" /> |
7 | 7 | <Publish Dialog="WelcomeDlg" |
|
17 | 17 | </UI> |
18 | 18 | <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" /> |
19 | 19 | <WixVariable Id="WixUIBannerBmp" Value="White_square.jpg"/> |
20 | | - <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> |
21 | 20 | <MediaTemplate EmbedCab="yes" /> |
22 | | - |
| 21 | + <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> |
23 | 22 | <Feature Id="ProductFeature" Title="BoxCLI" Level="1"> |
24 | 23 | <ComponentGroupRef Id="ProductComponents" /> |
25 | 24 | </Feature> |
26 | 25 | </Product> |
27 | 26 |
|
28 | 27 | <Fragment> |
29 | 28 | <Directory Id="TARGETDIR" Name="SourceDir"> |
30 | | - <Directory Id="ProgramFilesFolder"> |
| 29 | + <Directory Id="ProgramFiles64Folder"> |
31 | 30 | <Directory Id="INSTALLFOLDER" Name="BoxCLI" /> |
32 | 31 | </Directory> |
33 | 32 | </Directory> |
34 | 33 | </Fragment> |
35 | 34 |
|
36 | 35 | <Fragment> |
37 | 36 | <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER" Source="..\BoxCLI\bin\Release\netcoreapp2.0\win10-x64\publish"> |
38 | | - <Component Id="INSTALLFOLDER" Guid="{19B46D20-BBA3-47F8-8A9F-626BCC5CE3F6}"> |
39 | | - <RemoveFile Id="INSTALLFOLDER" Name="*.*" On="uninstall" /> |
40 | | - </Component> |
41 | | - <Component Id="ProductComponent" Guid="{882DB6AA-1363-4724-8C43-2950E7ABECD4}"> |
| 37 | + <Component Id="ProductComponent" Guid="{882DB6AA-1363-4724-8C43-2950E7ABECD4}" Win64="yes"> |
| 38 | + <RemoveFile Directory="INSTALLFOLDER" Name="*.*" On="both" Id="REMOVEINSTALL" /> |
42 | 39 | <Environment Id="Path" |
43 | 40 | Permanent="yes" |
44 | 41 | Name="Path" |
|
0 commit comments