From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Urget help needed! Problems with the NI files for distribution so my product cannot be deployed

Hi,

I am struggling for many days with a deployment issue related to NI Measurement Studio 2008 Enterprise edition.  Any help will be greatly appreciated.

I am using Visual Studio 2013 and have made a project that call a dll that contains NI Measurement Studio analysis components.  The project was tested fine on my development computer.  I then created a setup project via Visual Studio 2013 for this program's distribution package. The setup project itself was built successfully and can run at my deployment computer.  However, when I run this setup in a target test computer, I always got a message box contains the following info:

"NIMUPersistPartRegInfo:MSI error:1628 (<Unable to format error record.>)"

During the installation, I also got another message box on the target test computer that shown "This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Program control panel.".

Anyway, if I just copied the related files on the target deployment computer, the exe cannot run at all before any GUI can be displayed. I also got "System. InvailidOperationException" error.

If I do not use NI components, any of my programs installs and runs on the target deployment computer. So it is not OS or computer hardware issue.

By the way I tried to use Regsvr32 to register the NI dlls that I need to distribute, I got "nationalinstruments.common.dll" was loaded but the entry-point dllregisterserver was not found." error.  So did the other NI dlls.

I believe the problem must be related to missing NI file(s) and/or registry. Can someone from NI please tell me what files to distribute and what registry to be added in order to use the NI Measurement Studio 2008 enterprise analysis components in my program?

I need to distribute my product to my customers no later than the next week. I wish someone will provide the technical support on this matter ASAP

Thank you very much in advance.

0 Kudos
Message 1 of 5
(3,492 Views)

Hi z7z8,

 

Which installer technology are you using? Additionally, what language are you developing in?

 

Regards,

 

Kyle S.

Applications Engineer

National Instruments

http://www.ni.com/support

0 Kudos
Message 2 of 5
(3,448 Views)

Hi Kyle,

 

I am using the setup tool from Microsoft VS 2013.  I believe it originally was made by Installshield then licenced to Microsoft.

 

 

The programminig language is VB.Net 2013.

 

 

 

0 Kudos
Message 3 of 5
(3,440 Views)

Hi z7z8,

 

If you have access to Measurement Studio 2015, then we recommend using the Measurement Studio Installer Builder:

 

Getting Started with Measurement Studio Installer Builder

http://www.ni.com/white-paper/52669/en/

 

If you don’t have access to Measurement Studio 2015 (I know you said that you are using Measurement Studio 2008), then we recommend using the Windows Installer XML (WiX) Toolset:

 

Deploying Measurement Studio Applications with WiX

http://digital.ni.com/public.nsf/allkb/764B727C9BD2C4C686257C970053D059

 

Please try to follow the procedures as outlined in those documents as closely as possible. Are you seeing any warnings when building the installer?

 

Regards,

 

Kyle S.

Applications Engineer

National Instruments

http://www.ni.com/support

0 Kudos
Message 4 of 5
(3,431 Views)

Thank you.  I will try.wix

0 Kudos
Message 5 of 5
(3,402 Views)