ggirten
(Fresh Scripter)
2006-12-05 10:39 PM
How to check for Dword existance

I want to run a cmd that will put a hold on IE7 auto install. The command works fine, but I want to check for the existance of the dword so it is not ran everytime the user logs on. The registry entry is

HKLM\SOFTWARE\Microsoft\Internet Explorer\Setup\7.0\

DWORD =DoNotAllowIE70

Thanks for any assistance


Les
(KiX Master)
2006-12-05 10:46 PM
Re: How to check for Dword existance

See ReadValue() in the manual.

ggirten
(Fresh Scripter)
2006-12-05 10:57 PM
Re: How to check for Dword existance

Thanks, that pointed me in the right direction. I have it working now.

NTDOCAdministrator
(KiX Master)
2006-12-06 05:11 AM
Re: How to check for Dword existance

Comparing it is "probably" micro seconds slower than just writing it again but good to know how to check it.