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

COM and Terminal Services


1 reply to this topic

cooki

cooki
  • Full Members
  • 35 posts

Posted 31 May 2005 - 10:42

I install a COM component (type per machine) without any error or warning on a Windows 2000 with terminal services.
Then, when i launch the application, the COM object is accessible only from the account where the install was launched, everywhere else the launch of the COM object fails.

To solve that, we are forced to launch "dcomcnfg" to set the right "Default Security"=>"Default Access Permissions" for all users

Before MSI, there was no need for this manipulation. Does anybody know why?

mandy

mandy
  • Members
  • 121 posts

Posted 31 May 2005 - 18:57

Are you sure it's installed per machine? What would this script return if you substituted your product code into it?

Const sPRODCODE = "{ProductCode}"

Set oInst = CreateObject("WindowsInstaller.Installer")

Msgbox oInst.ProductInfo(sPRODCODE, "AssignmentType")