>> But anyway another user reported me that old GS (de)installers don't >> delete the registry keys correctly so that my installer find wrong >> versions. I'll check this and if this is the case I'll change the code >> so
Let me clarify this: Normally the AFPL Ghostscript Installer/Deinstaller works as expected. However I was able to reproduce a situation where the registry entrys where not removed by GS 8.51. This involved installing a previous version of GS (8.0.0) as a normal user (partly failed) and then installing and deinstalling GS 8.51 with root privileges and a few cups of coffee. This was done on a 2nd Win2000 Box. The conclusion is that checking the registry for keys is not a safe bet wether the software is installed or not as long as there is the possibility of stale registry entries no matter how they get there. I notice that under Windows the presence/absense of a gs installation is mostly correct under the systems software management system "system settings -> software". My guess is that the proper way of detecting installed software involves some other database or other entries in the registry other than "HKEY_LOCAL_MACHINE/SOFTWARE/AFPL Ghostscript". >> Sigh, I've never thaught that the installer stuff will be so complicated >> and takes so much time. jupp... It caught me too when I did this. Something that should be a few lines ended up beeing two pages of code just to set some environment variables. Jörg -- Jörg Zastrau Universität Kaiserslautern Lehrstuhl für Hochspannungstechnik und EMV Gebäude 11 / Raum 334 Postfach 3049 67653 Kaiserslautern Tel: +49-631-205-2826 E-Mail: [EMAIL PROTECTED]