LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"Build Application/settings/Advanced/Run after installation" is not working LV70

Hi !
 
Look at thread
 
Seems like "Run executable after installation" is not workin at all (LV70, W2K).
I' been try all,
- run directly *.BAT file
- i great exe file what' s runn *.BAT file.
 
If i run directly "CmdPrompt3.exe" (attachment , source) it's working but not
with when i run "setup.exe" ?
What is wrong ?
 
What means "wait until done" ?
 
BR
-HeVi-
 
0 Kudos
Message 1 of 5
(2,873 Views)
Hi HeVi,

I'm not sure that I completely understand what your issue is. Are you trying to launch a BAT-file after the installation of an application? In that case, I will recommend you to refer to the following KnowledgeBase:

Running a Batch File Automatically After an Installation to Access Installed Files

If the methods in this KB doesn't work, please let me know.

Have fun!

PS: I wish it was only 25 degrees celsius here - it's currently around the 40 degrees celsius in Austin...

Message Edited by Philip C. on 07-08-2005 02:42 AM

- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 2 of 5
(2,860 Views)

Yes, i'am try run BAT file after installation.

Attachment is my BAT file. It's quite simple("md C:\Temp\RfMeasResults, copy C:\Progra~1\RF_Mea~1\data\Data_Cable__05_05_2005.txt C:\Temp\RfMeasResults") only a couble command,
but nothing happens, it's not greating folder and not do nothing, not even error ?

I think I dont need any arguments be cause i just try run BAT file. so KB article looks like it's not help me in this case. And i'v been trying to give hole path name to executable, but no......

Any more ideas ?

-HeVi-

 

0 Kudos
Message 3 of 5
(2,849 Views)
Hi HeVi,

I tried to run your example after renaming it to "example.bat". You are right that it doesn't work as it is now. What I had to do to make it work, was to put quotation marks around the paths in the file. Then the BAT-file was able to create the new directory and copy the file to it.

You might want to make sure not to use the "~" chacacter in the path, but instead specify the complete path.

Let me know if that will fix it, thanks.

Have fun!
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 4 of 5
(2,836 Views)
Hi !
 
I was summer vacation, and after that still this problem exist ?
And i think problem is not in example.bat (or whatever *.bat file), in my case when
i run bat file itself (run alone) it's work's fine, with or without quotation marks.
 
Can u send me printscr jpg from LabView Advansed Istaller setup screen,
look attachment. Is it right ?
(instead of "example.bat" file i use in this case a "GreatFolderCopyFile.BAT" file)
 
-HeVi-
 
 
0 Kudos
Message 5 of 5
(2,810 Views)