About Silent Installation Using Answer Files

Asked 2 years ago, Updated 2 years ago, 65 views

After creating an answer file using the command below and performing a silent installation using the answer file, the ResultCode=-3 fails.
The reason for this error code is that the answer file does not have the necessary data, but the machine that created the answer file and the machine that installed it silently are the same, and there is no difference between the systems.Is there any possible cause?
The environment is Windows 10 pro.

>hogeapp.exe /r/f1 "c:\setup.iss"
>hogeapp.exe /s/f1 "c:\setup.iss" /f2 "c:\test.log"

test.log

ResponseResult
ResultCode=-3

windows

2022-09-30 21:48

1 Answers

Are you continuing to perform silent installation without uninstalling?

Installation in a first-time and pre-installed environment often changes the process.

Wouldn't an answer file automatically created with the first installation not be able to accommodate those situations?

Possible actions include:

  • Uninstall and then install silently
  • Silent installation on other PCs that are not installed
  • Create an answer file for installation in an installed environment. Check for installation separately and switch the answer file you specify

InstallShield FAQ article
01745: How to perform a silent install

1. Run the installation with the /r option from the command line and create an answer file

setup.exe /r

ダイアThe contents of the dialog will be automatically recorded in the answer file

2. Make sure Setup.iss is created in the Windows folder (c:\windows)

*After creating the answer file, the product is installed.Uninstall as necessary.

Articles that appear to be similar 11.2.3 Silent installation of installed clients

If you have already installed the quarantine client for V13.2.0, you will receive an error:\Disk1\setup.log file displays:

 InstallShield Silent
Version= v7.00
File=Log File
ResponseResult
ResultCode=-3

Appendix B Silent Install

Review and Action on Log Files
- Review Installation Results
 Open the log file and click ResponseResultSee "ResultCode" in the section.
 Below is the meaning of the reversion value.

 -3 Depending on the target system environment, the sequence is different from the answer file.
     ·Interstage resources remain under the installation folder, or Interstage has been installed
     ·Insufficient disk space
     ·Exclusive software exists
     ·If you specify an answer file created using a different version level/edition or an installer for a server package.


2022-09-30 21:48

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.