This commit is contained in:
Michael H.G. Schmidt 2024-01-03 23:56:48 +01:00
parent f1af0dc21a
commit b55be115a4

View File

@ -6,6 +6,7 @@ set OPT=..\optional
set SOFTWARE=..\software
set MSI=pdf24-setup.msi
set CONFIG=config\pdf24.reg
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
if NOT EXIST %SOFTWARE%\%MSI% (
echo ERROR: %SOFTWARE%\%MSI% not found!
@ -25,8 +26,11 @@ echo tweaking PDF24 ...
reg import %CONFIG%
echo removing Desktop icons ...
del /F /Q "%PUBLIC%\Desktop\PDF24.lnk" 2>nul
del /F /Q "%USERPROFILE%\Desktop\Online PDF Tools.url" 2>nul
del /F /Q "%PUBLIC%\Desktop\PDF24 Toolbox.lnk" 2>nul
del /F /Q "%PUBLIC%\Desktop\PDF24 Launcher.lnk" 2>nul
echo removing a Startmenu icon ...
del /F /Q %STARTMENU%"\PDF24 Launcher.lnk" 2>nul
echo refreshing desktop (W10 style) ...
ie4uinit.exe -show