2021-04-13 13:53:34 +02:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
set EXE=..\software\win32diskimager.exe
|
|
|
|
set STARTMENU="%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"
|
|
|
|
|
|
|
|
if NOT EXIST %EXE% (
|
|
|
|
echo ERROR: %EXE% not found!
|
|
|
|
exit /b
|
|
|
|
)
|
|
|
|
|
|
|
|
echo ####### %0 #######
|
|
|
|
|
|
|
|
echo installing WIN32DISKIMAGER ...
|
|
|
|
%EXE% /NORESTART /NOCANCEL /SILENT /SUPPRESSMSGBOXES /CLOSEAPPLICATIONS
|
|
|
|
|
|
|
|
echo changing startmenu folder ...
|
2023-01-15 17:52:06 +01:00
|
|
|
mkdir %STARTMENU%\Tools 2>nul
|
|
|
|
move /Y %STARTMENU%\"Image Writer\Win32DiskImager.lnk" %STARTMENU%\Tools
|
2021-04-13 13:53:34 +02:00
|
|
|
|
|
|
|
echo removing win32diskimager startmenu folder ...
|
|
|
|
rd /S /Q %STARTMENU%\"Image Writer" 2>nul
|
|
|
|
|
|
|
|
echo ####### %0 #######
|
2022-12-28 23:19:32 +01:00
|
|
|
|