Skip to content

Commit

Permalink
installer: include computer architecture in product name
Browse files Browse the repository at this point in the history
  • Loading branch information
billziss-gh committed Dec 1, 2017
1 parent f660c4f commit c59c50f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sshfs-win.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,29 @@
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product
Id="*"
Name="$(var.MyProductName)"
Name="$(var.MyProductName) ($(var.MyArch))"
Manufacturer="$(var.MyCompanyName)"
Version="$(var.MyVersion)"
Language="1033"
UpgradeCode="$(var.UpgradeCode)">

<Package
Description="$(var.MyProductName) - $(var.MyDescription)"
Description="$(var.MyProductName) ($(var.MyArch)) - $(var.MyDescription)"
InstallerVersion="200"
Compressed="yes"
InstallScope="perMachine" />
<MajorUpgrade
Disallow="yes"
AllowDowngrades="no"
AllowSameVersionUpgrades="no"
DisallowUpgradeErrorMessage="An older version of [ProductName] is already installed. You must uninstall it before you can install this version."
DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
DisallowUpgradeErrorMessage="An older version of $(var.MyProductName) is already installed. You must uninstall it before you can install this version."
DowngradeErrorMessage="A newer version of $(var.MyProductName) is already installed." />
<Media Id="1" Cabinet="sshfs_win.cab" EmbedCab="yes" />

<Property Id="OTHERINSTALLED">
<ProductSearch UpgradeCode="$(var.OtherUpgradeCode)" Minimum="0.0.0.0" />
</Property>
<Condition Message="A version of [ProductName] with a different computer architecture is already installed. You must uninstall it before you can install this version.">
<Condition Message="A version of $(var.MyProductName) with a different computer architecture is already installed. You must uninstall it before you can install this version.">
NOT OTHERINSTALLED
</Condition>

Expand Down Expand Up @@ -101,7 +101,7 @@
<Feature
Id="F.Main"
Level="1"
Title="$(var.MyProductName) $(var.MyVersion)"
Title="$(var.MyProductName) ($(var.MyArch)) $(var.MyVersion)"
Description="$(var.MyDescription)"
Display="expand"
ConfigurableDirectory="INSTALLDIR"
Expand Down

0 comments on commit c59c50f

Please sign in to comment.