From a7f89980e5b3f4b9a74c70dbc5ffe8aabd28be28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 6 Jul 2014 18:04:32 +0200 Subject: Imported Upstream version 2.9.3 --- scripts/install.cmd | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 scripts/install.cmd (limited to 'scripts/install.cmd') diff --git a/scripts/install.cmd b/scripts/install.cmd new file mode 100644 index 0000000..da0e860 --- /dev/null +++ b/scripts/install.cmd @@ -0,0 +1,26 @@ +@echo off +REM install Windows ipmiutil on this system +REM install the DLLs, registry entries, and start the checksel task +REM Use the current directory as the starting path +set ipmiutildir=%CD% +set orgdir=%SystemDrive%\Program Files\sourceforge +set installdir=%orgdir%\ipmiutil + +REM DLLs: showsel.dll, libeay32.dll, ssleay32.dll +copy *.dll %SystemRoot%\system32 +%ipmiutildir%\showsel.reg + +echo Copying files to "%installdir%" +mkdir "%orgdir%" +mkdir "%installdir%" +copy "%ipmiutildir%\*.*" "%installdir%" + +REM echo PATH=%PATH% +set PATH=%PATH%;%installdir% + +set pathkey="HKLM\System\CurrentControlSet\Control\Session Manager\Environment" +reg add %pathkey% /v Path /t REG_EXPAND_SZ /d "%PATH%;%installdir%" +REM reg query %pathkey% /v Path + +at 23:30 /every:m,t,w,th,f,s,su "%installdir%\checksel.cmd" >"%installdir%\checksel.id" + -- cgit v1.2.3