04-06-2011 09:27 AM
In LV2010 I want my installer to use the executable file and not the individual VIs in the project. Am I missing a setting in the installer build here? Please explain. See the attached pics.
Proj 1 is a LV2009 build that uses the exe for the installer build.
Proj 2 is a LV2010 build that uses LV VIs for the installer build.
It appears I'm unable to force my LV2010 project to use the exe as its source file instead of the many individual VI's from the LV2010 proj. Is there a setting in the project I'm missing?
04-06-2011 01:04 PM
Take a look at the pics above, under "Project Files View" one Build Specification gives me the executable (no sub-VIs etc), the other Build Spec give me the exe with a long list of subVI from the project.
LV2010 build Installer appears to include all VIs (redundant files) along with the exe built from the same files. LV2009 did not work this way.
04-06-2011 02:01 PM
But according to this post, you also did a source distribution. Did you place this in the build folder or when you selected the folder for the exe, did you choose the folder with your source?
04-06-2011 02:44 PM
I was inquiring about the source distro and executable build. Never built a distro though.
See the attached pic of my executable Preview window, The build shows the exe (no subVIs) and config files. I don't know why the Installer includes all of the subVI when I build it for this LV2010 project. LV2009, again, didn't do this.
04-06-2011 09:19 PM
Sorry, I can not reproduce the problom. I just created an installer and it only showed the exe. Have you looked in the build folder with windows explorer to see if it actually contains the VIs.
04-07-2011 08:10 AM
Thx for the response, I compared my projects further and discovered I built the Exe for each project different. Each project has subprojects that I set Destination (Source File Destination tab) to the Exe file in one build and the other build I set the Destination to a folder named after the subproject.
When the Installer is built for the latter case (i.e. subproject outside the Exe in a folder), the Exe and individual subproj VIs are shown in Source File View of the Installer. I would think the Installer, Source Files tab, Project Files View to show the Exe and subproject in there respective folder destination, the installer doesn't keep the subproject folder layout, instead it dumps all subproject files into the Exe destination folder, although Destinations Tab is set for a folder not inside the Exe.
So I'll set the Destination of my subproject for the Exe and not a seperate folder.