Upgrade Problem

Got a problem you cannot solve? Try here.
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

That's a very clever workaround, great job!

I also stress once again you were not experiencing a freeze but a wait for the Windows Installer mutex, which is being held by the process that started the MSI transaction, as separate from the process attempting to uninstall the product.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
jsmith
Posts: 178
Joined: Tue Nov 04, 2008 10:47 am

Post by jsmith »

Thanks. True, it's not a freeze but rather a deadlock. To the end user, the deadlock manifests as a freeze, a hung installer. Semantics aside, this bit of clever scripting should allow us to meet both requirements - that the upgrade occurs in a transaction and that the old version's MSICode is executed when removing it.
using InstallAware 9 R2 (Build Moya.sp3.070910)
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

This is actually more than semantics...the deadlock is created in your own coding. It is what one would call a logical error in programming :)
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply