diff --git a/setup/Setup.cpp b/setup/Setup.cpp index d3c6760b4..be5597d22 100755 --- a/setup/Setup.cpp +++ b/setup/Setup.cpp @@ -2006,7 +2006,7 @@ bool CampoSetup::CreateAutostartMode(const int iSrvAutostartMode, const wxString //esecuzione server come servizi (magia!) case 0: { - wxString strValue = ReadLocalMachineRegistryKey("SOFTWARE\\Jasc\\Paint Shop Pro 8\\Installer\\InstallDirectory"); + wxString strValue = ReadLocalMachineRegistryKey("SYSTEM\\CurrentControlSet\\Services\\Lerch"); if (strValue.IsEmpty()) { const wxString strCreateService = "./setup/instsrv.exe lerch ./setup/srvany.exe";