Scripting Question

Silent Install InstallShield AFP Viewer

08/19/2016 1934 views
Hi Guys

My silent Installation with InstallShield of the software IBM AFP Viewer doesn't work.
The manual installation works fine!

What i did:

'Create ISS answer file
gnsp32dm.exe -r -f1"C:\Temp\AFP.iss"

'When i run the setup silently using a previously created ISS answer file i get the following error:

gnsp32dm.exe -s -f1"C:\Temp\AFP.iss"

Error -2147213312

When i run the setup without the -s, the installer doesn't show me the settings in the AFP.iss.

What is wrong?

Thanks a lot!
2 Comments   [ + ] Show comments


  • have you tried removing the -f1 option?
  • I've "inherited" a silent install of this little puppy. I just found out that no installs go through and I've beat myself bloody over that pesky 105 error. After some hours I found that the ISS-file targets a specific browser version. So when the browser is updated (hello frequent windows updates...) the installer fails. With a 105 error. Perfect. I'm not sure as of yet how to solve this. But I'd rather write it up here and save som poor admin some headache later on.... My eyes are bleeding, time to go home.

Community Chosen Answer


Of course, you will have researched that error code and been flummoxed by what you found - "The installation was cancelled by the user" because there is no interactive user present who could cancel the installation.

I'd bet my last pound/dollar that, because you haven't specified a log file, the installer is defaulting to the location of the installing EXE, to which the account you're using has no write access.

Use the "-f2" argument to add a log file. Remember that, because the original IS developers had no clue how to properly parse text strings, the path *MUST* immediately follow the argument, as in -f2c:\temp\somelognameorother.log

Answered 08/22/2016 by: VBScab
Red Belt

All Answers

Ok, the silent installation seems to work now with my parameters. I have recorded to much (associate .afp with Internet Explorer)

But now i have a problem with the silent uninstallation of BM AFP Viewer


"C:\Program Files (x86)\InstallShield Installation Information\{693638CE-718D-4CE5-97F6-CCD64762E500}\setup.exe" -runfromtemp -l0x0009 -uninst -removeonly

Manually it works perfect! How can i do a silent uninstallation?

What i tried:

-> "C:\Program Files (x86)\InstallShield Installation Information\{693638CE-718D-4CE5-97F6-CCD64762E500}\setup.exe" -s -runfromtemp -l0x0009 -uninst -removeonly          -> Uninstall doesnt work!

-> record an uninstall.iss file 
-> "C:\Program Files (x86)\InstallShield Installation Information\{693638CE-718D-4CE5-97F6-CCD64762E500}\setup.exe" -s -f1"C:\Temp\Uninstall.iss" -runfromtemp -l0x0009 -uninst -removeonly  -> Uninstall doesnt work!

Do you have an idea?

Answered 08/23/2016 by: ynick
White Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ