LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application builder not functioning properly...

I have chosen to execute a batch file after the installation of my vi is complete. The advanced options say that you can enter %dest as a command line option, and the install destination path will be passed as an argument to the executable/batch file.

Well, I tried this, and the only argument passed into my batch file is exactly "%dest", not the path. The installer is not recognizing and replacing that code with the proper information.

Has anyone else run into this?
Let me know.
Thanks,
Erik
0 Kudos
Message 1 of 4
(3,235 Views)
I ran into this when I upgraded to 6.1

Check out this link:
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/86256a47004e16d186256b0a005e4327?OpenDocument
Message 2 of 4
(3,235 Views)
I tried what that link said, and I ran into another problem. If I enter [NIMSIDISTKIT_INSTALLDIR] as a command line argument, the install works but my batch file doesn't process the path correctly due to spaces in the path.

If I then try to put "[NIMSIDISTKIT_INSTALLDIR]" as an argument, the install fails when it runs the batch file. It says 'Internal Error 2744. NI_CA_EXE...'

I may have to try and find a way to deal with the spaces in my batch file...

Thanks,
Erik
0 Kudos
Message 3 of 4
(3,235 Views)
Did you figure out how to fix this yet? I ran into the same problem by using those "[...]". I got internal error 1722 instead.

Thanks.
Benha
0 Kudos
Message 4 of 4
(3,235 Views)