From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-05-2017 09:36 AM
Hi,
I have made a VI that uses NI-VISA communication, and initially had a problem getting the ports to display on the .exe files I was building directly from the VI (Build Application (EXE) from VI), so I built an installer including the NI-VISA Run-time engine to run on the target computer. The directory in the installer said the VI should have been installed in C:Program Files(x86)>Dial_Gauge_VI, but when I go to this location, there is nothing inside of the folder that was created. I tried to run the setup again, but it said it was not adding or removing any additional pieces, so it didn't do anything. I've never used the installer builder before, so it is very likely that I set it up incorrectly somehow. Is anyone more trained on this who could help?
Thanks!
Solved! Go to Solution.
01-05-2017 09:39 AM
It is usually a two step build process.
1. Build the executable.
2. Build the installer that includes the executable and any other installers you need (like VISA).
Did you include the exectuable from #1 in the the installer for #2?
01-05-2017 09:45 AM
I have built the executable, but I'm unaware of how to include it in the installer.
I would think it should be here, but the .exe is grayed out and I can't select it.
01-05-2017 10:24 AM
If you click on Dial_Gauge_VI3 above the highlighted area in your picture the Blue arrow between teh 'Project Files View' and 'Destination View' will be enabled. Click this blue arrow to add it to the installer
Ken
01-05-2017 10:26 AM
Duh. Thanks, that worked!
01-05-2017 10:35 AM
I think once you buld the .exe, you have to add that file to the project tree.
Perhaps it was there at one time, and showed up in the installer's properties, but is now no longer in the project which is why it is not currently selectable.
In one of my project trees, I have a folder called "Build Files". Under it I have the exe added as well as a couple of ini files that I want to be sure get installed with the app. When I expand "My Computer" on that dialog box, I can see the Build Files folder, then the executable under that.
My drop down under Build Specs looks just like yours with those items grayed out. I'm not sure why those things show up there if you can't select them. It is kind of confusing.