I am writing my first AI project. I am creating a subfolder under the main installation folder as part of the install. I want to add this new folder in to existing system PATH variable. I want to add it at the front (i.e. Prepend) to ensure it comes before left over installation folders from previous versions.
I am seeing two problems.
1. I go to the Environment section of the install and add a shange for the PATH variable. I select that it is a system variable and that the new value should be Prepended to the existing value. However, if I move to another area of the project (or close and re-open the project) and then go back to look at the properties of this Environment variable action, the properties dialog for this action has changes to "Append." I cannot get this item to stick at Prepend.
2. When run this install (after ensuring that the PATH property change action is set to Prepend) I find that the value was added at both ends of the existing PATH variable value. I.e., it seemd to both Prepend and Append the new value. If I uninstall my product, the value at the end of the PATH does not get removed. If I run the install again, I now have the folder at the beginning of PATH and *TWICE* at the end.
What am I doung wrong?
Thank you.
Dave