phyxeaux3020
15th December 2006 14:41 UTC
installer per user or tagged installation?
I am faced with a situation where I need to add a user ID to some installer at the server level. Ie, login and then get a signed installer to your bits.
I see two ways to do this, and was wondering about input.
a) build an installer for each bundle of content dynamically at the server level. (on linux, ming-gw cross compile per user bundle - server load issue).
b) tag the installer to fetch the unique bits, but that would require replacing strings in a compressed executable.
Any suggestions? Any other options?
kichik
15th December 2006 15:02 UTC
Append a unique ID to the installer. That won't disturb the CRC check, won't require handling compressed data and will be readable by the installer itself.
phyxeaux3020
15th December 2006 15:17 UTC
How? Example?
kichik
15th December 2006 15:20 UTC
How what? Reading a file? FileOpen, FileSeek, FileRead and FileClose. The wiki is filled with such examples, for instance:
http://nsis.sourceforge.net/Reading_...iting_in_files
kichik
15th December 2006 15:21 UTC
There's even a complete example:
http://nsis.sourceforge.net/ReadCustomerData
phyxeaux3020
15th December 2006 15:31 UTC
Thanks! FYI, I will be doing this from cmd line, web server and linux.... (pretty easy at this point, thank you very much from the heart of Texas)