VISTA UAC and Registry Editing - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

lekfir
Posts: 130
Joined: Sun Feb 15, 2009 5:26 pm

VISTA UAC and Registry Editing

Hello,
Some questions..

1. When I install driver on VISTA and UAC (User Access Control) is enabled, the driver is failed to install.
Any solution for that?

2. Sometimes, Installing a driver (filter driver) fails. (Usually when previous driver already installed). Any solution for that?

3. Is there a way to run a custom action to edit existing registry key based on its value? (Not to create a new one...)

4. Sometimes, Terminate Process fails to stop my app service. Any solution to force it? Only running a batch with TASKKILL command does the work...

Thanks!
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: VISTA UAC and Registry Editing

Hello,
1. When I install driver on VISTA and UAC (User Access Control) is enabled, the driver is failed to install.
Any solution for that?
Please make sure you followed the instructions listed here. If you did, but the problem still persists, please send us your aip project file along with an installation log to support at advancedinstaller dot com.
2. Sometimes, Installing a driver (filter driver) fails. (Usually when previous driver already installed). Any solution for that?
The previous driver must be uninstalled before a new driver is installed.[/quote]
3. Is there a way to run a custom action to edit existing registry key based on its value? (Not to create a new one...)
There is no predefined custom action that can achieve this. You can however create your own custom action that do this.
4. Sometimes, Terminate Process fails to stop my app service. Any solution to force it? Only running a batch with TASKKILL command does the work...
Depending on what process you want to terminate, your custom action may need elevated privileges, so please make sure the Terminate Process custom action is set as "Deferred with no impersonation". If this still does not work then use the "Launch file or open URL" custom action to launch taskkill with the apropriate parameters to terminate your application.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
lekfir
Posts: 130
Joined: Sun Feb 15, 2009 5:26 pm

Re: VISTA UAC and Registry Editing

Thanks!.
Regarding Issue 2: How do I uninstall a driver from advanced installer?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: VISTA UAC and Registry Editing

Hi,

Unfortunately Windows Installer doesn't supports this feature directly. However, if your driver was installed by a package you can try using a custom action to uninstall it.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”