PDA

View Full Version : How to set InstallLevel Propery from custom action.



sagarkar
05-24-2003, 06:30 AM
How Can I set InstallLevel property for a perticular feature from custom action?

Actually I want to check for the existance of 'VBRuntime' while installing the application.
If traget machin has VBRuntime, do not install the runtime on target machin.


I have created a hidden feature(called Common) for VBruntime merge module. I check the presence of VBRuntime by searching for Mavbvm60.dll in registry.
If this dll exists, I assume that VBRuntime is present on target machin.
But now How do I select the feature 'Common' for installation?
I think InstallLevel value need to be set. But HOW?

Can anybody help me?

Thanks in advance

Alon
05-25-2003, 12:31 AM
vBuild has nothing to do with installation logic and decisions what to install and what not to install. These are installation-specific question (vBuild is a delta/updates tool, not an installation tool). So I suggest you will re-post your question in the Professional forum.

Alon.