View Single Post
  #58 (permalink)  
Old February 20th 10, 07:40 AM posted to microsoft.public.windows.vista.administration_accounts_passwords
bkrajendra
external usenet poster
 
Posts: 2
Default Full Control to Users programmatically


I think there is an alternate solution to all these problems....
Make an two level application.
1) Launcher which will launch another Main App using code such as (VB)

Code:
--------------------


Call ShellExecute(hwnd, "runas", App.Path & "\MainApp.exe", 0, 0, vbNormalFocus)


--------------------


2) Main App, which is writing to protected areas, ie Program Files
folder

I've successfully tried this with windows 7

I'm also developing an app which has online update feature. But it
doesn't work in Vista/W7..

I agree with other peoples about Microsoft Policies and Standard
Practices.

But my Question is
1) How to apply update to an existing application, which probably
always remain in Program Files folder.
2) There might be some way to do this, otherwise how goolge updater,
antivirus updater or any software updater workes?

I need answer to my questions.....

Prof. Rajendra Khope
(MIT, Pune, India)


--
bkrajendra
Posted via http://www.vistaheads.com