04-17-2015 12:57 PM
I want my installer to install the executable in C:\ProductA\SystemTest\Program1
I also want have C:\ProductA\SystemTest\CsvFiles created and have the csv files included.
Is this possible?
How would I go about doing this?
Solved! Go to Solution.
04-17-2015 01:09 PM - edited 04-17-2015 01:10 PM
I strognly recommend to use common windows convetion and install into the "c:\program files\" hierarchy. The root folder should be offlimits.
Yes, you can include anything you want. (e.g. I include html documentation). What have you tried?
04-17-2015 01:25 PM
I don't see the ability to include anything I want.
04-17-2015 01:33 PM - edited 04-17-2015 01:34 PM
Make sure the CsvFiles folder is in your project. Then in the build spec for the installer, go to Source Files. You can dump your folder into whichever directory you want.
Edit: I think your folder has to be autopopulating in order to just add the folder. Otherwise you will need to add a folder in the Destinations section and add your individual files to that folder.
04-17-2015 01:34 PM - edited 04-17-2015 01:35 PM
Add the folder to the project (e.g. add...folder(snapshot))
In the installer builder, go to "destinations. and highlight the installer root folder, then create a folder using the button on the lower left. Name it.
Now go to "source files", highlight the just create folder on the right, select the contents of your new virtual folder (probably you need to expand the "my computer herarchy), and move them over using the blue arrow button.
04-17-2015 01:38 PM
I was under the mistaken belief that I can just add any folder from the hard drive, but it has to be a folder in the project even if it doesn't contain VIs.
04-17-2015 01:59 PM - edited 04-17-2015 02:10 PM
Edit:
Created Installer from scratch and error went away.
It seems that it is not possible to have the installer create empty directories.
I added two destination folders but neither of them were created.
04-17-2015 02:39 PM
04-17-2015 02:43 PM
Take a look at this sample project (LV2013). The build target folder is c:\tmp\csv_test, but it creates all additional sub-folders.
For some reason I cannot attach a zip file to the post, so just create 'files' folder as sub-folder of the project and add some files there. You can have also sub-folders in 'files'
In the destination settings you need to check the 'Preserve disk hierarchy' option.
In Always Included you need to add only the root folder of your CSV files
04-17-2015 02:51 PM - edited 04-17-2015 02:52 PM
Adding zip. Maybe it will work with a different browser
Edit:
Yes, adding a zip file with IE works, but not with Firefox