Alternate to "Pause" function?
Hello all,
I am using Wise Script to make wrappers for deployment. I am running into issues like if I were to run multiple .msi's within the wrapper, it seems like it doesn't wait for one install and jumps to the other one or the step after that. So far I have been using "Pause" function to control this behavior, but would like to know if someone has an another suggestion. If so please point me right to it.
Please accept my thanks in advance.
Best Regards,
AK
I am using Wise Script to make wrappers for deployment. I am running into issues like if I were to run multiple .msi's within the wrapper, it seems like it doesn't wait for one install and jumps to the other one or the step after that. So far I have been using "Pause" function to control this behavior, but would like to know if someone has an another suggestion. If so please point me right to it.
Please accept my thanks in advance.
Best Regards,
AK
0 Comments
[ + ] Show comments
Answers (10)
Please log in to answer
Posted by:
mahendraKumar
12 years ago
Posted by:
786_ak
12 years ago
Posted by:
kardock
12 years ago
Posted by:
786_ak
12 years ago
Well, first of all it doesn't quit. Setup is not launching any other executable file either.
Okay, let me see if I can revisit the question here a little more clearly, I might be confusing people here.
I have a wise wrapper which is running multiple command line to execute different functions. Such as, clean up the previous version clean up the previous entries from any directories it exists. Then go ahead and install the actuall .msi and then trying to do two more thing. Problem is that I have to put some "pause" time to it in order for it to actually make sure it does all that, otherwise it doesn't wait to finish for (let's say the the 3rd command) to clean the c:\Program files\ABC or run the batch file to clean that and jumps to the forth command. This is where I have to put the "Pause" in there for it to actually make sure it runs the command or run the batch file to clean that and then move to next one instead of just going to next one. Now again the question is, does wise offer any other alternative to "Pause" function?
Sorry if my question caused any confusion.
Thanks.
Okay, let me see if I can revisit the question here a little more clearly, I might be confusing people here.
I have a wise wrapper which is running multiple command line to execute different functions. Such as, clean up the previous version clean up the previous entries from any directories it exists. Then go ahead and install the actuall .msi and then trying to do two more thing. Problem is that I have to put some "pause" time to it in order for it to actually make sure it does all that, otherwise it doesn't wait to finish for (let's say the the 3rd command) to clean the c:\Program files\ABC or run the batch file to clean that and jumps to the forth command. This is where I have to put the "Pause" in there for it to actually make sure it runs the command or run the batch file to clean that and then move to next one instead of just going to next one. Now again the question is, does wise offer any other alternative to "Pause" function?
Sorry if my question caused any confusion.
Thanks.
Posted by:
anonymous_9363
12 years ago
Posted by:
icbrkr
12 years ago
Sometimes in WiseScript I've noticed the 'pause' feature causes some sort of weirdness in which all processes halt that are launched in the background instead of just the script pausing while waiting for the set amount of time to pass. To get around that, I've called up sleep.exe available from various sources. When I call up an external pause feature it seems to function properly in those cases.
Posted by:
786_ak
12 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.