- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Open URL on Post-Uninstall
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Open URL on Post-Uninstall
Hey all,
Played and tested the different aspects of the IS and it seems good, just a few things:
Launch Default Browser Action as mentioned here:
https://docs.revenera.com/installanywhere2018/Content/helplibrary/ia_ref_actions_general_actions.htm
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.
Confused 😞
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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.
For example:
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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
IExplorerObject.navigate "http://www.google.com"
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?
Best 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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).
https://community.flexera.com/t5/InstallShield-Knowledge-Base/Running-a-Batch-File-from-Your-Setup/ta-p/4449
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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?