Hi,
I am trying to build an installation that includes the NI graphing components. I have added the following merge modules to my InstallShield project:
Microsoft C Runtime 6.0
NI Installer Utilities
Base components for running Measurement Studio
NIMesaDLL
Measurement Studio User Interface Common Classes
Measurement Studio User Interface Winforms Classes
When my project is built, these modules are combined into a single stub .msi file, which is then added to the main installation cab file.
However, the installation does not work, and none of the merge modules are installed. Experimentation has shown that in order for the National Instruments components to be installed correctly, the "Upgrade Code" field needs to contain a value (any valid GUID seems to work.)
I can add a value to this field manually, but that doesn't do any good (as by the time I can edit the msi stub file, the installation has already been built.)
Has anyone here got a workaround for this problem?
Why does NI require that the "Upgrade Code" is entered?
I have seen a similar problem posted in the labview forums, but the msm files posted are the same as the ones I already have.
Here is a short extract from the log for the installation:
NIMUPersistPartRegInfo: Version=1.2.1.122
NIMUPersistPartRegInfo: Build date=7/8/2004 10:59:35 PM
NIMUPersistPartRegInfo: Starting action...
GetNIMUComponentFeature: Entering subroutine...
GetNIMUComponentFeature: Created Faux ComponentId {DF75507B-6087-4AA9-9D3E-889293EC0053}
GetNIMUComponentFeature: Created feature "NIMUFeature" for component to go under.
GetNIMUComponentFeature: Leaving subroutine.
NIMURegPartInfo: Starting action...
NIMURegPartInfo: About to get properties
UpgradeCodeError - (null) must have a value - exiting.
thanks,
Chris Williamson