Page 1 of 1
Multiple Passwords
Posted: Tue Apr 04, 2006 5:59 pm
by Guest
I know that I can encrypt a whole project and use a password to let people install it. The issue I face is that I want a single installer that lets people enter one of five different passwords. The password they use will determine what components they can install. How can I do this?
I've thought of using a custom dialog near the beginning of the install sequence where the user can enter the password. It would then check it against passwords stored as variables and go on appropriately. However, I believe that the user could use an MSI table viewer to see the passwords in plain text. Is there a simple solution?
Posted: Tue Apr 04, 2006 11:43 pm
by MichaelNesmith
The most secure way would be to authenticate passwords online! This way you can even revoke previously valid keys if they have been pirated. Please click File | New | Samples and choose Online User Authentication to see an example.
Also, see the Serial Validation sample, for an in-script serial generation algorithm!
Posted: Tue Apr 04, 2006 11:45 pm
by MichaelNesmith
Additionally...based on the password type or validation result, use If and Define Component to define only the features that your setup will actually permit!
Other features won't even be visible to end-users if their password does not authorize them! They won't even know such features existed.
Posted: Wed Apr 05, 2006 10:23 am
by Guest
I might be a little dumb here but I can't find the serial validation sample. File->New->Samples gives me User Feedback, Saving Web Downloads, Online User Authentication, Multi-Lingual Setups, Web Update Client, and Multiple Instances. Am I missing something or looking in the wrong place?
Additional Info: I can't rely on the web. This installer will package all of the files needed. It will be installed sometimes in places that do not have internet access.
Additional Question: Is it possible to run an executable included in the installer before the main installation? I'm thinking that I could write a small executable to encrypt a password. Then I can store the encrypted passwords in the msi tables. If I can run the executable at the start of the user interview then I can make it work.
Posted: Wed Apr 05, 2006 10:48 am
by jimo
The serial number validation script is included in version 5.3.
The answer to the second question is Absolutley!
Just include it as a support file (creative) then use Run Program to run it from the $SUPPORTDIR$.
Step by step - Serial validating
Posted: Sat Jun 10, 2006 9:50 am
by Thomas Z.
Hello,
i am a trial user but i think i have found the software which works best for me, InstallAware express.
i want to make a setup that checks serials online. Can someone please tell me how to do it step by step. i have already found the samples, but i don't know how it works.
i have seen that the following link:
http://www.mywebsite.com/User Authentication.7zip
I assume that i have to create a file called User Authentication.7zip
which includes the serials, but i don't know how this file should look like.
Please help !
Posted: Sat Jun 10, 2006 12:45 pm
by Gizm0
No no, not at all.The .7zip is a web media block needed by the sample.It has nothing to do with the authentication itself.
I can help you if you want, pm me..
Posted: Sat Jun 10, 2006 12:59 pm
by Thomas Z.
Hi,
thanks, i have send you a pm right now.