normal Users ... #61

This commit is contained in:
Michael H.G. Schmidt 2022-11-13 22:12:39 +01:00
parent 501dcc9e40
commit 797daa23a1
38 changed files with 1446 additions and 1419 deletions

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set EXE=..\software\F-SecureNetworkInstaller-AV_AVTR20F930_.exe

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set OPT=..\optional
set SOFTWARE=..\software

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set OPT=..\optional
set SOFTWARE=..\software

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set EXE=..\software\citrixworkspace-setup.exe

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set OPT=..\optional
set SOFTWARE=..\software

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set OPT=..\optional
set SOFTWARE=..\software

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set EXE=..\software\horizon-setup.exe

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set EXE=..\software\inkscape-setup.exe
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set EXE=..\software\iview-setup.exe
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set CONFIG=config\install-java.txt
set EXE=..\software\java-setup.exe

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set CONFIG=config\install-keepass2.txt
set EXE=..\software\keepass2-setup.exe

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set CONFIG=config\install-moneyxplex.txt
set EXE=..\software\moneyplex-setup.exe

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set EXE=..\software\motorescue-setup.exe
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set EXE=..\software\obsstudio-setup.exe
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set OPT=..\optional
set SOFTWARE=..\software

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set OPT=..\optional
set SOFTWARE=..\software

View File

@ -1,6 +1,7 @@
@echo off
call check-for-admin
set T=c:\TEMP
set TOOLS=c:\tools
set CONFIG=config\install-purebasic.txt
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
@ -42,7 +43,7 @@ if EXIST %ZIP% (
rem remove old links ...
del /F /Q /A %PUBLIC%\Desktop\PureBasic*.lnk 2>nul
%TOOLS%\7z e -y -aoa -o%T%\purebasic %ZIP%
7z e -y -aoa -o%T%\purebasic %ZIP%
move /Y %T%\purebasic\PureBasic*.exe %T%\purebasic\purebasic-setup.exe
echo installing purebasic ...

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set OPT=..\optional
set SOFTWARE=..\software

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set OPT=..\optional
set SOFTWARE=..\software

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set CONFIG=config\install-sharemouse.txt
set EXE=..\software\sharemouse-setup.exe

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set OPT=..\optional
set CONFIG=config

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set EXE=..\software\sonos2-setup.exe
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set EXE=..\software\spotify-setup.exe

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set EXE=..\software\steam-setup.exe
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"

View File

@ -1,7 +1,6 @@
@echo off
set EXE=..\software\telegram-setup.exe
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
set STARTMENU_USER="%APPDATA%\Microsoft\Windows\Start Menu\Programs"
if NOT EXIST %EXE% (
@ -15,14 +14,11 @@ echo installing Telegram Desktop Client ...
start /wait %EXE% /silent /norestart %EXE%
echo moving Telegram startmenu shortcut ...
move /Y %STARTMENU_USER%\"Telegram Desktop\Telegram.lnk" %STARTMENU%
move /Y %STARTMENU_USER%\"Telegram Desktop\Telegram.lnk" %STARTMENU_USER%
echo removing Telegram startmenu folder ...
rd /S /Q %STARTMENU_USER%\"Telegram Desktop" 2>nul
echo moving Telegram Desktop icon ...
move /Y "%USERPROFILE%\Desktop\Telegram.lnk" %PUBLIC%\Desktop
rem refresh desktop (W10 style)
ie4uinit.exe -show

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set EXE=..\software\totalcommander-setup.exe
set KEY=..\comany\wincmd.key

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set CONFIG=config\install-vcesimulator.txt
set EXE=..\software\vce_exam_simulator_setup.exe

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set EXE=..\software\virtualbox-setup.exe
set VBOXMANAGE="%ProgramFiles%\Oracle\VirtualBox\VBoxManage.exe"

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set CONFIG=config\install-vscode.txt
set EXE=..\software\vscode-setup.exe

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
set CONFIG=config\install-xojo.txt
set EXE=..\software\xojo-setup.exe

View File

@ -1,4 +1,5 @@
# REMOVE the Store ...
check-for-admin.cmd
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'

View File

@ -1,4 +1,5 @@
@echo off
call check-for-admin
echo ####### %0 #######
rem most of this was took from:

View File

@ -1,6 +1,6 @@
@echo off
call check-for-admin
set TOOLS=c:\tools
set CONFIG=config\hakchi2_config.ini
set ZIP=..\software\hakchi2.zip
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
@ -16,7 +16,7 @@ echo killing hakchi2 processes...
taskkill /F /IM hakchi.exe 2>nul
echo unpacking Hakchi2 ...
%TOOLS%\7z x -y -aoa -o"%ProgramFiles(x86)%" %ZIP%
7z x -y -aoa -o"%ProgramFiles(x86)%" %ZIP%
echo copying config ...
mkdir "%ProgramFiles(x86)%\hakchi2\config" 2>nul

View File

@ -1,7 +1,7 @@
@echo off
call check-for-admin
set T=c:\TEMP
set TOOLS=c:\tools
set ZIP=..\software\mame64.7z
set TARGET=c:\MAME
set CONFIG=config\mame.ini
@ -21,7 +21,7 @@ rem create directory ...
mkdir %TARGET% 2>nul
echo unpacking MAME64 ...
%TOOLS%\7z x -y -aoa -o%T%\mame %ZIP%
7z x -y -aoa -o%T%\mame %ZIP%
echo moving files ...
move /Y %T%\mame\mame64.exe %TARGET%

View File

@ -1,8 +1,8 @@
@echo off
call check-for-admin
set TOOLS=c:\tools
set ZIP=..\software\snapcontrol.zip
set T=C:\TEMP
set ZIP=..\software\snapcontrol.zip
if NOT EXIST %ZIP% (
echo ERROR: %ZIP% not found!
@ -11,7 +11,7 @@ if NOT EXIST %ZIP% (
echo ####### %0 #######
%TOOLS%\7z e -y -aoa -o%T%\snapcontrol %ZIP% 1>nul
7z e -y -aoa -o%T%\snapcontrol %ZIP% 1>nul
%T%\snapcontrol\snapcontrol.exe /I
copy /Y %T%\snapcontrol\LICENSE.txt c:\snapshot
copy /Y %T%\snapcontrol\README.md c:\snapshot

View File

@ -1,6 +1,6 @@
@echo off
call check-for-admin
set TOOLS=c:\tools
set ZIP=..\software\winauth.zip
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
@ -15,7 +15,7 @@ echo killing WinAuth processes...
taskkill /F /IM winauth.exe 2>nul
echo unpacking WinAuth ...
%TOOLS%\7z x -y -aoa -o"%ProgramFiles(x86)%" %ZIP%
7z x -y -aoa -o"%ProgramFiles(x86)%" %ZIP%
echo copy startmenu link ...
copy /Y startmenu\WinAuth.lnk %STARTMENU%

View File

@ -4,7 +4,7 @@ net session >nul 2>&1
if NOT %ERRORLEVEL% == 0 (
echo ERROR: User has NO ADMINISTRATOR rights!
pause
exit /b
exit
)
echo OK. User is an ADMINISTRATOR.