Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

My wix installer has a custom action which runs only during upgrade and calls an exe to edit few conditions in the cached msi. This custom action runs before "Remove Existing Products". The installer runs successfully without errors on all windows environments except 2012 R2.

On Windows Server 2012 R2, the installer fails at that particular custom action and throws error 110. I have tried running the installer as administrator but still it fails. I don't know the reason behind this failure. Any help is much appreciated.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
121 views
Welcome To Ask or Share your Answers For Others

1 Answer

If the installed product is broken then the standard solution is to fix it with a patch (msp) or a update by reinstalling/re-caching the product using a fixed MSI. By "fix it" I obviously mean correct whatever is causing the upgrade to fail in those conditions.

Otherwise the issue is that program, and finding out exactly where and why it is failing. We don't know if you're calling MsiOpenDabase, whether you're using C# P/Invoke and so on. It needs trace capability to say what's working and what isn't because the question is ultimately about why the code fails on a particular OS version.

There are plenty of results for MsiOpenDatabase and 110, such as this:

Error 110 (open_failed) MsiOpenDatabase - error in the loop


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...