Archive: Installer customised on a per user-basic


Installer customised on a per user-basic
Hey guys.
I have searched, but the keywords are fairly generic, so apologies if I missed a previous answer.
Anyhow.

I'm trying to make a 1-click install for our program - IE, no interraction from our users.

Problem is, each install needs to be customised for each user: Specifically, a file [server.ini] that is present in the package, needs to have the client's username + password embedded in it.

So my question: Are there any ways to achieve this?
If we're looking for a 1click install, we don't want to prompt the user for their UN/PW.

So, I guess we're left with two situations:
1- Make the configuration changes on the server, compile the exe, and then supply it to the user. Problem is, we're running linux boxes, not windows

2- Do the configuration changes on the client's end - somehow passing their username and password with the DL, so the installer can make the changes. However, I can't seem to think of any reliable method to do this (short of embedding their username in the installer name, ie "install-[username].exe".

If anyone has any ideas, I'd be greatly appreciative!
Thank you.


you CAN compile nsis installers on linux, but a better option is probably to embed the info in the end of the .exe, see http://nsis.sourceforge.net/ReadCustomerData


Originally posted by Anders
you CAN compile nsis installers on linux, but a better option is probably to embed the info in the end of the .exe, see http://nsis.sourceforge.net/ReadCustomerData
Wow - that's fantastic.

Thank you kindly!