[Yanel-dev] [Bug 6934] New: Windows installer does not open the browser on installed Yanel home page automatically anymore

Gary Jones gary.jones at wyona.com
Fri Jan 16 17:55:07 CET 2009


Guillaume Déflache wrote:
> Gary Jones schrieb:
>>> http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=6934
>> [..]
>>> In the .nsi file there is a line to "open" http://localhost:8080/ but it does
>>> not seem to work.
>>
>> What is the line, exactly?
>
> In
> https://svn.wyona.com/repos/public/yanel/trunk/src/binary-dist/windows/install-yanel.nsi
> ---8<---
>     Sleep 12000
>     ExecShell "open" '"http://localhost:8080/"' 0 SW_SHOWNORMAL
> ---8<---
> Checked some NullSoft docs for ExecShell and it seemed OK.
> Maybe Sleep parameter is not in ms as I supposed though! :)

It seems to be:
"Pauses execution in the installer for sleeptime_in_ms
milliseconds. sleeptime_in_ms can be a variable, i.e. "$0" or a
number, i.e. "666"."
http://www.nullsoft.com/free/nsis/makensis.htm#Sleep

What about trying something like
ExecShell "open" '"notepad.exe"' 0 SW_SHOWNORMAL
at least that will tell you that your Sleep has finished.

Does it give any error indication somehow, maybe in a log?

Do you have the ShellExtension properly set up in the registry? Have a
look at http://support.microsoft.com/kb/224816 and see whether the
registry settings are correctly set up on th computer you are using,
maybe they got messed up somehow, or maybe you don't have a browser
installed ;-)


More information about the Yanel-development mailing list