(say you install it as part of the package), HelloNode-master\winstaller\winstart-browser.bat.That runs the best available browser on the system. If I find that a future version of nssm or node or whatever doesn't work from Program Filesīegins to work, I'll change my advice on the matter.įor the webapp example there's not much of a main executable file -īeing that the server is run as a service and the client is a browser -īut since Chrome and MSIE both have app modes, Remove the spaces from Application folder name (it should be just HelloNode).Uncheck Allow user to change the Application Folder.Change Application destination base folder to C:\ (this is important).Windows Logs/Applications information about nssm wasn't helpful. No error message was produced and Event Viewer's ( eventvwr.msc) In my experimentation I found that using Program Files caused my service not to run automatically. Set it to Hello Node for this demo.Īside from that, none of this information is relevant to the installation of your program Choose Create a new script file using the Script WizardĪpplication Name will be the default name suggested for the installation path,.Now the Welcome Wizard comes up (or you can get to it from File -> New). If they're that hard core of a power user they can rename the folders on their own, seriously. Note: Please don't make your users make so many choices. Click Install to begin the installation.Click next to accept InnoSetup as the default.Click next to accept to include the preprocessor.Click next to accept the default start menu name.Click next to accept the default location.Select English (or whatever) and Click OK.The installer won't work without admin privileges. The file is not windows verified, but it is safe. I know it works because it's what I used and so that's the version I recommend. Or use the one provided in the support files for HelloNode, which is at C:\Users\%USERNAME%\Downloads\HelloNode-master\winstaller\isetup-5.5.3-unicode.exe.
You can download InnoSetup from the official website Write a file, access the internet, and then returns a response. This app is an extremely simple webserver that tests that it can create a folder, Remove the trailing *HelloNode-master* so that it extracts to C:\Users\%USERNAME%\Downloads\.Right-Click on HelloNode-master.zip and select Extract All.(trust me, the setup is already pointing to the Downloads folder) If you didn't download it to your Downloads folder, move it there.
How to create a Windows (InnoSetup exe) installer (for NodeJS apps).How to create an Ubuntu (deb) installer (for NodeJS apps).How to create an OSX (pkg) installer (for NodeJS apps).