views:

56

answers:

1

Hi,

Im am currently coding an application for auto updating ccleaner. Everything worked well until I enabled UAC.. I am using this project: http://www.codeproject.com/KB/cs/tsnewlib.aspx to schedule the updating process, but when uac is enabled I get every time a message if I would let ccleaner installer make changes to my computer. The auto updating process must be done silently without bugging the user with prompts of uac.

When i manually check the "run with highest priviliges" box in task scheduler it does run without a prompt. But I can't seem to do this programmatically. Or I havent found it yet.

P.s. Sorry for the bad english

A: 

ah found it! http://taskscheduler.codeplex.com/wikipage?title=Examples&referringTitle=Home#simple

The "runlevel" of that wrapper helped me out!

I must recode some code but it is woth it

Jelle