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 gets disappeared


4 replies to this topic

ramalaks

ramalaks
  • Members
  • 19 posts

Posted 27 January 2006 - 22:50

during my product uninstall, PATH variable disappears sometimes. what condition causes this? any one have experienced this?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 30 January 2006 - 11:48

Are you modifying or writing to the PATH variable during install? If yes: how?

ramalaks

ramalaks
  • Members
  • 19 posts

Posted 30 January 2006 - 15:12

yes. I take take the value of it from the registry KLM->SYSTEM->CurrentControlSet->Control->sessionMgr->Environment and modify and set it back.
is there anything wrong in this? pl help. tis is very urgent issue for me to solve. Users complain tat when tey uninstall and restart the path disappears. I am using IS 11.5 eval version

ramalaks

ramalaks
  • Members
  • 19 posts

Posted 30 January 2006 - 23:23

tis is a installscript project type.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 01 February 2006 - 10:04

Well, InstallSchield doesn't automatically restore registry entries to their previo0us value during uninstall. For a script sample see "Handle PATH Environment on NT" at http://www.installsi...s.htm#PathSetup