|
#1
|
|||
|
|||
|
howto lett SF7 wait till an executed program finished with running
howto lett SF7 wait till an executed program finished with running?
|
|
#2
|
||||
|
||||
|
May I suggest you use the ADD ACTION Wizard which will explain all the parameters for you.
Quote:
John |
|
#3
|
|||
|
|||
|
i have the following code:
On Post Install: File.Run("imp", "impulse/"..strImpPassNew.."@"..strDatabaseNaam.." file="..strInstallatieDir.."\handleiding.dmp FULL=Y IGNORE=Y LOG="..strInstallatieDir.."\HelpUpdate.log", strInstallatieDir, SW_SHOWNORMAL); But while this one is running, it shows after installing screens?!? Whoops i c the fault already!! SORRY! :( Last edited by brianlesker; 09-29-2004 at 07:13 AM. |
|
#4
|
||||
|
||||
|
It will do as you have the window state set to SW_NORMAL. If you do not want it being seen in a normal window set to SW_MINIMIZE.
If you want it to run after completion of the setup completely then you need to insert the code into the ONSHUTDOWN method. John |
|
#5
|
||||
|
||||
|
Quote:
Code:
, true); Also remember that the backslash "\" needs to be escaped when used in strings. So if I wanted to specify the following file path: C:\Program Files\Setup Factory 7.0\SUF70Design.exe in a string it would have to look like this: "C:\\Program Files\\Setup Factory 7.0\\SUF70Design.exe"
__________________
MSI Factory The Next Generation Intelligent Setup Builder |
|
#6
|
||||
|
||||
|
Mark,
You expressed it better than I could re setting the last parameter to True. HOWEVER re-reading the docs, and specifically the parameter defaults, (in theory) it is set to true by default. I think this may be an error as appears it is false by default which is same as when the Wizard is used. John |
|
#7
|
||||
|
||||
|
Hi JXBURNS,
Nice catch! You are right it appears as though the help file is incorrectly lists the default as true, when it should be false. I have already made a note of it!
__________________
MSI Factory The Next Generation Intelligent Setup Builder |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Checking If a Particular Program is Running | Desmond | AutoPlay Media Studio 5.0 Examples | 0 | 10-03-2003 02:31 PM |
| Running a Program and Waiting for it to Finish | Desmond | AutoPlay Media Studio 5.0 Examples | 0 | 09-26-2003 10:26 AM |
| HOWTO: Make a Program Run Every Time the System Starts | Support | Setup Factory 6.0 Knowledge Base | 0 | 10-01-2002 10:44 AM |
| Why won't WaitForSingleObject() wait for patch to finish running? | scs0 | Visual Patch 1.0 | 1 | 01-14-2002 04:10 PM |
All times are GMT -6. The time now is 07:08 AM.








Linear Mode

