Page 1 of 1

License Key

Posted: Tue Sep 25, 2007 10:23 am
by gullion
Another newbie question:

Is there no way to request a license key from the user? I know I can password protect the installation file, but this would require me to distribute the file with the same password to all users, or rebuild for every user; impractical in either event. How do other people deal with this, through a custom DLL?

Re: License Key

Posted: Tue Sep 25, 2007 10:33 am
by Gizm0
gullion wrote:Another newbie question:

Is there no way to request a license key from the user? I know I can password protect the installation file, but this would require me to distribute the file with the same password to all users, or rebuild for every user; impractical in either event. How do other people deal with this, through a custom DLL?


Or through a custom validation routine build with MSICode.

Posted: Fri Nov 16, 2007 4:55 am
by FinlandRobert
This question seems to relate to what I want to do with the current project I'm working on. My goal is to provide one installation to multiple locations in different countries, and provide an installation key that would be unique to each country that would automagically install the application and country specific data set depending on the key used. The application and data installation is planned to be web based.

Any thoughts and help would be greatly appreciated!

Posted: Fri Nov 16, 2007 2:31 pm
by CandiceJones
1) Use the Web Media Block command to wrap parts of your setup that you want to download from the Internet at runtime.

2) Analyze the license key entered by the user any way you like in MSIcode (if you need to call a DLL to do this, use the Call DLL Function command), and branch out into different conditional installation sections using the If command.

Posted: Sat Nov 17, 2007 2:56 am
by FinlandRobert
thank you for the sugestion! I'll give it a try.

Robert