LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Install more than one exe into one folder or into some subfolders of the same folder

Solved!
Go to solution

Hi!
I want to do at least one of the following:

1. I want to install several exes (built with LV app builder) into one directory because they belong together.
2. Make several subfolders under the same top level folder aand install exes into each of them.

The (top level) folder should be the "company" folder. The subfolders are for the applications.
For example:
c:\company\app1\app1.exe
c:\company\app1\app1setup.exe
c:\company\app2\app2.exe
etc.
This may also reside under the "program files" folder.

If i try to do so, i encounter some problems setting up the build specifications. If i have more than one build spec. for exes i cannot add them to the same folder. At least if they contain the same external files, e.g. dlls.
If i try to make one installer per exe, i get an error message telling me that the same folder (my "top level folder") already exists in the registry and cannot be added a second time. This is also true if i try to make a new project instead of having several installer build specs in one project.

I use Labview 2009 (engl.) under Windows Vista (german).


If anyone has some help for me or encounters similar problems please let me know.

Holger

Message Edited by HolgerD on 09-26-2009 10:13 AM
0 Kudos
Message 1 of 3
(3,541 Views)

Hi Holger,


the build directories should be different for each build, but you can copy the executables into one folder manually (tested successfully in WinXP). For multiple installers, put each installer build in a separate directory, and install all to the same program files subfolder. Works with XP (tested!), so this must be a Vista issue...

Please build the four specs in attached project and run both installers to the same directory - should be working...

Best regards,
Sebastian

0 Kudos
Message 2 of 3
(3,486 Views)
Solution
Accepted by topic author HolgerD

Ok,

for the records: I found out what the problem (and the solution) was.

My both apps needed the same external DLL. While this should be no problem it caused me and the new installer/app builder some headaches. The new app builder seems to build its internal paths in the registry. If you select more than one "exe" build target, it gets into trouble if more than one uses a "data" subdir  with the same DLL and every subdir uses the sugested "data" name. 

The solution is easy: Just give every "exe" build target a different "data" subdir like data1, data2 etc and the problems go away.


Holger

0 Kudos
Message 3 of 3
(3,314 Views)