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

Path Problem With Installshield


1 reply to this topic

sandeep

sandeep
  • Members
  • 5 posts

Posted 11 February 2004 - 17:36

Hi Dudes,

I am relatively new to the installshield world, so my apologies incase many of u studs find my problem age old n poor. :-)

I am facing the problem wherein I append the softwares path to the PATH env variable but after the uninstall the software PATH does not get removed from the path env variable.
For that I am using the code given on
http://www.installsi...s/en/isp_os.htm

topic to look for :: Handle Path Environment on NT

The author gives implementation of the two function SetEnvPath() and RemoveFromPath().
I fail to understand from where should I call RemoveFromPath() such that it will be executed during uninstall.
Any suggesstions... Please help !

Else is there any better way , I want to avoid useing a DLL for uninstall, if possible.

Thx so much,

Cheers
Sandeep !




Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 11 February 2004 - 18:19

Why don't yu use the method that is built into MSI, i.e. the Environment table?