Installing applications/registering dlls on vista
I have various applications developed before in vb6. These application are distributed to various clients and managed automatically ( registration and unregistration process) with a help of a standalone application, application manager,installed on the clients machines. Some of my clients have moved to vista and having problems with theapplication managerregistering dlls on their machines. They have to turn UAC off and use the manager to register dlls. I want to modify the application manager so that it checks whether UAC is turned on or off for vista and if UAC is on asks the user to switch it off before registering dlls. I could get the operating system information but do not know how to access UAC status information. Can you please tell how to check whether UAC is turn on or off programmatically? Or Can you tell how register dll programmatically in vb6 when UAC is on. Thanks in advance. GIS.NET
March 5th, 2009 8:19pm

Hi,I have a script in my blog which enables/disables UAC based on the user input. You can use the registry checking routine in the script to suit your needs:http://badzmanaois.blogspot.com/2008/10/how-to-disable-user-account-control-in.htmlBasically, you need to query the HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA registry DWORD value. If the value is set to "Disabled", then UAC is switched off.Regards,Salvador Manaois IIIMCITP | Enterprise & Server AdminMCSE MCSA MCTS CIWA C|EHBytes & Badz: http://badzmanaois.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
March 6th, 2009 9:10am

Thanks.GIS.NET
March 7th, 2009 12:32am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics