Fix DoliWamp installer

This commit is contained in:
Laurent Destailleur 2008-04-19 19:38:02 +00:00
parent 233ec0dfc9
commit 2459b4fd85
2 changed files with 271 additions and 285 deletions

View File

@ -179,7 +179,6 @@ begin
begin begin
//---------------------------------------------- //----------------------------------------------
// renommage du fichier c:/windows/php.ini // renommage du fichier c:/windows/php.ini
//---------------------------------------------- //----------------------------------------------
@ -201,7 +200,6 @@ end
//---------------------------------------------- //----------------------------------------------
// rundoliwamp.bat // rundoliwamp.bat
//---------------------------------------------- //----------------------------------------------
@ -231,7 +229,6 @@ begin
StringChange (srcContents, 'WAMPAPACHEPORT', apachePort); StringChange (srcContents, 'WAMPAPACHEPORT', apachePort);
SaveStringToFile(destFile,srcContents, False); SaveStringToFile(destFile,srcContents, False);
end end
DeleteFile(srcFile);
@ -305,7 +302,6 @@ begin
SaveStringToFile(destFile,srcContents, False); SaveStringToFile(destFile,srcContents, False);
end end
end end
//DeleteFile(srcFile);
@ -326,7 +322,6 @@ begin
SaveStringToFile(destFile,srcContents, False); SaveStringToFile(destFile,srcContents, False);
end end
//DeleteFile(srcFile);
@ -347,7 +342,6 @@ begin
SaveStringToFile(destFile,srcContents, False); SaveStringToFile(destFile,srcContents, False);
end end
//DeleteFile(SrcFile);
@ -377,14 +371,13 @@ begin
StringChange (srcContents, 'WAMPAPACHEVERSION', apacheVersion); StringChange (srcContents, 'WAMPAPACHEVERSION', apacheVersion);
SaveStringToFile(destFile, srcContents, False); SaveStringToFile(destFile, srcContents, False);
end end
DeleteFile(srcFile);
//---------------------------------------------- //----------------------------------------------
// Fichier dolibarr // Fichier dolibarr parametres predefins install web
//---------------------------------------------- //----------------------------------------------
destFile := pathWithSlashes+'/www/dolibarr/htdocs/install/install.forced.php'; destFile := pathWithSlashes+'/www/dolibarr/htdocs/install/install.forced.php';
@ -400,7 +393,6 @@ begin
SaveStringToFile(destFile,srcContents, False); SaveStringToFile(destFile,srcContents, False);
end end
DeleteFile(srcFile);
@ -422,9 +414,6 @@ begin
SaveStringToFile(destFile,srcContents, False); SaveStringToFile(destFile,srcContents, False);
end end
DeleteFile(srcFile);
@ -446,7 +435,6 @@ begin
SaveStringToFile(destFile,srcContents, False); SaveStringToFile(destFile,srcContents, False);
end end
DeleteFile(srcFile);
@ -469,7 +457,6 @@ begin
SaveStringToFile(destFile,srcContents, False); SaveStringToFile(destFile,srcContents, False);
end end
DeleteFile(srcFile);
@ -492,7 +479,6 @@ begin
SaveStringToFile(destFile,srcContents, False); SaveStringToFile(destFile,srcContents, False);
end end
DeleteFile(srcFile);
@ -537,7 +523,6 @@ DeleteFile(srcFile);
begin begin
SaveStringToFile(destFile,srcContents, False); SaveStringToFile(destFile,srcContents, False);
end end
//DeleteFile(SrcFile);
// Install services // Install services
@ -556,12 +541,11 @@ DeleteFile(srcFile);
// Remove dangerous files // Remove dangerous files
batFile := path+'\removefiles.bat'; batFile := path+'\removefiles.bat';
Exec(batFile, '',path+'\', SW_HIDE, ewWaitUntilTerminated, myResult); // Exec(batFile, '',path+'\', SW_HIDE, ewWaitUntilTerminated, myResult);
end end
Result := True; Result := True;
end; end;
@ -597,8 +581,6 @@ begin
//---------------------------------------------- //----------------------------------------------
// copie des dll de php vers apache // copie des dll de php vers apache
//---------------------------------------------- //----------------------------------------------
@ -665,6 +647,7 @@ Filename: "{app}\rundoliwamp.bat"; Description: "Launch Dolibarr now"; Flags: sh
[UninstallDelete] [UninstallDelete]
Type: files; Name: "{app}\*.*" Type: files; Name: "{app}\*.*"
Type: files; Name: "{app}\bin\mysql\mysq5.0.45\*.*"
Type: filesandordirs; Name: "{app}\alias" Type: filesandordirs; Name: "{app}\alias"
Type: filesandordirs; Name: "{app}\apps" Type: filesandordirs; Name: "{app}\apps"
Type: filesandordirs; Name: "{app}\bin\apache" Type: filesandordirs; Name: "{app}\bin\apache"

View File

@ -5,6 +5,9 @@
// et Romain Bourdon <romain@anaska.com> // et Romain Bourdon <romain@anaska.com>
// //
// icônes par Mark James <http://www.famfamfam.com/lab/icons/silk/> // icônes par Mark James <http://www.famfamfam.com/lab/icons/silk/>
//
// Modified from WampServer project by Laurent Destailleur (NLTechno)
// for DoliWamp project.