Join us for SoftSummit 2023. The 20th anniversary of the industry leading software monetization conference. April 18 and 20. Register Now

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
SaraSafstrom
Level 3

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 😞

Labels (1)
0 Kudos
4 Replies
shunt
Revenera Moderator Revenera Moderator
Revenera Moderator

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.

0 Kudos

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 🙂

0 Kudos
shunt
Revenera Moderator Revenera Moderator
Revenera Moderator

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

0 Kudos

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?

0 Kudos