This commit is contained in:
Michael H.G. Schmidt 2021-02-28 22:17:02 +01:00
parent 42779f3b27
commit 09bd6f5e4b
6 changed files with 14 additions and 5 deletions

View File

@ -167,6 +167,9 @@ echo.
call install-xnview.cmd call install-xnview.cmd
echo. echo.
rem add full access rights to all users on public icons!
icacls %PUBLIC%\Desktop\*.lnk /grant Users:F
echo ##################### echo #####################
echo ### DISABLE tasks ### echo ### DISABLE tasks ###
echo ##################### echo #####################
@ -205,8 +208,8 @@ rem echo ENABLE firewall ...
rem netsh advfirewall set allprofiles state on rem netsh advfirewall set allprofiles state on
rem echo. rem echo.
echo rebooting ... rem echo rebooting ...
shutdown -g -t 0 rem shutdown -g -t 0
echo. echo.
date /t date /t

View File

@ -13,4 +13,7 @@ echo installing Microsoft Teams ...
%EXE% -s %EXE% -s
timeout /T 10 timeout /T 10
echo renaming and moving Teams desktop link ...
move /Y "%USERPROFILE%\Desktop\Microsoft Teams.lnk" "%PUBLIC%\Desktop\Teams.lnk"
echo ####### %0 ####### echo ####### %0 #######

View File

@ -15,7 +15,7 @@ echo installing TotalCommander ...
rem this runs in the background - we have to wait 10 seconds for it to complete ... rem this runs in the background - we have to wait 10 seconds for it to complete ...
timeout /T 10 timeout /T 10
echo renaming TotalCommander desktop link ... echo renaming and moving TotalCommander desktop link ...
move /Y "%USERPROFILE%\Desktop\Total Commander*" "%PUBLIC%\Desktop\Total Commander.lnk" move /Y "%USERPROFILE%\Desktop\Total Commander*" "%PUBLIC%\Desktop\Total Commander.lnk"
echo ####### %0 ####### echo ####### %0 #######

View File

@ -9,6 +9,6 @@ if (! (Test-Path $MSIBUNDLE)) {
write-host '#######',(split-path $PSCommandPath -Leaf),'#######' write-host '#######',(split-path $PSCommandPath -Leaf),'#######'
$ErrorActionPreference = "SilentlyContinue" $ErrorActionPreference = "SilentlyContinue"
Add-AppXPackage -path "$MSIBUNDLE" Add-AppXPackage -allusers -path "$MSIBUNDLE"
write-host '#######',(split-path $PSCommandPath -Leaf),'#######' write-host '#######',(split-path $PSCommandPath -Leaf),'#######'

View File

@ -11,4 +11,7 @@ taskkill /F /IM xnviewmp.exe 2>nul
echo installing XnView ... echo installing XnView ...
%EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS %EXE% /LOADINF=%CONFIG% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
echo renaming and moving XnView desktop link ...
move /Y "%USERPROFILE%\Desktop\XnViewMP.lnk" "%PUBLIC%\Desktop"
echo ####### %0 ####### echo ####### %0 #######

View File

@ -25,6 +25,6 @@ del /S /Q /A %T%\%MSI% 1>nul 2>nul
rd /S /Q %T%\PFiles rd /S /Q %T%\PFiles
rem create symbolic link ... rem create symbolic link ...
mklink %TOOLS%\tvnviewer.exe %TOOLS%\vnc.exe 2>nul mklink %TOOLS%\vnc.exe %TOOLS%\tvnviewer.exe 2>nul
echo ####### %0 ####### echo ####### %0 #######