Hi Chris, First at all, there is no way you can really protect an MSI based setup from being installed. MSI is in an open format, therefore, anybody can easily(?) open it and understand what constraints you set in order to limit the installation process.
Saying that, if your users are not too technically oriented, you can create a Custom Action (unmanaged C++ is more difficult to decipher than DTF's C#, don't use VB script). This custom action will read a certain property, let's say SERIAL_NUMBER, and will return Success or Failure according to any algorithm you implement there. In general terms, the more complex the process is, the more difficult to break. You can set several functions call to confuse people try to understand the process. Also, don't cancel the setup right after the serial number check, but do something in the middle, so looking at the log file it'll be difficult to understand which CA is in charge. These are just guidelines for a very basic security process. If you need something pro, you better look at some ready-made solutions (Aladdin, Flex LM, etc) Take into account that most setups over there asking for serial numbers are either not MSI based, or very simple to crack. Hope this helps you to find your way. Bst rgrds, Eitan -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mole, Chris Sent: Friday, August 15, 2008 11:01 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] controlling who installs a package Hi, What's the best way to control who is able to install a package? Can I make the package in such a way that it can only be installed by people that know some password or serial number? Thanks, Chris ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users