[Review for External] Steps to create and use a custom silent and unattended ENVI 5.0 - 5.3 SP1 / IDL 8.2 - 8.5.1 installation response file from product DVD or download file installer
Anonym
The ENVI and IDL product installers for Windows can be run using a custom silent and unattended response file (*.iss) to install (or uninstall) the software.
This help article discusses the syntax to record and use a custom silent and unattended install or uninstall response file for the product installer for ENVI (v5.0 through 5.3 SP1) and IDL (v8.2 through 8.5.1) for Windows. Also mentioned are instructions for generating a log file to trouble-shoot a silent/unattended installation.
----------------------------------------------------
Notes for working with a downloaded ENVI/IDL installer program file:
The preferred method for creating a custom silent and unattended response file for ENVI/IDL installation is to use the ENVI or IDL product installation DVD, which contains the already unpacked files needed to follow steps 2-4 below.
However, if you are working with a the ENVI/IDL for Windows product installer program downloaded from the www.HarrisGeospatial.com web site, you will first need to access archived files contained in the downloaded file (by starting the downloaded installer program and then pausing the program to copy the temporarily unpacked files), before being able to follow the rest of the instructions in this article. This initial step is described in step (1) below.
----------------------------------------------------
If you have the product installation DVD, these intermediate files are already available on the disk. In that case, you will be able to proceed to step (2) in the instructions below.
(Note that the ENVI/IDL 64-bit installers will install both the 64-bit and 32-bit versions of ENVI/IDL on a 64-bit Windows system. The 32-bit ENVI/IDL installers (IDL 8.4.x and earlier) should be used to install ENVI/IDL on a 32-bit system.)
CONTENTS:
1.) Accessing intermediate files from the downloaded ENVI/IDL product installer file.
2.) Recording and using a silent/unattended installation response file
3.) Recording and using a silent/unattended un-installation response file
4.) Creating a debug log during a silent/unattended installation
________________________________________
DETAILS:
===============================================
1.) Accessing intermediate files from the downloaded ENVI/IDL product installer file.
===============================================
a.) To create and use a silent and unattended setup response file from the downloaded ENVI/IDL installer from our web site, it is necessary to extract an intermediate "setup*.exe" file from the downloaded ENVI/IDL installer (self-extracting archive wrapper) executable.
----------------------------------------------------------------
NOTE: If you are installing from an ENVI/IDL DVD product installation disk,
the intermediate files should be directly available on the disk. In this
case you can proceed to step (2) in the instructions below. Locate the already
unpacked setup64.exe or setup32.exe file on the DVD to continue with the these
instructions.
----------------------------------------------------------------
To extract the intermediate files needed to generate a *.iss response file from the *downloaded* ENVI or IDL installer, when the ENVI or IDL graphic splash screen appears after launching the installer, but before continuing with the installation, folders like the following (they should all have a current create/modify date) should appear under the user’s %TEMP% directory location (enter %TEMP% from the Windows "Run..." dialog). (Note that, depending on the ENVI/IDL installer version being used, the folder/file identifiers may not appear exactly as shown below. Also, the Modified date/time of these folders should correspond to the current execution of the downloaded ENVI/IDL installer program.)
Example:
7zS638F.tmp
{0A7DB912-1360-4117-85D8-10DE5245292E}
{748D7752-8E71-41C3-B5E5-FA5BD48B19C3}
(If needed, to further identify the correct folders, one of the folders should contain "MSVC" related installation files. The other folder may contain (among other files) text files such as:
String1033.txt
license.rtf
which include mention of ENVI and/or IDL.)
Additionally at this stage, a file like the following will also have been created (the Modify date/time of the file should correspond to the current execution of the downloaded ENVI/IDL installer program):
a2e9.rra
-or-
23.tmp
(Although these are binary files, when viewed with a text editor, there should be some text data indicating that the file is related to ENVI and/or IDL.)
b.) Copy the above folders and file to a local directory for safe keeping. These folders/file will need to be provided when executing a silent/unattended installation with the response file generated through these instructions.
c.) Quit (by clicking on the "Cancel" button) out of the product installer session.
d.) Note that the "setup64.exe" (or "setup32.exe" for the 32-bit ENVI or IDL on 32-bit Windows) executable that will be needed in subsequent steps, is located under copied the “7zS638F.tmp” (or equivalent) folder.
===============================================
2.) Recording and using a silent/unattended installation response file
===============================================
A.) Recording a response file (switches: /r, /f1)
The syntax to record a silent and unattended installation *.iss file using setup64.exe (or setup32.exe) is as follows:
drive-letter:\path\setupXX.exe /r /f1"drive-letter:\path\filename.iss"
For example, to record a 64-bit setup response file at c:\exelisinstall\mysetup.iss:
c:\exelisinstall\setup64.exe /r /f1"c:\exelisinstall\mysetup.iss"
B.) Running the response file (switches: /s, /f1)
To use the recorded installation *.iss response file, invoke the /s switch instead of the /r switch in the setup command:
drive-letter:\path\setupXX.exe /s /f1"drive-letter:\path\filename.iss"
For example, to invoke a 64-bit installation using the response file c:\exelisinstall\mysetup.iss:
c:\exelisinstall\setup64.exe /s /f1"c:\exelisinstall\mysetup.iss"
===============================================
3.) Recording and using a silent/unattended un-installation response file
===============================================
A.) Recording a response file (switches: /r, /x, /f1)
The syntax to record a silent and unattended uninstallation *.iss file using setup64.exe (or setup32.exe)is as follows:
drive-letter:\path\setupXX.exe /r /x /f1"drive-letter:\path\filename.iss"
For example, to record a 64-bit uninstallation response file at c:\myuninstall.iss:
c:\exelisinstall\setup64.exe /r /x /f1"c:\exelisinstall\myuninstall.iss"
B.) Using the response file (switches: /s, /x, /f1)
To use the recorded uninstallation *.iss response file, invoke the /s switch instead of the /r switch, in addition to the /x switch, in the setup command:
drive-letter:\path\setupXX.exe /s /x /f1"drive-letter:\path\filename.iss"
For example, to invoke a 64-bit uninstallation using the response file c:\exelisinstall\myuninstall.iss:
c:\exelisinstall\setup64.exe /s /x /f1"c:\exelisinstall\myuninstall.iss"
===============================================
4.) Creating a debug log during a silent/unattended installation (switches: /s, /f1, /f2)
===============================================
To create a debug log from a silent and unattended installation you can additionally use the /f2 switch with the name of a debug log file as the argument. The syntax in this case is:
drive-letter:\path\setupXX.exe /s /f1"drive-letter:\path\filename.iss" /f2"drive-letter:\path\debuglogname.txt"
For example:
c:\exelisinstall\setup64.exe /s /f1"c:\myinstall.iss" /f2"c:\exelisinstall\mydebug.txt"
Reviewed by JU (5-may-2016)