Hello and welcome to Advanced Installer forums,
Indeed, this is the default behavior; during an uninstall, Windows Installer removes only the data registered into the MSI file. All other data created by custom actions, by the installed application or by the user is not registered in the MSI, therefore it will not be removed.
However, here is what you can try:
Change the content of the key that point to the default browser.
The related key can be found here:
Code: Select all
1) HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice
2) HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice
The content of the
Progid is set depending the default browser used. E.g.:
- Opera.Protocol for Opera
- IE.HTTP and IE.HTTPS for Internet Explorer
- ChromeHTML for Chrome
In order to check the installed browsers on a machine, you can check this key:
Code: Select all
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\StartMenuInternet
where each browser makes its own entry.
You can take a look on the
How to find all the browsers installed on a machine forum thread that debates a similar subject.
So, during uninstall you can create a custom action that will search the installed browsers and change the
ProgID key to a valid installed browser. For this, you can take a look on the
Options to integrate and debug custom actions article to see an example of how you can integrate your custom action.
If you have other questions, please let us know.
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging