logtalk3 icon indicating copy to clipboard operation
logtalk3 copied to clipboard

SWI-Prolog Windows installers not writing registry keys

Open pmoura opened this issue 6 years ago • 1 comments

The SWI-Prolog Windows installer starting with version 7.7.20 stop writing registry keys with, notably, the installation directory. The Logtalk Windows installer uses those keys to create the integration shortcut for SWI-Prolog. As a result, in a Windows machine where no SWI-Prolog version prior to 7.7.20 was ever installed, the Logtalk installer will complain that it cannot find the SWI-Prolog installation.

This SWI-Prolog Windows installer bug have been reported at https://swi-prolog.discourse.group/t/windows-installers-no-longer-write-registry-keys/991 A fix is already committed and being tested.

A workaround is (after installing Logtalk) to manually create the shortcut using a patch such as:

C:\Program Files\swipl\bin\swipl-win.exe -s "%LOGTALKHOME%\integration\logtalk_swi.pl"

Adjust the path to the swipl-win.exe executable to reflect the installation directory if different from the default one.

pmoura avatar Jul 26 '19 15:07 pmoura

Fixed in the SWI-Prolog development releases starting with 8.1.11.

pmoura avatar Aug 07 '19 11:08 pmoura