diff --git a/build_server.bat b/build_server.bat index 97af214f..cbbae286 100644 --- a/build_server.bat +++ b/build_server.bat @@ -15,12 +15,6 @@ if %errorlevel% neq 0 exit /b %errorlevel% msbuild UrBackupBackend.sln /p:Configuration=Release /p:Platform="x64" if %errorlevel% neq 0 exit /b %errorlevel% -msbuild UrBackupBackend.sln /p:Configuration="Release Server PreVista" /p:Platform="win32" -if %errorlevel% neq 0 exit /b %errorlevel% - -msbuild UrBackupBackend.sln /p:Configuration="Release Server PreVista" /p:Platform="x64" -if %errorlevel% neq 0 exit /b %errorlevel% - msbuild UrBackupBackend.sln /p:Configuration="Release Service" /p:Platform="x64" if %errorlevel% neq 0 exit /b %errorlevel% @@ -42,18 +36,6 @@ if %errorlevel% neq 0 exit /b %errorlevel% mkdir "x64\Release Server" copy /Y "urbackupserver\x64\Release Server\*" "x64\Release Server\" -msbuild urbackupserver\urbackupserver.vcxproj /p:Configuration="Release Server PreVista" /p:Platform="x64" -if %errorlevel% neq 0 exit /b %errorlevel% - -mkdir "RRelease Server PreVista" -copy /Y "urbackupserver\Release Server PreVista\*" "Release Server PreVista\" - -msbuild urbackupserver\urbackupserver.vcxproj /p:Configuration="Release Server PreVista" /p:Platform="win32" -if %errorlevel% neq 0 exit /b %errorlevel% - -mkdir "x64\Release Server PreVista" -copy /Y "urbackupserver\x64\Release Server PreVista\*" "x64\Release Server PreVista\" - call "%~dp0urbackupserver_installer_win/generate_msi.bat" if %errorlevel% neq 0 exit /b %errorlevel% diff --git a/urbackupserver_installer_win/data_common/urbackup_dsa.pub b/urbackupserver_installer_win/data_common/urbackup_dsa.pub deleted file mode 100644 index cf1daaf5..00000000 Binary files a/urbackupserver_installer_win/data_common/urbackup_dsa.pub and /dev/null differ diff --git a/urbackupserver_installer_win/data_common/urbackup_ecdsa409k1.pub b/urbackupserver_installer_win/data_common/urbackup_ecdsa409k1.pub new file mode 100644 index 00000000..12e47f80 Binary files /dev/null and b/urbackupserver_installer_win/data_common/urbackup_ecdsa409k1.pub differ diff --git a/urbackupserver_installer_win/update_data.bat b/urbackupserver_installer_win/update_data.bat index 7224dcd7..cad23f44 100644 --- a/urbackupserver_installer_win/update_data.bat +++ b/urbackupserver_installer_win/update_data.bat @@ -8,12 +8,12 @@ mkdir data copy /Y "..\Release Server\urbackupserver.dll" "data\urbackupserver.dll" if %errorlevel% neq 0 exit /b %errorlevel% -copy /Y "..\Release Server PreVista\urbackupserver.dll" "data\urbackupserver_prevista.dll" -if %errorlevel% neq 0 exit /b %errorlevel% - copy /Y "..\release\fsimageplugin.dll" "data\fsimageplugin.dll" if %errorlevel% neq 0 exit /b %errorlevel% +copy /Y "..\release\fileservplugin.dll" "data\fileservplugin.dll" +if %errorlevel% neq 0 exit /b %errorlevel% + mkdir data_common copy /Y "..\server-license.txt" "data_common\license.txt" @@ -72,3 +72,6 @@ if %errorlevel% neq 0 exit /b %errorlevel% copy /Y "..\x64\Release\cryptoplugin.dll" "data_x64\cryptoplugin.dll" if %errorlevel% neq 0 exit /b %errorlevel% + +copy /Y "..\x64\release\fileservplugin.dll" "data_x64\fileservplugin.dll" +if %errorlevel% neq 0 exit /b %errorlevel% diff --git a/urbackupserver_installer_win/urbackup_server.nsi b/urbackupserver_installer_win/urbackup_server.nsi index fa796caf..711d2586 100644 --- a/urbackupserver_installer_win/urbackup_server.nsi +++ b/urbackupserver_installer_win/urbackup_server.nsi @@ -135,14 +135,13 @@ Section "install" SetOutPath "$INSTDIR" File "data_common\args.txt" - File "data_common\args_prevista.txt" File "data_common\license.txt" File "data_common\cleanup.bat" File "data_common\remove_unknown.bat" File "data_common\reset_pw.bat" File "data_common\cleanup_database.bat" File "data_common\defrag_database.bat" - File "data_common\urbackup_dsa.pub" + File "data_common\urbackup_ecdsa409k1.pub" File "data_common\repair_database.bat" File "data_common\export_auth_log.bat" File "data_common\uncompress_image.bat" @@ -184,49 +183,11 @@ Section "install" SetOutPath "$INSTDIR\urbackup\www\js" File "data_common\urbackup\www\js\*.js" - - - ${IfNot} ${RunningX64} - ${If} ${IsWinXP} - StrCpy $0 "$INSTDIR\args_prevista.txt" ;Path of copy file from - StrCpy $1 "$INSTDIR\args.txt" ;Path of copy file to - StrCpy $2 0 ; only 0 or 1, set 0 to overwrite file if it already exists - System::Call 'kernel32::CopyFile(t r0, t r1, b r2) l' - Pop $0 - ;SetRebootFlag true - ${EndIf} - ${If} ${IsWin2003} - StrCpy $0 "$INSTDIR\args_prevista.txt" ;Path of copy file from - StrCpy $1 "$INSTDIR\args.txt" ;Path of copy file to - StrCpy $2 0 ; only 0 or 1, set 0 to overwrite file if it already exists - System::Call 'kernel32::CopyFile(t r0, t r1, b r2) l' - Pop $0 - ;SetRebootFlag true - ${EndIf} - ${Else} - ${If} ${IsWin2003} - StrCpy $0 "$INSTDIR\args_prevista.txt" ;Path of copy file from - StrCpy $1 "$INSTDIR\args.txt" ;Path of copy file to - StrCpy $2 0 ; only 0 or 1, set 0 to overwrite file if it already exists - System::Call 'kernel32::CopyFile(t r0, t r1, b r2) l' - Pop $0 - ;SetRebootFlag true - ${EndIf} - ${EndIf} - CreateDirectory "$SMPROGRAMS\UrBackup Server" CreateShortCut "$SMPROGRAMS\UrBackup Server\Uninstall.lnk" "$INSTDIR\Uninstall.exe" "" "$INSTDIR\Uninstall.exe" 0 CreateShortCut "$SMPROGRAMS\UrBackup Server\UrBackup Server Interface.lnk" "http://localhost:55414" "" "$INSTDIR\urbackup\www\favico.ico" 0 - ;SetOutPath "$SMPROGRAMS\UrBackup Server" - ;File "data_common\UrBackup Server Interface.htm" - ${If} ${IsWinXP} - nsisFirewallW::AddAuthorizedApplication "$INSTDIR\urbackup_srv.exe" "UrBackup Windows Server" - ${ElseIf} ${IsWin2003} - nsisFirewallW::AddAuthorizedApplication "$INSTDIR\urbackup_srv.exe" "UrBackup Windows Server" - ${Else} - liteFirewallW::AddRule "$INSTDIR\urbackup_srv.exe" "UrBackup Windows Server" - ${EndIf} + liteFirewallW::AddRule "$INSTDIR\urbackup_srv.exe" "UrBackup Windows Server" Pop $0