# HG changeset patch # User Daniel Atallah # Date 1158784363 0 # Node ID f63d095dc421aaf0e1bb9597b770592ebca9e213 # Parent 7a8d6f5566cd6f03cc37a744734273f5c4475f9f [gaim-migrate @ 17331] Don't remove the perl plugin if we can't find ActivePerl. We no longer have the annoying error popups when a dll dependency isn't found, so this isn't necessary anymore. committer: Tailor Script diff -r 7a8d6f5566cd -r f63d095dc421 gaim-installer.nsi --- a/gaim-installer.nsi Wed Sep 20 11:52:35 2006 +0000 +++ b/gaim-installer.nsi Wed Sep 20 20:32:43 2006 +0000 @@ -444,19 +444,14 @@ SetOutPath "$INSTDIR" got_shfolder: - ; Check if Perl is installed, If not remove perl plugin + ; Check if Perl is installed, if so add it to the AppPaths ReadRegStr $R2 HKLM ${PERL_REG_KEY} "" StrCmp $R2 "" 0 perl_exists ReadRegStr $R2 HKCU ${PERL_REG_KEY} "" - StrCmp $R2 "" perl_remove perl_exists - - perl_remove: - Delete "$INSTDIR\plugins\perl.dll" - RMDir /r "$INSTDIR\perlmod" - Goto perl_done + StrCmp $R2 "" perl_done perl_exists perl_exists: - IfFileExists "$R2\bin\${PERL_DLL}" 0 perl_remove + IfFileExists "$R2\bin\${PERL_DLL}" 0 perl_done StrCmp $R0 "HKLM" 0 perl_done ReadRegStr $R3 HKLM "${HKLM_APP_PATHS_KEY}" "Path" WriteRegStr HKLM "${HKLM_APP_PATHS_KEY}" "Path" "$R3;$R2\bin"