Skip to content

Commit 6294c83

Browse files
committed
Tweaks to Wix file
1 parent a0e7b7c commit 6294c83

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

BoxCLIInstaller/Product.wxs

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<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"/>
55
<UI>
66
<UIRef Id="WixUI_InstallDir" />
77
<Publish Dialog="WelcomeDlg"
@@ -17,28 +17,25 @@
1717
</UI>
1818
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
1919
<WixVariable Id="WixUIBannerBmp" Value="White_square.jpg"/>
20-
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
2120
<MediaTemplate EmbedCab="yes" />
22-
21+
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
2322
<Feature Id="ProductFeature" Title="BoxCLI" Level="1">
2423
<ComponentGroupRef Id="ProductComponents" />
2524
</Feature>
2625
</Product>
2726

2827
<Fragment>
2928
<Directory Id="TARGETDIR" Name="SourceDir">
30-
<Directory Id="ProgramFilesFolder">
29+
<Directory Id="ProgramFiles64Folder">
3130
<Directory Id="INSTALLFOLDER" Name="BoxCLI" />
3231
</Directory>
3332
</Directory>
3433
</Fragment>
3534

3635
<Fragment>
3736
<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" />
4239
<Environment Id="Path"
4340
Permanent="yes"
4441
Name="Path"

0 commit comments

Comments
 (0)