SoftGrid PRE LAUNCH script HREF


I have a PRE-LAUNCH script which calls a vbs file located on the content share. But an error pops up when the machine has been disconnected from the network 'unable to load script...'. Although this error does not pop up when you put the SoftGrid client in "Work Offline" mode.

I don't want to use DOS commands to check the UNC path exists or copy the vbs locally because I don't want the DOS prompt popping up every launch, and it's possible the vbs will change on a regular basis.

Is there a work around to this error when a machine has been taken off the network? I was thinking of just using wscript.exe /B to suppress error output.

<HREF>wscript.exe \\%SFT_SOFTGRIDSERVER%\Example.vbs PRE_LAUNCH</HREF>


0 Comments   [ + ] Show comments

Answers (3)

Posted by: kkaminsk 13 years ago
9th Degree Black Belt
Off the top of my head I don't think you can. How are you calling the scripts? Using <SCRIPTBODY> or <HREF>.
Posted by: supergrid 13 years ago
Yellow Belt
Using <HREF>
Posted by: kkaminsk 13 years ago
9th Degree Black Belt
Yeah it looks like you are stuck with the DOS box because the <SCRIPTBODY> method doesn't take care of that either.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


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