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

Check if Feature is installed


2 replies to this topic

Ocrana

Ocrana
  • Members
  • 3 posts

Posted 25 October 2005 - 00:33

Hello,

I read much topics about similar problems but I really didt understand the solutions. I have follwoing problem:
I have different Features in my installer, one Feature is called dotNET. If the user selects the dotNET Feature I need to run some CustomActions to register VSIP things. Like run an HelpReg.exe or to run devenv /setup. Everything works fine if I do not query the conditions on the CustomActions. But now I want to make that everything wil lwork ok. I insert the CustomAction after "SelfRegModules" and I put the conditions:

&dotNET=3 AND DEVENV<>""

to this actions. But no action will run. If I remove the &dotNET=3 it work.

Is there a trick to find out if an feature was installed local?

Ingo

Ocrana

Ocrana
  • Members
  • 3 posts

Posted 25 October 2005 - 10:12

Ok, seems to be the wrong position in the Sequenze. Why I didnt know, but if i move this to other position it works well.

antyagi

antyagi
  • Full Members
  • 121 posts

Posted 26 October 2005 - 05:25

If this is MSI based setup you can use MsiGetFeatureState.
&nbsp;&nbsp;ankur tyagi