Old 14th August 2017, 17:00   #1
tnteverett
Junior Member
 
Join Date: Jul 2017
Posts: 17
Run without wait

I have tried many methods but cannot seem to find an option to start a program without waiting for it to terminate. I liken this option to starting a program once installation has finished but my application is different in that I must launch multiple programs that do not terminate before the installation has completed. The commands I execute work just fine from a DOS command line but do not function the same way in any "Exec" function I have tried.
One example I am using is, after I install NetTime service, I try to run NetTime.exe which opens a window to validate the settings. This window never terminates, it just minimizes to the right side Windows task bar location.
Every attempt I have tried results in one of two outcomes.
1.) Installation hangs until I close NetTime
2.) Installation completes but the NetTime.exe program never starts.
Can anyone make a suggestion?
tnteverett is offline   Reply With Quote
Old 14th August 2017, 22:56   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,701
Neither "Exec" nor "ExecShell" waits for the child process.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump