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.
FOLLOW US
Get the latest news in Application Packaging