03-08-2013 09:39 AM
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.
03-08-2013 09:47 AM - edited 03-08-2013 09:49 AM
At present, CVI supports the Microsoft Windows Installer (.msi) distribution type only. You may also have a look here
03-11-2013 01:26 PM
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?
03-11-2013 01:40 PM - edited 03-11-2013 01:43 PM
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...
03-12-2013 07:56 AM
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.
03-12-2013 08:10 AM
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...?
03-12-2013 08:25 AM
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.