[wpkg-users] Windows7 UAC - Registry-Key for Current User

Stefan Pendl stefan.pendl.71 at gmail.com
Mon Feb 6 08:52:15 CET 2012

Am 05.02.2012 01:32, schrieb Peter Beck:
> Hi guys,
> I'm using a package which deploys some company-braning (backgrounds
> etc). For setting the users background I am using Active-Setup which
> works flawlessy on XP but on Win7 I get an UAC dialog asking to import
> the registry-key. This key is for me to check if the settings for the
> current user are already applied.
> <install cmd='%COMSPEC% /C reg add "HKCU\Software\foo" /f /v "Settings"
> /d "%version%" /t REG_SZ' />
> Is there any way to suppress the UAC message without completely
> disabling it ?
> Thanks
> Peter

If you use the SYSTEM user to run WPKG, you won't get the UAC elevation 
of rights dialog.

Stefan P.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

More information about the wpkg-users mailing list