License Key

Post specialized setup scripts you have created here.
gullion
Posts: 5
Joined: Thu Sep 13, 2007 11:00 am

License Key

Postby gullion » Tue Sep 25, 2007 10:23 am

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?

Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Re: License Key

Postby Gizm0 » Tue Sep 25, 2007 10:33 am

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.
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
InstallAware Software Corporation

FinlandRobert
Posts: 17
Joined: Fri Nov 16, 2007 2:33 am

Postby FinlandRobert » Fri Nov 16, 2007 4:55 am

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!

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Fri Nov 16, 2007 2:31 pm

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.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

FinlandRobert
Posts: 17
Joined: Fri Nov 16, 2007 2:33 am

Postby FinlandRobert » Sat Nov 17, 2007 2:56 am

thank you for the sugestion! I'll give it a try.

Robert


Return to “Sample Scripts”

Who is online

Users browsing this forum: No registered users and 29 guests