diff --git a/optional/install-pdf24.cmd b/optional/install-pdf24.cmd index 6f35784..30b0744 100644 --- a/optional/install-pdf24.cmd +++ b/optional/install-pdf24.cmd @@ -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