Integrate draw.io Desktop #113
This commit is contained in:
parent
604feb77ef
commit
87fed8177f
34
optional/install-drawio.cmd
Normal file
34
optional/install-drawio.cmd
Normal file
@ -0,0 +1,34 @@
|
||||
@echo off
|
||||
call check-for-admin
|
||||
if %ERRORLEVEL% neq 0 exit /b
|
||||
|
||||
set SOFTWARE=..\software
|
||||
set MSI=drawio-setup.msi
|
||||
set STARTMENU=%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs
|
||||
set STARTMENU_USER=%APPDATA%\Microsoft\Windows\Start Menu\Programs
|
||||
|
||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo ####### %0 #######
|
||||
|
||||
echo installing Draw-IO ...
|
||||
cd %SOFTWARE%
|
||||
@echo on
|
||||
msiexec /i %MSI% /passive
|
||||
@echo off
|
||||
cd %OPT%
|
||||
|
||||
echo moving Draw-IO startmenu shortcut ...
|
||||
move /Y "%STARTMENU_USER%\draw.io.lnk" "%STARTMENU%"
|
||||
icacls "%STARTMENU%\draw.io.lnk" /grant Users:R
|
||||
|
||||
echo moving Draw-IO desktop link to public desktop ...
|
||||
move /Y "%USERPROFILE%\Desktop\draw.io.lnk" "%PUBLIC%\Desktop"
|
||||
icacls "%PUBLIC%\Desktop\draw.io.lnk" /grant Users:R
|
||||
|
||||
echo ####### %0 #######
|
||||
pause
|
||||
|
@ -35,4 +35,4 @@ https://download3.pdf24.org/pdf24-creator-11.1.0.msi pdf24-setup.msi
|
||||
https://static.tp-link.com/2019/201911/20191115/Archer-T5E(UN)_V1_191116_Bluetooth.zip archerT5E-bluetooth.zip
|
||||
https://static.tp-link.com/2019/201911/20191115/Archer-T5E(UN)_V1_191116_Wi-Fi.zip archerT5E-wifi.zip
|
||||
https://www.heidisql.com/installers/HeidiSQL_12.3.0.6589_Setup.exe heidisql-setup.exe
|
||||
|
||||
https://github.com/jgraph/drawio-desktop/releases/download/v21.6.5/draw.io-21.6.5.msi drawio-setup.msi
|
||||
|
|
Loading…
Reference in New Issue
Block a user