.
This commit is contained in:
parent
42779f3b27
commit
09bd6f5e4b
@ -167,6 +167,9 @@ echo.
|
||||
call install-xnview.cmd
|
||||
echo.
|
||||
|
||||
rem add full access rights to all users on public icons!
|
||||
icacls %PUBLIC%\Desktop\*.lnk /grant Users:F
|
||||
|
||||
echo #####################
|
||||
echo ### DISABLE tasks ###
|
||||
echo #####################
|
||||
@ -205,8 +208,8 @@ rem echo ENABLE firewall ...
|
||||
rem netsh advfirewall set allprofiles state on
|
||||
rem echo.
|
||||
|
||||
echo rebooting ...
|
||||
shutdown -g -t 0
|
||||
rem echo rebooting ...
|
||||
rem shutdown -g -t 0
|
||||
echo.
|
||||
|
||||
date /t
|
||||
|
@ -13,4 +13,7 @@ echo installing Microsoft Teams ...
|
||||
%EXE% -s
|
||||
timeout /T 10
|
||||
|
||||
echo renaming and moving Teams desktop link ...
|
||||
move /Y "%USERPROFILE%\Desktop\Microsoft Teams.lnk" "%PUBLIC%\Desktop\Teams.lnk"
|
||||
|
||||
echo ####### %0 #######
|
||||
|
@ -15,7 +15,7 @@ echo installing TotalCommander ...
|
||||
rem this runs in the background - we have to wait 10 seconds for it to complete ...
|
||||
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"
|
||||
|
||||
echo ####### %0 #######
|
||||
|
@ -9,6 +9,6 @@ if (! (Test-Path $MSIBUNDLE)) {
|
||||
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'
|
||||
|
||||
$ErrorActionPreference = "SilentlyContinue"
|
||||
Add-AppXPackage -path "$MSIBUNDLE"
|
||||
Add-AppXPackage -allusers -path "$MSIBUNDLE"
|
||||
|
||||
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'
|
||||
|
@ -11,4 +11,7 @@ taskkill /F /IM xnviewmp.exe 2>nul
|
||||
echo installing XnView ...
|
||||
%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 #######
|
||||
|
@ -25,6 +25,6 @@ del /S /Q /A %T%\%MSI% 1>nul 2>nul
|
||||
rd /S /Q %T%\PFiles
|
||||
|
||||
rem create symbolic link ...
|
||||
mklink %TOOLS%\tvnviewer.exe %TOOLS%\vnc.exe 2>nul
|
||||
mklink %TOOLS%\vnc.exe %TOOLS%\tvnviewer.exe 2>nul
|
||||
|
||||
echo ####### %0 #######
|
||||
|
Loading…
Reference in New Issue
Block a user