
Installgen
Features and Benefits
Installgen
Demo Available for download...
Bookmark This Page

echo off
REM script: 2_win_901_prepinstall_1.bat
REM Features: This windows batch file prompts the user to install
REM the Microsoft MSI installer, Activestate perl, winzip eval version
REM and the Mail::Sendmail, AdminMisc and LanMan Perl
REM modules.
REM
REM Script Sequence# : 2
REM Used By: run manually on Oracle server using Administrator account
REM Copyright 2002 by .com Solutions Inc.
REM
REM ---------------------- Revision History ---------------
REM Date By Changes
REM 11-27-2001 dsimpson Initial Release
REM 12-12-2001 dsimpson Added AdminMisc and LanMan perl modules to installation.
REM 12-23-2001 dsimpson Fixed xcopy for Mail::Sendmail, created director
REM for AdminMisc so user doesn't need to do this.
REM 04-21-2002 dsimpson Specified full directory path to create LanMan109 folder.
REM 08-9-2002 dsimpson Added full pathname for copying AdminMisc files.
REM Added path to ppm since it is not yet available in the ENV
REM variable when this script runs.
REM Removed install of MinGW compiler - since it is not supported
REM by Oracle for PL/SQL native compiliation.
REM Corrected Win32-Lanman, Win32-Daemon, Win32-AdminMisc
REM install commands which use Activestate ppm feature.
REM
REM This output file was created by Installgen version 1.38 on Thu Nov 14 17:16:25 2002. By .com Solutions Inc. www.dotcomsolutionsinc.net
echo.
echo Installing Microsoft MSI installer.
echo (This installer is used to install Activestate perl.)
echo [The MSI installer only needs installed on Windows NT 4 systems which do not already have it installed.]
echo.
start /wait /b InstMsi.exe
pause
echo.
echo Install Activestate Perl 5.6.1.
echo (Oracle installation and maintenance scripts are written in Perl.)
echo.
echo (Please install Perl at the top level of the C: drive - so that additional install steps will not fail.)
REM Note: ActivePerl-5.6.1.633-MSWin32-x86.msi is not certified for this installation due to
REM incompatibility with Win32::LanMan 1.0.9 and Win32::LanMan 1.0.9_1
start /wait /b ActivePerl-5.6.1.630-MSWin32-x86.msi
pause
echo.
echo Installing Winzip 8.0 (eval version).
echo.
start /wait /b winzip80.exe
pause
REM create MinGW folder on C drive - need to know where it is located for future scripts
REM mkdir C:\mingw
REM echo.
REM echo Uncompressing MinGW (GNU gcc compiler for Windows).
REM echo (The gcc compiler is used to compile Oracle PL/SQL packages and procedures into x86 machine code.)
REM echo.
REM echo Please use Winzip to uncompress MinGW into the C:\MinGW folder.
REM echo.
REM start /wait /b MinGW-1.1.tar.gz
REM pause
echo.
echo Uncompressing Mail::Sendmail perl module.
echo (This module sends email from Perl programs which monitor the database.)
echo (Please uncompress this file within the c:\oracle directory - A subdirectory will be automatically created.)
echo.
start /wait /b Mail-Sendmail-0.78.tar.gz
pause
echo.
echo Installing Mail::Sendmail module ...
echo.
mkdir c:\Perl\lib\Mail
xcopy /y c:\oracle\Mail-Sendmail-0.78\Sendmail.pm c:\Perl\lib\Mail\
echo.
echo Please update the c:\Perl\lib\Mail\Sendmail\sendmail.pm file with your SMTP server info.
REM from CPAN
echo.
pause
echo.
echo Uncompressing Win32::AdminMisc perl module.
echo (This module provides Windows API interfaces - including control of environment variables.)
echo.
echo Then uncompress this file into the AdminMisc directory.
REM from: ftp.roth.net/pub/ntperl/AdminMisc/
echo.
mkdir c:\oracle\AdminMisc
start /wait /b c:\oracle\AdminMisc_5006.Zip
pause
start C:\Perl\bin\ppm install c:\oracle\AdminMisc\Win32-AdminMisc.ppd
pause
echo.
echo Uncompressing Win32::LanMan 1.0.9 perl module.
echo (This module provides Windows Lan Manager API interfaces - including creation/deletion of services.)
REM from: ftp.roth.net/pub/ntperl/Others/Lanman/
echo.
echo Then uncompress this file into the LanMan109 directory.
echo.
mkdir c:\oracle\LanMan109
start /wait /b c:\oracle\LanMan_1_09.zip
pause
start C:\Perl\bin\ppm install c:\oracle\LanMan109\Win32-lanman.ppd
pause
echo.
echo Uncompressing Win32::Daemon perl module.
echo (This module allows perl programs to be Win32 Services.)
REM from: ftp.roth.net/pub/ntperl/Daemon/20011205/
echo.
echo Then uncompress this file into the daemon_perl directory.
echo.
mkdir daemon_perl
start /wait /b c:\oracle\daemon_5006.Zip
pause
start C:\Perl\bin\ppm install c:\oracle\daemon_perl\Win32-Daemon.ppd
pause
echo.
echo Please open a new command prompt window and start
echo running Perl script 3_win_901_prepinstall_1.pl.
echo.

