Consultor Eletrônico



Kbase 20085: What are the Possible Causes of Installshield Failure RESULTCODE=-12?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/01/2008
Status: Unverified

GOAL:

What are the possible causes of Installshield failure RESULTCODE=-12?

FIX:

The InstallShield Silent (ISS) Utility allows Progress to install in silent or batch mode by recording installation input information to a response file that can be run later with the -s command line parameter. This Solution discusses some workarounds for the RESULTCODE=-12 error that can occur.

SOLUTION 1:

If you do not have enough disk space you will get a RESULTCODE of -12.

SOLUTION 2:

RESULTCODE of -12 may be seen if the silent installation procedure does not use the same dialog sequence as the template installation, or if an error causes the installation to be aborted.


In the SETUP.ISS, [DlgOrder] section of the utility there should be an entry similar to the following:

[DlgOrder]
Dlg0=Welcome Dialog-0
Count=9
Dlg1=SerialControlNumber Dialog-0
Dlg2=TargetDirectory Dialog-0
Dlg3=UserInstallationType Dialog-0
Dlg4=SdSelectFolder-0
Dlg5=LanguageChoice Dialog-0
Dlg6=International Settings Dialog-0
Dlg7=SdShowInfoList-0
Dlg8=RebootDialog-0

If Count=10 and an additional Dlg2=MessageBox-0 line, it could be that:

- The serial / control keys are wrong.
- An additional dialog has come up during the recording session.

Do the following:

1) Check to see if the serial and control codes are correct. They
are in the [SerialControlNumber Dialog-0] section and appear
as follows:

[SerialControlNumber Dialog-0]
nvCount=1
svSerialNumber-0=002784544
svControlNumber_1-0=Q6FSG
svControlNumber_2-0=EQR7M
svControlNumber_3-0=LGGYJ

2) If they are correct, then remove the extra line reading
"Dlg2=MessageBox-0".

3) Set the count=9 and re-number the lines in the [DlgOrder]
session.

Most likely some alert appeared during the recording
session and caused this additional entry to be placed in
the setup.iss file.

SOLUTION 3:

Make sure UNC file references are not being used to the setup.exe file. Map a drive on the local installation machine to the directory in which the Progress installation software is located.

Example:

Incorrect: \\anypc\91B\setup.exe -s -f1... -f2...
Corect : T:\setup.exe -s -f1... -f2...

SOLUTION 4:

Make sure to check the correctness of the WebServer installation directory (if any) in the [WebServer Dialog-0] section. Look at the '_szCGIScriptDir' and '_szDocRootDir' entries.


References to Written Documentation:

Progress Knowledge Base Solution 19657, InstallShield failed (resultcode =xx) Installshield Errors