w10install/optional/install-softmaker.cmd

33 lines
970 B
Batchfile
Raw Normal View History

2021-01-12 22:04:21 +01:00
@echo off
set SCRIPTS=..\scripts
set SOFTWARE=..\software
2021-02-27 20:07:28 +01:00
set MSI=softmaker-setup.msi
2021-01-12 22:04:21 +01:00
2021-02-27 20:07:28 +01:00
if NOT EXIST %SOFTWARE%\%MSI% (
echo ERROR: %SOFTWARE%\%MSI% not found!
exit /b
)
2021-01-12 22:04:21 +01:00
echo ####### %0 #######
cd %SOFTWARE%
@echo on
msiexec /i %MSI% /qb APPLICATIONFOLDER="c:\Program Files\Softmaker Office 2021" ^
2021-01-12 22:06:57 +01:00
INSTALLTM=1 INSTALLPM=1 INSTALLPR=1 INSTALLTB1=0 INSTALLTB2=0 /l*v c:\temp\softmaker.log
2021-01-12 22:04:21 +01:00
@echo off
2021-01-12 22:06:57 +01:00
del /F c:\temp\softmaker.log
2021-01-12 22:04:21 +01:00
cd %SCRIPTS%
echo installing desktop icons ...
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2021\PlanMaker 2021.lnk" ^
%PUBLIC%\Desktop\PlanMaker.lnk
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2021\Presentations 2021.lnk" ^
%PUBLIC%\Desktop\Presentations.lnk
copy /Y "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Softmaker Office 2021\TextMaker 2021.lnk" ^
%PUBLIC%\Desktop\Textmaker.lnk
echo ####### %0 #######
2021-03-02 21:47:42 +01:00
pause
2021-01-12 22:04:21 +01:00