PDA

View Full Version : Custom Action Determines Feature Set?



dthompsn
10-18-2001, 12:56 PM
Chandima,

Is it possible that you have an example ISX project with Custom action that could show how a Typical Feature Set could be determined at launch time and that you could share? I read your notes regarding this on the old list, but am a little stumped when it comes to Install Levels, etc.


You also recommended that I read the Feature table of the msi help. However, I can't seem to find it--where might I look? I do have the full MSDN from July installed.

David

Chandima
10-19-2001, 09:22 AM
I'm afraid I don't have any such projects and not too much C++ knowledge to give a proper piece of code. However you might be able to get some hints from the Express Help files for DLL Custom Actions. The help for the "New" style DLL Custom Action has a simple set of code which gets information from the msi at runtime.

There is an msi API called MsiSetInstallLevel which should be going in the right direction. The Msi help comes with Express. From the Help menu select "Msi help Library".

Sorry I can't provide more help on this.