[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-unattended/var/se3/unattended/install/scripts/ -> perl.bat (source)

   1  :: Yuck; I *hate* random delays.  But without this, Perl installation
   2  :: hangs on some (fast) systems.  I wish I knew what we were really
   3  :: waiting for.  See
   4  :: <http://www.mail-archive.com/unattended-info%40lists.sourceforge.net/msg01259.html>.
   5  @Echo off
   6  
   7  ping -n 15 localhost > nul
   8  
   9  :: Windows Installer 2.0 Redistributable for Windows NT 4.0 and 2000
  10  :: <http://www.microsoft.com/downloads/details.aspx?FamilyID=4B6140F9-2D36-4977-8FA1-6F8A0F5DCA8F>
  11  :: Doesn't hurt to install this as it exits nicely if not needed.
  12  :: URL|ALL|http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe|packages/windowsinstaller/instmsiw.exe
  13  %Z%\packages\windowsinstaller\InstMsiW.exe /q /c:"msiinst.exe /i instmsi.msi /q"
  14  
  15  :: Windows Installer 3.0 only installs on Win2000 SP3 or SP4,
  16  :: Win2003Server, WinXP, WinXP SP1
  17  :: (so we install version 2.0 and then upgrade to installer3 in
  18  :: win2k-updates.bat)
  19  
  20  if "%WINVER%" == "win2k" goto skipinstaller3
  21  
  22  :: Windows Installer 3.1 Redistributable
  23  :: <http://support.microsoft.com/kb/893803>
  24  :: <http://www.microsoft.com/downloads/details.aspx?familyid=889482FC-5F56-4A38-B838-DE776FD4138C>
  25  :: Doesn't hurt to install this as it exits nicely if not needed (Except on win2k).
  26  :: URL|ALL|http://download.microsoft.com/download/1/4/7/147ded26-931c-4daf-9095-ec7baf996f46/WindowsInstaller-KB893803-v2-x86.exe|packages/windowsinstaller/windowsinstaller-kb893803-v2-x86.exe
  27  %Z%\packages\windowsinstaller\windowsinstaller-kb893803-v2-x86.exe /passive /norestart
  28  :skipinstaller3
  29  
  30  :: URL|ALL|http://downloads.activestate.com/ActivePerl/releases/5.10.1.1007/ActivePerl-5.10.1.1007-MSWin32-x86-291969.msi|packages/perl/ActivePerl-5.10.1.1007-MSWin32-x86-291969.msi
  31  set perl_msi=%Z%\packages\perl\ActivePerl-5.10.1.1007-MSWin32-x86-291969.msi
  32  
  33  :retry
  34  if exist %perl_msi% goto have_perl
  35  echo %perl_msi% not found; press any key to retry.
  36  pause > nul
  37  goto retry
  38  
  39  :have_perl
  40  
  41  :: "PERL_PATH=Yes" instructs installer to add Perl to the PATH
  42  :: "PERL_EXT=Yes" instructs installer to associate .pl files with Perl
  43  :: (The latter is undocumented; see
  44  :: http://bugs.activestate.com/show_bug.cgi?id=20364)
  45  
  46  start /wait msiexec /qb /l* %SystemDrive%\netinst\logs\perl.txt /i %perl_msi% PERL_PATH=Yes PERL_EXT=Yes
  47  @if errorlevel 1 exit 1


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1