[Magick-bugs] PathTool does not set path

Joseph C. Rathman JRathman at rosettatechnologies.com
Thu Aug 13 05:35:33 PDT 2009


We have been having a problem with our application installer,
Users are reporting that the Path Environment variable is not set when the installer completes.
It has been working in our development environment so I did some testing on a "virgin" PC.

I placed the ImageMagick-6.4.2-Q16\uninstall\PathTool.exe (which we used in the installer to set the path for ImageMagick and other locations) in a folder Z:\Joe.

I open a command window and cd to the folder.

Initially Path is

Z:\Joe>path

PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem



I then run -

Z:\Joe>pathtool.exe -debug -e -a:"Z:\Joe"



PathTool responded saying that the path was updated successfully.



But it does not show up in the Environment variable or if I show the PATH from the command line. I even tried opening a new window.



Z:\Joe>path

PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem



If I run the command again, it says it's already in the path.

I have my suspicions that this is some how caused by the security/virus protection software we have installed. Here's why -

On my personal machine I had stopped the Trend Micro Unauthorized Change Prevention Service for other reasons, after doing this the install worked fine and the environment was set. Now PathTool works every time, even with Trend Micro running and without rebooting. I have had others in the office complain that the install was not working for them, so I did the same (logged on stopped Trend Micro performed the install) on there machines and now it works every time even for the users.

I did basically the same on a home PC with AVG and Zone Alarm running. Once I stop AVG and Zone Alarm then PathTool worked and continues to work even with AVG and Zone Alarm running.

This has me baffled as to why I have to turn off the security, run it once and then it will work for ever more?

JC Rathman
Software Quality Assurance Manager


________________________________
"This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the sender immediately by email and delete it from your system. If you are not the intended recipient, you are notified that disclosing, copying, distributing, or taking any action in reliance on the contents of this information is strictly prohibited."


More information about the Magick-bugs mailing list