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

How to see if a product is installed


1 reply to this topic

dorelsturm

dorelsturm
  • Full Members
  • 23 posts

Posted 18 May 2006 - 22:34

Hi there,

I have a product (myProduct.msi) that comes with a sparate installer myPart.msi. At install time (if the user selects this) myPart.msi is installed together with myProduct.msi.

Now I have new versions of the myPart.msi and myProduct.msi. When I do a minor upgrade of myProduct.msi I need to do also a minor upgrade of myPart.msi but only if myPart.msi is installed. If myPart.msi is not installed I should not do any new installs of myPart.msi.

My question is how do I see in myPart.msi is installed on the computer? For this myPart.msi I know the Product Code, Upgrade Code, Package Code and Product Version. I think the best way is to write some Install Shield Script code for this and create an Install Script custom action.

Thanks for your help.

Dorel Sturm

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 19 May 2006 - 16:06

You could use the Upgrade table with the Detect Only option.