How do I remove a directory from the system PATH?

asked 12 Sep '11, 07:24

Jake's gravatar image

Jake ♦♦
796222226235
accept rate: 98%


You can remove a directory from the system PATH using a removeDirectoryFromPath action. You will have to include a section like the one below inside an action list section of your XML installer project file, usually the postUninstallationActionList section. On Unix platforms, the directory will be added to the PATH definition in the shell configuration files: ~/.bashrc, ~/.profile. On Windows, the environment variable will be created in the registry.

   <removeDirectoryFromPath>
      <path>${installdir}/bin</path>
   </removeDirectoryFromPath>
link

answered 12 Sep '11, 07:24

Jake's gravatar image

Jake ♦♦
796222226235
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×27
×12

Asked: 12 Sep '11, 07:24

Seen: 1,878 times

Last updated: 10 Nov '15, 16:00