SoftGrid PRE LAUNCH script HREF
Hello
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.
<SCRIPT TIMING="PRE" EVENT="LAUNCH" WAIT="TRUE" PROTECT="TRUE">
<HREF>wscript.exe \\%SFT_SOFTGRIDSERVER%\Example.vbs PRE_LAUNCH</HREF>
</SCRIPT>
</DEPENDENCY>
Thanks
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.
<SCRIPT TIMING="PRE" EVENT="LAUNCH" WAIT="TRUE" PROTECT="TRUE">
<HREF>wscript.exe \\%SFT_SOFTGRIDSERVER%\Example.vbs PRE_LAUNCH</HREF>
</SCRIPT>
</DEPENDENCY>
Thanks
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
kkaminsk
16 years ago
Posted by:
kkaminsk
16 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.