Archive: MUI_FINISHPAGE_RUN open Browser?


MUI_FINISHPAGE_RUN open Browser?
Hello,

I tried to open the browser with command MUI_FINISHPAGE_RUN

!define MUI_FINISHPAGE_RUN "ExecShell open 'http://localhost/index.html'"

But nothing happens after finishing.
Is the command not correct or is this wrong?
regards
hawk


the command is incorrect.. MUI_FINISHPAGE_RUN takes program names and arguments, not NSIS commands (which ExecShell is).

Instead the command would be something along the lines of "start http://localhost/index.html", which would invoke the user's http protocol handler.

Note that if your installer requires Admin level privileges, the spawned browser process will also have Admin level. See the UAC plugin to deal with this.
If your installer runs under User privileges, you should be fine as is.


To execshell, use a finish page run function.