Index: win_installer/src/installer.nsi =================================================================== RCS file: /usr/local/cvsroot/win_installer/src/Attic/installer.nsi,v diff -u -r1.43 -r1.44 --- win_installer/src/installer.nsi 30 Jan 2007 05:57:49 -0000 1.43 +++ win_installer/src/installer.nsi 5 Feb 2007 01:37:59 -0000 1.44 @@ -671,11 +671,12 @@ # TODO doesn't take effect until mysql server is restarted DetailPrint "Setting MySQL transaction-isolation to READ-COMMITTED" ${LineFind} "$MYSQL_DIR\my.ini" "" "1" "WriteMyINI" - IfErrors 0 +2 + IfErrors 0 myini clearerrors - ${LineFind} "$WINDIR\my.ini" "" "1" "WriteMyINI" - IfErrors 0 +2 + ${LineFind} "$WINDIR\my.ini" "" "1" "WriteMyINI" + IfErrors 0 myini MessageBox MB_OK|MB_ICONEXCLAMATION "Couldn't write to $MYSQL_DIR\my.ini. Please write this text into your MySQL configuration file and restart MySQL:$\r$\n$\r$\n[mysqld]$\r$\ntransaction-isolation=READ-COMMITTED" + myini: DetailPrint "MySQL will need to be restarted for this to take effect." goto done error: