- Revenera Community
- InstallShield Forum
- Re: Open URL on Post-Uninstall
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Printer Friendly Page
Open URL on Post-Uninstall
Played and tested the different aspects of the IS and it seems good, just a few things:
Launch Default Browser Action as mentioned here:
Can't find it, I just need to open a fixed link in default browser after "Post-Uninstall sequence"
I also find samples online, but they're for InstallScript, my project would be BasicMSI, so not that script.
The link you provide appears to be for Installanywhere (Not Installshield) so this may explain the confusion.
If you want to launch a browser with a fixed URL link you could use a custom action to call a command prompt. You can then tell the command prompt to open a website which will use the default browser.
An EXE custom action with a path referencing a directory
cmd /c start /min cmd /c start http://google.com
Then add this custom action the "Finish" button of the last dialog with the condition: REMOVE~="ALL"
This will make sure the custom action only starts during an uninstall.
Hello and thanks for your help, I don't want user to see a command prompt even for a second, and I also found some tutorial which runs this script:
Set IExplorerObject = CreateObject("internetexplorer.application")
IExplorerObject.visible = True
1. But IE is obsolete! What to use instead so the default browser is opened?
2. Also in custom action properties, "Use 64-bit Scripting" should be enabled for pure x64 installations?
You can use Installscript in a custom action to launch a .bat file which contains the same command. The LaunchApplication command would hide the windows of the spawned process (ie the command prompt).
Thx, while I test it, do you have any idea about custom action properties, "Use 64-bit Scripting" should be enabled for pure x64 installations? And what's that in general?