Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Feature condition problem


2 replies to this topic

Kiril

Kiril
  • Members
  • 39 posts

Posted 30 August 2001 - 12:55

Hi All,
In my Installation I need install Driver. I've created feature "Driver" and two Custom Action: InstallDriver and RemoveDriver.
During install I want call to InstallDriver
During Uninstall I want call to DeleteDriver
My condition in install is:
Not Installed And &Driver > 2
but I can't use on Uninstall
Installed And &Driver > 2 (doesn't work)
Other problem in maintenance install when I want to add Driver feature to product installation.
Not Installed And &Driver > 2 condition doesn't work because it's Installed.
Pease help me to understand conditions for this scenario



Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 30 August 2001 - 16:26

I use  $DriverComponent=3 on install and $DriverComponent=2 for uninstallation.

I think that in general it is best to work at the component level not the feature level.