PDA

View Full Version : Read Registry and Quit DemoShield



hongweijia
03-21-2002, 07:40 PM
I am a new user of DemoShield. I wonder if DemoShield could quit at the beginning as soon as it catch a value from registry. for example, Let's say a flag has been set in registry, could demoshield stop running autorun when detecting this flag?

Thanks for help!

KimberlyH
03-25-2002, 03:33 PM
Unfortunately, DemoShield does not have the ability to quit the autorun based on a registry key value. However, you can set up an Event Object in your demo to check the value of a Registry Key. Based on the returned value you can either have the demo continue or quit.

For more information on how to do this, please refer to Knowledge Base article:

Q105465 - HOWTO: Reading a Registry Entry on the User's System Through Your DemoShield Demo

I hope this helps.