Wednesday, March 9, 2011

Set Registry Keys in the App-V 4.6 environment during launch

This is particularly useful if you need to have keys set in areas of the registry that are supplied primarily by a secondary, application in a Dynamic Suite Composition (DSC).  A primary application is unable to apply keys via the virtual registry in this case and adding the keys at launch can solve this.  An example would be an Oracle application requiring certain keys applied to Oracle Client registry locations.

These fields go between the VIRTUALENV tags.

REGISTRY  >
REGKEY HIVE="HKLM" KEY="SOFTWARE\Test"      NOREDIR="FALSE"   >


Good idea to use a tool to edit the OSD so that the XML formating is correct.

An OSD editor and other tools can be obtained from http://www.loginconsultants.com