Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I use ms components in a computer without the setup of ms?

I writed a program with the use of the ms components in computer which set up the ms, but now when i generate the exe , and i want to use it in a computer without the ms , how could i do ?? thanks !
0 Kudos
Message 1 of 6
(3,915 Views)
Hi,

If you trying to deploy your working application onto another computer that doesn't have measurement studio then you need to create a distribution kit.

If you're still using Visual C++ 6.0, I would recommend using Visual Studio Installer 1.1. It's a free update for registered Visual Studio 6.0 users and is very easy to use. If you're using Visual C++ .NET, you can use a Visual Studio .NET Setup Project, when you can find under File->New->Project, then select Setup and Deployment Projects under the New Project dialog, then select Setup Project. The installer would automatically add all the activeX controls and dll's required by your application.

I hope this helps.

Sijink
National Instruments.

Message Edited by SijinK on 06-20-2005 03:22 PM

Message Edited by SijinK on 06-20-2005 03:24 PM

0 Kudos
Message 2 of 6
(3,911 Views)
Hi SijinK,
Iam also facing similar problem.

When I try to run my CAN application on a system on which NI-CAN s/w is not installed. It gives the error
"Application failed to initialize properly (0xc0000142)" [error message is attached]. I included all the NI-CAN DLL's[list got using the Depends utility] under my application setup [built using InstallShield V10.0]. It copies the DLL's to the C:\winnt\system32 directory.

Am I missing any step like registering the DLL's, etc.

Can you/anyone please help ...

Thanks in advance

Vinayak
0 Kudos
Message 3 of 6
(3,895 Views)
Hi SijinK,
Iam also facing similar problem.

When I try to run my CAN application on a system on which NI-CAN s/w is not installed. It gives the error
"Application failed to initialize properly (0xc0000142)" [error message is attached]. I included all the NI-CAN DLL's[list got using the Depends utility] under my application setup [built using InstallShield V10.0]. It copies the DLL's to the C:\winnt\system32 directory.

Am I missing any step like registering the DLL's, etc.

Can you/anyone please help ...

Thanks in advance

Vinayak
0 Kudos
Message 4 of 6
(3,893 Views)
Dear Sijink


I set up the vs intaller1.1, but How can i find the .dll files?? If i want to use the .exe files in another computer, i should contain the dll file, right>? Now , i want to know how can i get the correct dll file and where can i find it!?

thanks a lot
0 Kudos
Message 5 of 6
(3,874 Views)
Hi,

You are correct, based on the measurement studio feature you have in your application, you need to add the appropriate merge module to the installer. I am attaching the Measurement Studio help file along with this post. This help file is installed with Measurement Studio. Under Visual C++, there is a section called Measurement Studio Distribution. This section is an excellent place to reference to see what all merge modules you have to add. Also ensure that you cannot add device driver merge modules to the installer. All device drivers like NI-DAQmx and GPIB should be a separate installer by itself.

I hope this helps

SijinK
National Instruments.
0 Kudos
Message 6 of 6
(3,849 Views)