Archive: Possiable? or Inpossiable? / Some Ideas


Possiable? or Inpossiable? / Some Ideas
Hello every one :D greeetings form Manchester, UK

Right well i ve been using NSIS 2.0b4 CVS :P for a week and i find making installers great fun :)

great work/jobs on NSIS and keep it up u Devers :up:

I had an idea or a thought the other day as we can see on InstallShield and in Microsoft Installers and MindVision that u can make Serial or Passworded Installers .... so before it gets installed the user has to input a valid generated Password or Serial (Key).

I aint no programming bearly just started to learn :cool:
just wondered if thats in one of ur features to include later or can it be done in NSIS ?


You can use InstallOptions (${NSISDIR}\Contrib\InstallOptions\*)
You can use that to make a custom page, and you just need to put a password field box on it.

Btw, I'm in Shropshire (near Wales)

-Stu


But is not secure at 100%
Because the extracted INI can be readable as the same
as the password string :(


Just make sure you hide the extracted ini well, like maybe in the windows system dir so it gets cluttered with other things!
Also, to be even surer, call the file name something very stupid, say geoffrey233.bmp ;)!

-Stu


The serial key to compare with is not in the INI file so I don't think you have to worry about users finding the INI file. Contrib\InstallOptions\test.nsi shows you how to validate the input on a certain InstallOptions page and abort the move to the next page if required.