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

Environment Variable


1 reply to this topic

vishnub

vishnub
  • Full Members
  • 63 posts

Posted 18 January 2005 - 09:42

Hi All,

I am using InstallScriptMsi project, I added a value to the environment variable "PATH" and i given the following options in the Environment Variables view.

OnInstall : Set
Placement : Append
On Uninstall : Remove
Type : System

But in help, It is specified that if "OnInstall : Set" and "On Uninstall : Remove" then it will remove only what ever it is appended.

But the whole PATH variable is removed. How to correct this problem.

Thanks in Advance

Thanks
Vishnu smile.gif

vishnub

vishnub
  • Full Members
  • 63 posts

Posted 20 January 2005 - 17:49

I found the reason why it is removing the PATH environment variable. Along with setting the PATH in Environment Variables view, i am setting it through script also. So it get removed while uninstalling.

If i remove code of setting the PATH, its working fine.

Regards
Vishnu smile.gif