LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

run executable after installation .bat file not working in LV8.5

This is my setup:
Windows 2000
LabVIEW 8.5 Full Development System +Application Builder

This is the problem...
1. Start a new project, add one vi to it and one batch file (test.bat).
2. Create an Application build specification using the one vi as startup and the .bat file as always included source file.
3. Build the application
4. Create an Installer build specification adding the executable (and all it's associated files) compiled in step 2.
5. In the 'Advanced' category check the 'Run executable after installation' checkbox and select the .bat file to be executed, click OK.
6. Click OK on the Installer build specification window to close it.
7. Reopen the Installer build specification and navigate back to the 'Advanced' category.

The 'Run executable after installation' checkbox is unchecked and the field is blank!!!
If this Installer is built, the batch file does not run. (of course it doesn't... LabVIEW unchecked the box!)

Have I missed something? Does this work for anyone else? Is there a bug with my setup or is there a bug in LabVIEW 8.5 Application Builder.

It worked in 8.2.1. Then some crazy stuff started happening when I ran installers made in 8.5 with projects whose installers were initially defined in 8.2.1.
For some reason these projects retain the 'run executable after installation' setting, but they smeg up the execution!
After the install completes, it tries to run something, but just throws up a bunch of error prompts stating that folders don't exist.
It also runs other accessory exes that I included in the distribution.

There are other problems with the application builder but I think this post is long enough.

Does anyone have any suggestions?
Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 1 of 4
(3,053 Views)

Hi Troy,

This is a known bug in LabVIEW 8.5 Application builder that has been fixed in LabVIEW 8.5.1. I have tried out the example in LabVIEW 8.5 and I can reproduce exactly what you are seeing. I also tried it on LabVIEW 8.5.1 and it works fine. Here is a list of the known bug fixes in LabVIEW 8.5.1. I hope this helps!

Carla

National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(3,028 Views)
Thanks Carla. I'm glad to know the bug has been found and fixed.

The only problem is that I can't download the LabVIEW 8.5.1 patch.

My access to the 'Services Resource Center' has never worked for some reason even though I have a current SSP.
Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 3 of 4
(3,020 Views)

Hi Troy,

I would suggest that you call in or contact your Technical representative in order to get that fixed. Have a great day!

Carla

National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(2,995 Views)