/build/static/layout/Breadcrumb_cap_w.png

OSD Scripting

I want to call a script in the OSD file that will read a registry key on the PC for a database then get server and port information for a particular application and put that information into an ini file and registry keys in the virtual package. How would you set the Protect parameter, as the script does both scenarios?

Thanks for your advice.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: Rheuvel 14 years ago
Brown Belt
0
Hi,

Protect=True runs the script within the virtual environment. That's what you'll need to place the information inside your virtual app/bubble. (And it will, of course, be able to read outside of the virtual environment.)

Just make sure the data is not read from a path that is also resolved/redirected by your virtual environment. Like C:\Program Files\<appname> for example. That might get redirected to %CSIDL_PROGRAMFILES%\<appname>, which will result in the script not being able to locate the information.

A network share should be a safe place.
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