Hi Chris, Thanks for your reply. I think changing WriteRegStr to WriteRegExpandStr is exactly what's required.
Will you notify everyone when the new release is ready for download? Cheers, Rich :-) ----- Original Message ----- From: "Chris Liechti" <cliec...@gmx.net> To: <mspgcc-users@lists.sourceforge.net> Sent: Thursday, January 29, 2004 5:46 AM Subject: Re: [Mspgcc-users] Path "corruption" in win 2000 Richard Willis wrote: > FYI, > I've just installed mspgcc on 3 different win 2000 machines and am fairly > certain that this had "corrupted" my system path. The nature of this corruption > is to cause %SystemRoot% not to be expanded any more, ie: > > PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem > > Should read: > > PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem i have seen that effect too, but not with the the mspgcc installer. i'm preparing a new installer and i had installed the old one on this machine and my path setting is still ok... i run win XP here > So, I think the windows installation of mspgcc changed the Path variable in: > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment > from REG_EXPAND_SZ to REG_SZ. If so, this change prevents %SystemRoot% from > being expanded to C:\WINNT and thus stuffs up the path... this is the line of code that sets the key in the NSIS install script: WriteRegStr HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "Path" "$R0;$INSTDIR\bin" i can change that to WriteRegExpandStr if you think that this makes a difference. > Perhaps the next release of the windows installer can fix this problem - if > there is one? yes there is one. your message comes right on time :-) chris ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users