11-26-2009 04:44 AM
Solved! Go to Solution.
11-26-2009 07:21 AM - edited 11-26-2009 07:23 AM
Hi George
You do this in the Source Files part of the Installer Creation. You simply mark the file in the project you want to move to a folder on the left and then the folder on the right and klick the arrow in the middle. The folders on the right will correspond to certain preset directories on the target system. You can also create addition folders by klicking the New Folder button at the buttom. I think were you are going wrong it that you try to move files that are included in the exe instead of moving the files from the project. Please see this picture:
Best Regards
David
NISW
11-26-2009 07:47 AM
Thank You David,
I think you are right. I'd just realised that the problem might lie in the exe creation stage, so i'm revisiting that with a view to separating the files there. I seem to need to go right back to the project file layout to do this and then create the exe it seems. Then it should be possible to do what you say in your reply. At least there's a light at the end of the tunnel now!
Regards
George
11-26-2009 07:58 AM
Hi George
Glad to help. You need to create and build an exe first if you want to have a standalone installer. If you just pick a VI in the installer instead of the exe you will just install a VI, which will not run without the development enviroment.
The files included in the exe can be moved into seperate folders as long as they are included explicitly in the project. Files in the project will be visible under "My Computer" in the window on the left. "My Computer" is not "open" per default, you need to klick the + sign in front of it.
Best Regards
David
11-26-2009 08:23 AM
David, Getting there... I now have a group of folders in the project which are not included in the exe. So the layout is akin to the one in the screenshot you sent. The problem is that I still don't understand the square bracketed directories on the right side in the Destination View window. I wish to put a group of files in an absolute location of, say C:\Binaries. Firstly is this possible? Secondly how is it possible? What exactly is, say [WindowsVolume]? Is it the root directory of the volume on which windows resides? If it is would using the arrow to place my Project Binaries folder under [WindowsVolume] result in the files ending up in C:\Binaries?
Sorry to drag this out but there doesn't seem to be much other help available on this. Or is there a document describing these bracketed directory names?
George
11-26-2009 08:52 AM
Hi George
This is from the LV help:
You can find a full list of the MSI properties here. Scroll down to "System Folder Properties"
Best Regards
David
11-26-2009 10:43 AM
david,
thanks once again. The problem is solved! I had read the help and tried to make it put \Binaries under C:. It helps if you run the installer not just the installer creator! It was a "can't see the wood for the trees" situation at the last step. It has been a long day!
Best Regards
George