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

Policy preventing MsiOpenProduct?


1 reply to this topic

Quadiago

Quadiago
  • Full Members
  • 7 posts

Posted 24 April 2008 - 08:59

Hi there

Is it possible to set a policy that disallows users to run MsiEnumRelatedProducts or MsiOpenProduct? If not, why else would these calls fail?

We've got a client on a Terminal Server system where an MSI is installed by an administrator for the entire machine. When a non-admin user tries to run our product, our internal calls to MsiOpenProduct seems to fail due to permissions.

Any ideas? Much appreciated.

Quadiago

Quadiago
  • Full Members
  • 7 posts

Posted 19 May 2008 - 10:16

I'm just posting the resolution of this problem. It seems that calls to MsiOpenProduct fail if Windows Installer is disabled by group/local policy.

It is possible, however, to call MsiGetProductInfo even when this policy is in effect.