Commit 475bc708 authored by Jay Dubb's avatar Jay Dubb
Browse files

-- Fix a minor thing in last change in sending print output from setup.bat...

-- Fix a minor thing in last change in sending print output from setup.bat when installing Homer3 executable to log file setup.log
-- Remove needless try catch from cleanup script
parent a92b2156
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -21,10 +21,7 @@ if dirnameInstall(end)~='/' & dirnameInstall(end)~='\'
end

if exist([dirnameInstall, 'homer3_install'],'dir')
    try
        rmdir_safe([dirnameInstall, 'homer3_install'],'s');
    catch
    end
    rmdir_safe([dirnameInstall, 'homer3_install']);
end
for ii=1:length(platform.homer3_exe(1))
    if exist([dirnameInstall, platform.homer3_exe{ii}],'file')==2
+4 −1
Original line number Diff line number Diff line
@@ -4,6 +4,9 @@
@echo   PLEASE WAIT ... INSTALLTION WILL START IN A FEW MINUTES ...
@echo.
@move .\installtemp .\setup.exe
@call .\setup.exe  1> setup.log 2>&1   
@echo.
@echo   NOTE: In case of installation failure, refer to log file setup.log .
@echo.
@(call .\setup.exe  1> setup.log 2>&1) | type setup.log 
@move .\setup.exe .\installtemp