You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Binding the Product/Version to an assembly + using InstanceTransforms with UpgradeCode in my installer source.
When I run the installer with MSINEWINSTANCE=1 TRANSFORMS=":i1" to install a new instance,
the windows installer throws a meesage:
DEBUG: Error 2229: Database: . Could not load table 'Upgrade' in SQL query: SELECT UpgradeCode,VersionMin,VersionMax,Language,Attributes,ActionProperty FROM Upgrade
Originally opened by gbignozzivsn
The text was updated successfully, but these errors were encountered:
calculating $(var.MyVersion) using (!bind.FileVersion.MyDllFileID)
applying this $(var.MyVersion) to:
Product/Version attribute
Registry
installdir path
The reason for this is that I need to allow the user to run multiple instances of multiple versions at the same time.
Then when I run the installer to upgrade any of my instances to newer version with the same options as described in bug description, I get exactly the same error.
The only solution for me now is to hardcode the $(var.MyVersion).
I've hit this in WiX v3.11, so it clearly still is an issue. I found the stackoverflow post that noted it was related to the presence of the MajorUpgrade element in the Product element. I may experiment with using the Upgrade and UpgradeVersion elements, but I suspect the transform is the real issue.
Binding the Product/Version to an assembly + using InstanceTransforms with UpgradeCode in my installer source.
When I run the installer with MSINEWINSTANCE=1 TRANSFORMS=":i1" to install a new instance,
the windows installer throws a meesage:
DEBUG: Error 2229: Database: . Could not load table 'Upgrade' in SQL query: SELECT
UpgradeCode
,VersionMin
,VersionMax
,Language
,Attributes
,ActionProperty
FROMUpgrade
The text was updated successfully, but these errors were encountered: