Hi Guys

My silent Installation with InstallShield of the software IBM AFP Viewer 3.7.0.1 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!
ynick
1 Comment   [ + ] Show Comment

Comments

  • have you tried removing the -f1 option?
Please log in to comment

Community Chosen Answer

1

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

Please log in to comment

Answers

0
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 3.7.0.1.

UninstallString: 

"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?
Thanks!


Answered 08/23/2016 by: ynick
White Belt

Please log in to comment
Answer this question or Comment on this question for clarity