I agree, things like that work better if you get the application involved. The main thing that prevents the application getting involved is developers who believe it's entirely the install's issue to address and don't want to do the coding work.
You might see recommendations to use a launch condition based on a property set on the MSI command line, but a knowledgeable user could detour that by looking at the MSI file, but on the other hand it prevents accidental running of the bare MSI file. Or perhaps the bootstrapper can put something in the registry, such as a validation type entry that the MSI can search for to use in a launch condition. If you want to be thorough, use all of them, the app check and the launch conditions. --------------- Phil Wilson On Fri, Jan 23, 2015 at 7:19 AM, David Connet <d...@agilityrecordbook.com> wrote: > On 1/22/2015 10:33 PM, sky wrote: >> I'm now using burn cumstom bootstrapper application, and in my custom ba >> there is a step for validating product key. But since my msi file is >> external to the bootstrapper, anyone can install msi file directly without >> entering a product key. How can I prevent the msi file from being executed >> directly? (other than embedding the msi file into bootstrapper or adding >> custom action for product key validation to the msi) > > Personally, I wouldn't worry. I'd just make sure the application refuses > to run without a key. (If no key, it brings up a dialog to enter one > before the app runs) > > Dave > > > ------------------------------------------------------------------------------ > New Year. New Location. New Benefits. New Data Center in Ashburn, VA. > GigeNET is offering a free month of service with a new server in Ashburn. > Choose from 2 high performing configs, both with 100TB of bandwidth. > Higher redundancy.Lower latency.Increased capacity.Completely compliant. > http://p.sf.net/sfu/gigenet > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users