View Full Version : Register software on installation
13th May 2009, 16:57
I need users to install 2 software packages. Both are .exe files. To make it easy, I am looking for an "Installer" package that I can use that will:
* include both software packages
* install both packages
* prompt the user for their name, company & e-mail address and forward this info to an e-mail address. I want to know who has installed the software.
* allow me to update the installer package for new releases of the software I need installed.
Can NSIS do all this?
I don't know how to write the scripts for a trouble free installation! Can anyone help?
I am happy to pay!
13th May 2009, 18:24
I'm assuming that the 2 packages are .exe files with silent install options. If so, the first two points are simple.
The third point, you'd have to write a custom dialog page and post the data to a script on a web server (the script could store the data in a database, email you the info, whatever; it's not relevant to the installer :)). Not terribly difficult, but there is a slight learning curve there.
The final point is kind of vague... Are you saying that the software ought to be able to check for updates online and then install them? If so, NSIS won't help with the application side (of course), but it has a VPatch plugin that should help with the installer side. :)
13th May 2009, 19:00
If I use a custom dialogue page, can this run when the installer runs? I am not interested in who downloads the software. I want to know who installs it!
13th May 2009, 19:20
You could put the usersnooping code right the .onInit callback; that's what gets run first thing in an NSIS installer (after unpacking, if applicable).
Note: users don't like snooping :)
13th May 2009, 20:04
Well, .onInit won't be the right place to put up a dialog page. Usually, you'd insert it right after your license agreement. If it's mandatory, you can even disable the Next button before allowing installation to continue. However, note that you have no way to guarantee people won't fill it out with bogus data. :)
Animaether, requesting information before allowing an installation isn't exactly snooping.
13th May 2009, 22:19
well not if you're requesting it, no :)
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.