LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

createing support directorys after application builder installer runs

I need to create several supporting data directorys. I have a batch file that I know works, but when it is run as part of the installer, it does not create the directorys. I know it runs, but cant read or pause to debug.
0 Kudos
Message 1 of 6
(2,658 Views)
You should be able to pause the batch file, just search for the usage of batch file on the net.

Instead of using batch file, you can also create a secondary labview program and built it into exe (no installer is neccessary) and start it at the end of the main installation.

-Joe
0 Kudos
Message 2 of 6
(2,658 Views)
batch file run by itself works including the pause. When run as part of the install script it does not create directorys or pause. so I can not see what happened.
0 Kudos
Message 3 of 6
(2,658 Views)
It is possible that the labview installer does not work with batch file (I think I read it somewhere).

-Joe
0 Kudos
Message 4 of 6
(2,658 Views)
There are several online documents discussing this issue. Goto Advanced Search and search for labview installer batch .
0 Kudos
Message 5 of 6
(2,658 Views)
Scott Campbell wrote:
> I need to create several supporting data directorys. I have a batch
> file that I know works, but when it is run as part of the installer,
> it does not create the directorys. I know it runs, but cant read or
> pause to debug.

Another somewhat different approach is to add code to your application
to create the supporting directories on startup if they are not present.
Doesn't add much of complexity to your application at all but avoids
any hassle you might have with at install time.
I usually prefer this method as I have full control over when and what
gets created.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 6 of 6
(2,658 Views)