equal
deleted
inserted
replaced
32 Pop $R3 ; Database |
32 Pop $R3 ; Database |
33 Pop $R1 ; Password |
33 Pop $R1 ; Password |
34 Pop $R0 ; Username |
34 Pop $R0 ; Username |
35 |
35 |
36 ReadINIStr $R2 "$stack_instdir\properties.ini" "MySQL" "mysql_root_directory" |
36 ReadINIStr $R2 "$stack_instdir\properties.ini" "MySQL" "mysql_root_directory" |
37 IfFileExists "$R2\data\$R3" 0 DatabaseDoesNotExist |
37 ; IfFileExists "$R2\data\$R3" 0 DatabaseDoesNotExist |
38 MessageBox MB_YESNO|MB_ICONQUESTION|MB_DEFBUTTON2 "The database $\"$R3$\" already exists. Do you want to delete and recreate it?$\n$\nIf you choose No, Setup will not alter MySQL's permissions, and you may need to set up permissions manually." IDYES +2 |
38 ; MessageBox MB_YESNO|MB_ICONQUESTION|MB_DEFBUTTON2 "The database $\"$R3$\" already exists. Do you want to delete and recreate it?$\n$\nIf you choose No, Setup will not alter MySQL's permissions, and you may need to set up permissions manually." IDYES +2 |
39 Return |
39 ; Return |
40 |
40 |
41 DatabaseDoesNotExist: |
41 ; DatabaseDoesNotExist: |
42 |
42 |
43 SetOutPath $PLUGINSDIR |
43 SetOutPath $PLUGINSDIR |
44 File "inst-resources\mysqlutil.php" |
44 File "inst-resources\mysqlutil.php" |
45 |
45 |
46 nsExec::ExecToLog '"$stack_instdir\php\php.exe" "$PLUGINSDIR\mysqlutil.php" $db_port "$R0" "$R1" \ |
46 nsExec::ExecToLog '"$stack_instdir\php\php.exe" "$PLUGINSDIR\mysqlutil.php" $db_port "$R0" "$R1" \ |