LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

PORTABLE SOFTWARE

Hi,

I need to create a portable software (requires no installation) obtaining only a .exe file.

Can someone help me to create it? I'm going crazy 😄

 

(sorry for my bad english) thanks.

0 Kudos
Message 1 of 7
(4,233 Views)

At present, CVI supports the Microsoft Windows Installer (.msi) distribution type only. You may also have a look here

0 Kudos
Message 2 of 7
(4,231 Views)

Hello wolfgang,

 

I NEED not want to run my CVI application on a USB stick.  

 

I plan to create a folder CVI

 

place my exe file in there

place my UIR file in there

and the CVI run time file in there what else do i need?

 

 

 

0 Kudos
Message 3 of 7
(4,176 Views)

Hi OldVaxGuy,

 

I thought to remember that there are also additional resource files such as msgrte.txt and cvirte.rsc plus some font files, and of course any driver you might need. And any libraries you might use such as the Advanced Analysis Library...

 

0 Kudos
Message 4 of 7
(4,170 Views)

I've gotten something like that to kind of work.  You can create your application, create an installer for it, making sure to check the option to install the CVI runtime engine in the application directory.  Create the installer, install it on any computer, and then you can copy the whole application directory in Program Files to a memory stick and the application will run on another computer.  This will only work though if your application does not depend on other libraries like IMAQ, VISA, etc.

0 Kudos
Message 5 of 7
(4,153 Views)

Hi Todd,

 

I thought of something like that - but I would be afraid that some settings might be missed. Doesn't the installer write some registry keys, what about environment variables such as cvidir...? And do you remember the discussions about mfc90.dll files here which might be present on one PC but not on another...?

0 Kudos
Message 6 of 7
(4,150 Views)

It did kind of work for me once.  Now that I remember it, I think that was with CVI 8.5 when things were a bit simplier.  I think that having the CVI runtime engine in the application directory may not depend on those environment variables as much, otherwise that option wouldn't work right if there was a different version of the CVI runtime in the System32 directory versus the application directory (bugs in CVI 2010 not withstanding).

 

You're absolutely right about the Microsoft Visual runtime files.  I kind of take it for granted those are present because most people have them one way or another, but that's not something that can be counted on.

0 Kudos
Message 7 of 7
(4,147 Views)