|Anonymous | Login||2017-11-17 23:56 EST|
|Main | My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001202||graphviz||Build/Install||public||2007-11-14 00:00||2011-04-28 04:03|
|Assigned To||Arif Bilgin|
|Platform||OS||Windows XP Professional SP2||OS Version|
|Summary||0001202: Windows PATH after installing GraphViz 2.16|
Open new command prompt on plain Windows system (Start, Run, cmd, OK)
Type 'explorer', hit enter, Windows explorer comes up.
Type 'path', hit enter, see C:\\WINDOWS;C:\\WINDOWS\\system32, etc
Open new command prompt
Type 'explorer', hit enter, cmd replies 'explorer' not found
Type 'path', hit enter, see %SystemRoot%;%SystemRoot%\\system32, etc
Looks like installer set the system path registry value to REG_SZ
when it appended GraphViz install folder, should be REG_EXPAND_SZ;
or more precisely, if PATH was REG_SZ, leave it REG_SZ, and if it
was REG_EXPAND_SZ, leave it REG_EXPAND_SZ.
Workaround is simple:
Right-click My Computer, Advanced, Environment Variables
In System Environment variables, Edit Path, just say OK,
that should be enough to make the applet pass the string
back to the registry with REG_EXPAND_SZ.
[erg] Same as bug 1232
[robert] There is a way to avoid changing the System Path altogether. It's
a trick I first saw with Visual Studio .NET 2003. Create a .bat
set PATH=%PATH%;C:\Program Files\GraphViz2.16\bin
Then create a shortcut in the GraphViz program files group,
C:\Documents and Settings\All Users\Start Menu\Programs\Graphviz-win
called 'GraphViz Command Prompt', which has this for its target:
%comspec% /k "C:\Program Files\GraphViz2.16\gvenv.bat"
The user may click this to open command prompt with access to all
the graphviz goodies. Or, if they want access to the graphviz
goodies from a command prompt that's already open (e.g., they have
a command session with a PATH already pointing to other things),
they can just call gvenv.bat from that command prompt and the
GraphViz goodies are added 'at the end' of the PATH. It's a nice
way to prevent the GraphViz pkg having a system-wide impact.
I realize this suggestion is probably mainly an artifact of my own
preferences, but I thought I'd mention it in case it's of interest.
I'm happy with GraphViz either way.
|Tags||No tags attached.|
|STATUS-COMMENT||Fixed (15 Nov 2007)|
|2011-04-28 04:03||user1||New Issue|
|2011-04-28 04:03||user1||Assigned To||=> Arif Bilgin|
|MantisBT 1.2.5[^] Copyright © 2000 - 2011 MantisBT Group|