DS1NMA Blog

Installshield make silent install record file. (setup.iss)

다른 프로그램에서 퍼온것으로 참고해서 사용하면 동작함.


Creating InstallShield Response Files

You can use the InstallShield installations on the Tivoli Management Framework (1 of 2) CD to create custom silent installation for Windows and NetWare endpoints, Netware gateways, and Tivoli Desktop for Windows. You can use your custom installation to install these resources without user interaction.

The high-level process for creating custom installation for InstallShield images is as follows:

  • To record a silent InstallShield installation, run the setup -r command.
  • To play back a silent InstallShield installation, run the setup -s command.

For an example of this procedure, refer to Installing the Tivoli Desktop on Windows Systems Using an InstallShield Response File.


Recording the Response File

To start recording the response file, perform the following steps:

  1. Change to the directory containing the setup script.
  2. Run the following command:
    setup -r -f1my_response_file.iss
    

    where my_response_file is any name you want to use. Remember that -f1 uses the number 1 instead of the lowercase letter L.

    For example, to create a response file for endpoint installation, you can call it endpoint.iss and store it in the c:\tivoli\endpoint\ directory. In this case, enter:

    setup -r -f1c:\tivoli\endpoint\endpoint.iss
    

    This action creates the response file in the designated location.

    Note:
    If no location is specified by the -f1 option, a setup.iss file is written to the %SystemRoot%\windir directory for Windows operating systems. For example on Windows NT, the directory might be c:\winnt; for Windows 98, it might be c:\windows.
  3. Complete the setup windows, actually completing a normal installation. The response file records all the setting specified.

At this point, you can install the endpoint in interactive mode, using setup.exe, or in unattended (or silent) mode, by pointing to the endpoint.iss file during playback.

Note:
There is also an -f2 option that is used to designate the location of the InstallShield log file. The InstallShield log file is created during the installation process. If no location is specified, the InstallShield log file is written to the same location as the response file.

Playing Back a Response File

After you have created your response file, you can run the installation. You can also copy the files to a network drive so that users can map to this drive and run the installation in interactive or unattended mode (depending on your business practices). When running the installation in unattended mode, no messages are displayed. All messages are written to the log file. Review this log file to determine the results of the installation.

To move the installation image to a network drive, perform the following steps:

  1. Copy the entire installation directory to a network drive.
  2. Copy the response file to this network drive.
  3. Create a shortcut to the setup.exe file.
  4. Rename the shortcut to something easily understood. In this case, consider endpoint.exe
  5. Modify the properties of the shortcut as follows (assume the new name):
    1. Right-click endpoint.exe and select Properties. The Properties window is displayed.
    2. In the Target field, add -s -f1response_file_path\endpoint.iss to the end of the command, where response_file_path is the full path to the response file.

      For example, the response file is stored in the tivoli\endpoint directory, the information in the Target field would be as follows:

      "c:\tivoli\endpoint\setup.exe" -s -f1c:\tivoli\endpoint\endpoint.iss

  6. Instruct users to map to this location and select the endpoint.exe file to install the endpoint.
Note:
With this design, users can run the command in interactive or unattended mode. To run in interactive mode, users select endpoint.exe. To run in unattended mode, users select endpoint.exe.

Alternatively, users can run the command from the command line. The general instructions to run a custom installation is to change to the directory containing the image and run the following command:

setup -s [-f1response_file] [-f2IS_log_file]

where:

-s
Specifies that the installation is to run in unattended mode.

-f1response_file
Specifies the file name and location of the customized response (.ISS) file. Do not include a space between -f1 and response_file. If you do not use this option, the default setup.iss file is used.

-f2IS_log_file
Specifies the file name and location where the InstallShield log files will be written. Do not include a space between -f2 and IS_log_file. If you do not use this option, the default setup.log file is created.


난 밤 안새우고 하루만에 성공했으나
며칠 테스트하고 공개할까 합니다.

일단 제 폰에서는 잘 돕니다.