Skip to content

Commit

Permalink
Fix MSI error messages (#58)
Browse files Browse the repository at this point in the history
Use the MSI property, not the WiX preprocessor variable (which was also
wrongly used as a property name) so the product name actually appears
in the error message instead of an empty string.
  • Loading branch information
chrullrich authored Oct 2, 2024
1 parent e271b49 commit 7dd7413
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installer/psqlodbc_cpu.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@
</Upgrade>

<CustomAction Id='AlreadyUpdated'
Error="the same version of [$(var.PKGNAME)] is already installed" />
Error="the same version of [ProductName] is already installed" />
<CustomAction Id='NoDowngrade'
Error="a new version of [$(var.PKGNAME)] is already installed" />
Error="a new version of [ProductName] is already installed" />
<CustomAction Id='NoMinorUpgrade'
Error="REINSTALL unavailable. Major upgrade is needed." />
<CustomAction Id='NoReinstall'
Expand Down

0 comments on commit 7dd7413

Please sign in to comment.