From: Bruce S. <ba...@an...> - 2001-03-02 22:44:24
|
--On Friday, March 02, 2001 12:51 PM -0500 David Scherer <dsc...@vy...> wrote: > p.s. Bruce: Can you say exactly what registry keys are used by the > installer to locate Python? Do we prompt for an installation path if the > correct keys are not found? Here is the line from the Inno Setup script that creates the VPython installer for Windows: DefaultDirName={reg:HKLM\Software\Python\PythonCore\2.0\InstallPathX,|{sd%7 d\VPython} Translation: I'm using the registry key HKLM\Software\Python\PythonCore\2.0\InstallPathX,, or if this doesn't exist, I'm using the system drive:\VPython (typically drive C). There doesn't seem to be a way in Inno Setup to have conditional statements, so I don't see a way to prompt for an installation path in case the correct key is not found, nor even to tell the person where the files are going. This is why there is a note and FAQ listed with the download. (Can't pick this up at the moment because the CIL server is down in anticipation of a planned power outage this evening.) If someone can offer a more flexible installer builder, that would be good. But the current installer seems to work well for the unknowledgeble, and the knowledgeable should be able to cope. Bruce |