LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error while installing runtime with merge modules

Hello,

We are creating a custom installer for our application, and so considered using the merge modules provided by NI.
All the dependencies are OK, and the .msi (which contains only the merge modules, since the global installer is created by NSIS) is created by WiX.
The error occurs at installation of the msi, the log file says :

(...)
NIMURegPartInfo: Starting action...
NIMURegPartInfo: About to get properties
UpgradeCodeError - (null) must have a value - exiting.
(...)

Looking at the msi file in Orca, I can see that the table "UpgradeCode" is empty, so I suppose that this why I get the error.
How do I fill this table?

Thanks a lot

Charles Brossollet

0 Kudos
Message 1 of 4
(4,770 Views)
0 Kudos
Message 2 of 4
(4,742 Views)
Hello,
 
This is an issue with how Wix and InstallShield generate MSIs that we had not run into in the past.  They basically do not generate the tables inside the MSI if they are not used.  Therefore, we are querying MSI for information from the Upgrade table and there is not one, so MSI returns a fatal error.
 
There are 2 workarounds. I would suggest the first.
 
1. Generate a Upgrade table entry and have your MSI installer be upgradable.
2. Open your MSI and comment out the entry in the InstallExecute sequence table for NIMUPersistPartRegInfo (commenting out in MSI means to set the Condition to 0).
 
If you have questions about using the upgrade table  go here:
 
Regards,
Jeff
NI
0 Kudos
Message 3 of 4
(4,710 Views)
Hi,

I've recently tried to check this fix. However, I couldn't reproduce the original problem. It appears Macrovision has fixed the missing upgrade code problem in InstallShield 10.5

Thanks,

Chris Williamson
0 Kudos
Message 4 of 4
(4,666 Views)