hawkmaster
19th April 2010 15:04 UTC
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
Animaether
19th April 2010 16:54 UTC
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.
MSG
19th April 2010 17:17 UTC
To execshell, use a finish page run function.