PDA

View Full Version : Silent Uninstallation failed to execute



AmitRout
11-29-2012, 05:34 AM
When executing the silent uninstall getting a non zero ResultCode hence failed to initiate the uninstalltion

"C:\Program Files (x86)\InstallShield Installation Information\{....}\setup.exe" -runfromtemp -l0x0409 -removeonly -s -f1"C:\...\uninstall.iss" -f2"C:\Log.txt"

Getting a non zero ResultCode in the file log.txt

Quick response will be appreciated...:)

Kevin.Wan
11-29-2012, 10:21 PM
Return Values for the Setup.log File

0 Success.

-1 General error.

-2 Invalid mode.

-3 Required data not found in the Setup.iss file.

-4 Not enough memory available.

-5 File does not exist.

-6 Cannot write to the response file.

-7 Unable to write to the log file.

-8 Invalid path to the InstallShield Silent response (.iss) file.

-9 Not a valid list type (string or number).

-10 Data type is invalid.

-11 Unknown error during setup.

-12 Dialog boxes are out of order.

-51 Cannot create the specified folder.

-52 Cannot access the specified file or folder.

-53 Invalid option selected.

AmitRout
11-30-2012, 01:18 AM
Thanks Kevin

The error code is coming -3 Required data not found in the Setup.iss file.

when i am running the uninstallation through recorded mode

"Access denied (0x5)" to some folders is coming

So the uninstallation is failing as it is not getting the required data from the iss file.

My question is why i am getting this error after running the uninstallation with Administrative privileges. :(