w10install/scripts/install-openshell.cmd

32 lines
711 B
Batchfile
Raw Normal View History

2021-01-10 18:45:55 +01:00
@echo off
set SCRIPTS=..\scripts
set SOFTWARE=..\software
2021-02-03 12:42:10 +01:00
rem must be full qualified pathname (OpenShell BUG!)
set CONFIG=c:\tools\scripts\config\OpenshellSettings.xml
2021-01-10 18:45:55 +01:00
set EXE=OpenShellSetup_4_4_160.exe
set MSI=OpenShellSetup64_4_4_160.msi
echo ####### %0 #######
cd %SOFTWARE%
@echo on
%EXE% extract64
msiexec /i %MSI% ADDLOCAL=StartMenu,ClassicExplorer /passive
@echo off
rem cleanup ...
2021-02-03 12:42:10 +01:00
del /F %MSI%
cd %SCRIPTS%
echo removing OpenShell Readme file link ...
2021-02-03 07:51:05 +01:00
del /F "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Open-Shell\Open-Shell Readme.lnk"
2021-01-10 23:14:52 +01:00
2021-02-03 12:42:10 +01:00
echo loading OpenShell config ...
"%ProgramFiles%\Open-Shell\StartMenu.exe" -xml %CONFIG%
2021-01-10 18:45:55 +01:00
echo ####### %0 #######