09-17-2012 12:34 PM
I am having problems when trying to create an upgrade installation for an IVI driver.
I created the installer using the IVI Installer Creator included with LabWindows/CVI 2010. In my case I have two versions of the IVI driver DLL and setup (1.0 and 1.1 each).
The 1.1-setup has been created using the 'Rebuild Existing Installer' option of the Installer Creator.
My problem is as follows:
Things I've noticed so far:
Has anyone else noticed this behavior or has anyone any suggestions on how to create an IVI driver installer that can be upgraded without uninstalling the old version first?
Maybe I just set some version information field incorrectly, but I don't know which one (if any)...
Any hints would be greatly appreciated!
Solved! Go to Solution.
09-19-2012 06:34 AM
I seem to have found a solution:
The problem is, that the MSI CustomAction that searches for the third party IVI drivers (DetectAction.C1C4DD2F_AD86_44E6_BA47_FC41E5C0DAAF) is executed before the FindRelatedProducts-Action.
Therefore the DetectAction is not skipped if an old version of the IVI driver is found (as looking at the MSI tables clearly was intended by NI).
Moving the sequence numbers of the actions 103 through 107 behind the FindRelatedProducts-Action in both the InstallExecuteSequence and InstallUISequence tables (e.g. beginning at 370) will make it possible to do an upgrade installation of an IVI driver.
This can be accomplished using the Orca tool included in the Windows SDK.