In the file InstallerProcess.nsi
we should remove the messagebox:
;MessageBox MB_OK|MB_ICONINFORMATION "Before
starting the OpenSSH service you MUST edit the
$INSTDIR\etc\passwd file. If you don't do this, you
will not be able to log in through the SSH server.
Please read the readme.txt or quickstart.txt file for
information regarding proper setup of the passwd file."
and replace it with:
MessageBox MB_OK|MB_ICONINFORMATION "We are
launching Notepad now that you can edit the
$INSTDIR\etc\passwd file. If you don't do this, you
will not be able to log in through the SSH server.
When you close Notepad, the installation will
continue."
ExecWait Notepad.exe $INSTDIR\etc\passwd
ExecWait "$SYSDIR\net.exe start OpenSSHd"
That way we automatically start Notepad, and
afterwards start the service automatically.
Anonymous