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

Adding path values


3 replies to this topic

micand

micand
  • Members
  • 11 posts

Posted 04 May 2001 - 11:40

I´m trying to add a string to the existing path of a computer. I´ve tried a Custom action with calling a DOS utility called PATHMAN but I haven´t bee succesfull yet. To me this seems to be a "wrong" way of doing this. There must be a better way, maybe you know one?

Dave I

Dave I
  • Members
  • 195 posts

Posted 04 May 2001 - 15:40

In the Environment table add the entry:

Key: Any Unique Value
Name (of Environmental Variable): =-*PATH
Value: [~];[STRINGPROPERTY
Component: Component associated with change

For a full explanation of the additional symbols see "Environment Table" in the MSI help.  Briefly:

=Set during the installation
*Environment Variable
- Remove when component is removed
[~};append a value to the end of an existing variable

Hope this helps,
Dave


micand

micand
  • Members
  • 11 posts

Posted 07 May 2001 - 10:04

Thanks, this worked great.