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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 06/15/2010 by: Rheuvel
Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity