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.

Registering COM objects

1 reply to this topic


  • Members
  • 44 posts

Posted 05 April 2002 - 12:50

Hi folks,

I have a problem with my install.

Part of my installation structure looks like the following:


I have some DLLs installed to the "Shared\Programs" folder, and some COM objects and DLLs installed to the "Shared\Com" folder.

However, I need to register some of the com objects. To register properly, they rely on some of the DLLs in the "Shared\Programs" folder.
What I need to do is to write the location of "Shared\Programs" to the Windows PATH environment variable, so that when the COM objects get registered, they can find the relevant DLLs.

How can I write this information to the PATH environment variable, and then force that to be re-read so that the COM objects register properly?

Any help would be appreciated...
Thanks in advance.
Bryan Dickson
[br]Senior Software Engineer
[br]Fugro-UDI Limited

Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 05 April 2002 - 13:59

Use an environment table value like
[~] appends to the existing value and [$Component] name expands to where a component has been installed.
Ian Blake
(Currently Unemployed)