Default Browser Condition - 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!

alexzizzi
Posts: 13
Joined: Wed Apr 30, 2008 10:44 pm

Default Browser Condition

Hi,

I'm trying to do a custom action depending on the default browser that windows has set on the user's machine.

I have done a registry property search which works on xp. A search on HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet will give a raw value for IE of IEXPLORE.EXE or with Firefox it will give a value of FIREFOX.EXE. This works great for windows XP, however with Windows Vista this registry value stays IEXPLORE.EXE even if a different default browser is set.

I have found another registry value that would work in Vista which is HKEY_CLASSES_ROOT\http\shell\open\command which provides a direct path to the exe of the browser that is default for example: C:\Program Files\Internet Explorer\iexplore.exe

The question that I have is, is there an easier way of doing this using advanced installer? Like a command "DefaultBrowser=IE". And if not, how would i go about using the registry key I have above for vista if the path is a different drive.

I hope this made sense. Thanks again for the help so far with all of my previous questions.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Default Browser Condition

Hi,

I'm afraid that Windows Installer and Advanced Installer do not have a special property for this. Therefore, the solution with the registry entry is the easy approach.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”