/build/static/layout/Breadcrumb_cap_w.png

OSD Scripting Event = "STREAM"

Hi everyone,

Trying to get clarification on this as all the material I have on OSD scripting is leaving me a little fuzzy on this point. We have an OSD file that runs a .vbs script with this as the header:


<SCRIPT EVENT="STREAM" TIMING="PRE" PROTECT="FALSE" WAIT="FALSE" TIMEOUT="30">

We were hoping that this would only run when the software is 'streamed' not everytime it was launched but from what we have found during testing is that the .vbs runs everytime the application in launched. If that is true then it seems to me that my header above is no different that having EVENT='LAUNCH' TIMING="PRE"...

Did we do something wrong or was our understanding just wrong?

Thanks!

0 Comments   [ + ] Show comments

Answers (3)

Posted by: bertman 13 years ago
Senior Yellow Belt
0
The location of the script has to be between <DEPENDENCY> </DEPENDENCY>.

I don't know where the VBS is, but when this script is also in the sequence, you need te use TIMING="POST" (after streaming).
And maybe you can try PROTECT="TRUE" (so he will stay in the bubble).

Normally I use a CMD.EXE instead of the VBS, to test if I can start and access the script.
Posted by: DannyC 13 years ago
Orange Belt
0
The EVENT tag dictates when the script runs but doesn't have any logic to say that it only runs once or only at FIRST stream. The only practical difference between EVENT="LAUNCH" TIMING="PRE" and EVENT="STREAM" TIMING="PRE" is that you could use the latter to test for some condition on the client to determine whether you even want to bother streaming the app or not. Once it's streamed then there's not a lot of difference really.

I'd suggest that you include some sort of 'flag' condition in your script (create/check for a log file for example) which could be used to make sure it only does whatever it is it needs to do once.
Posted by: kkaminsk 13 years ago
9th Degree Black Belt
0
As a FYI you might want to check out this PDF and read pages 23-24.

http://www.google.ca/search?q=app-v+abortresult+and+successresult&sourceid=ie7&rls=com.microsoft:en-ca:IE-SearchBox&ie=&oe=&redir_esc=&ei=KbibTNvgD83wngfO_vD4Dg

Also more specifically read this document for some abortresult and successresult examples on page 42.

http://download.microsoft.com/download/F/7/8/F784A197-73BE-48FF-83DA-4102C05A6D44/App-46_Sequencing_Guide_Final.docx
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

Share

 
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