/build/static/layout/Breadcrumb_cap_w.png

Problems calling a wsf

Hi, I need some help please. I have a script to install Oracle files. The process is pretty straight forward in that there is a file copy, then I am calling a wsf then finally calling another executable.
The problem is that when I call the wsf I do not get the same results as when I manually launch the wsf - basically the installation fails and then moves on to the exe launch which cannot install as it requires files installed in the wsf.
I do not have the source for the final exe so this cannot be modified.
I am launching the wsf by using cscript.exe followed by the path to the script.

Does anyone have any suggestions on where I am going wrong here?

Many thanks for all your help with this
Le Gran Fromage

0 Comments   [ + ] Show comments

Answers (3)

Posted by: TheBigCheese 18 years ago
Senior Yellow Belt
0
Sorry, I should also mention that I am using Wise Installer v9.0
Posted by: MSIPackager 18 years ago
3rd Degree Black Belt
0
Are you sure your .wsf script has finished running before you are moving on to run .exe file?

If you running all this from a .cmd file you should be able to use the start /wait command to run your cscript entry...
Posted by: rikx2 18 years ago
Purple Belt
0
or maybe a wsf call even before the file copy is finnished.. how are you timing the file copying and the calling of the wsf? is the wsf dependent on the files being copied?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ