Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 13th May 2009, 16:57   #1
TimTDP
Junior Member
 
Join Date: May 2009
Posts: 2
Register software on installation

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!
TimTDP is offline   Reply With Quote
Old 13th May 2009, 18:24   #2
lewellyn
Member
 
Join Date: Nov 2002
Location: San Francisco, CA
Posts: 82
Send a message via ICQ to lewellyn Send a message via AIM to lewellyn Send a message via Yahoo to lewellyn
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.
lewellyn is offline   Reply With Quote
Old 13th May 2009, 19:00   #3
TimTDP
Junior Member
 
Join Date: May 2009
Posts: 2
Hi lewellyn
Thanks
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!
TimTDP is offline   Reply With Quote
Old 13th May 2009, 19:20   #4
Animaether
Major Dude
 
Join Date: Jun 2001
Posts: 1,173
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
Animaether is offline   Reply With Quote
Old 13th May 2009, 20:04   #5
lewellyn
Member
 
Join Date: Nov 2002
Location: San Francisco, CA
Posts: 82
Send a message via ICQ to lewellyn Send a message via AIM to lewellyn Send a message via Yahoo to lewellyn
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.
lewellyn is offline   Reply With Quote
Old 13th May 2009, 22:19   #6
Animaether
Major Dude
 
Join Date: Jun 2001
Posts: 1,173
well not if you're requesting it, no
Animaether is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump