Silent install not closing appliction. Installation aborts

Got a problem with Viscosity or need help? Ask here!

bmarien

Posts: 1
Joined: Fri Mar 11, 2016 7:27 pm

Post by bmarien » Fri Mar 11, 2016 7:49 pm
Hi,

We're trying to deploy the latest update of viscosity client on our windows 7 machines.

We have tried running the installer with several of the silent options
Code: Select all
C:\installers\ViscosityInstaller1.6.1.exe" /SP- /VERYSILENT /NORUN /LANG=english /FORCECLOSEAPPLICATIONS /SUPPRESSMSGBOXES /LOG
C:\installers\ViscosityInstaller1.6.1.exe" /SP- /VERYSILENT /NORUN /LANG=english /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS /LOG
C:\installers\ViscosityInstaller1.6.1.exe" /SP- /VERYSILENT /NORUN /LANG=english /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS /SUPPRESSMSGBOXES /LOG
but always run into folling error:
Code: Select all
2016-03-08 14:48:48.248   Log opened. (Time zone: UTC+01:00)
2016-03-08 14:48:48.248   Setup version: Inno Setup version 5.5.8 (u)
2016-03-08 14:48:48.248   Original Setup EXE: C:\installers\ViscosityInstaller1.6.1.exe
2016-03-08 14:48:48.248   Setup command line: /SL5="$xxxxxxxxxxx,C:\installers\ViscosityInstaller1.6.1.exe" /SP- /VERYSILENT /NORUN /LANG=english /CLOSEAPPLICATIONS /RESTARTAPPLICATIONS /SUPPRESSMSGBOXES /LOG
2016-03-08 14:48:48.248   Windows version: 6.1.7601 SP1  (NT platform: Yes)
2016-03-08 14:48:48.248   64-bit Windows: Yes
2016-03-08 14:48:48.248   Processor architecture: x64
2016-03-08 14:48:48.248   User privileges: Administrative
2016-03-08 14:48:48.264   64-bit install mode: Yes
2016-03-08 14:48:48.264   Created temporary directory: C:\Users\admin\AppData\Local\Temp\is-UHGIM.tmp
2016-03-08 14:48:48.295   Extracting temporary file: C:\Users\admin\AppData\Local\Temp\is-UHGIM.tmp\isxdl.dll
2016-03-08 14:48:48.342   Defaulting to Cancel for suppressed message box (OK/Cancel):
                          Setup has detected that Viscosity is currently running.
                          
                          Please close all instances of it now, then click OK to continue, or Cancel to exit.
2016-03-08 14:48:48.342   Got EAbort exception.
2016-03-08 14:48:48.342   Deinitializing Setup.
2016-03-08 14:48:48.342   Log closed.
 

Setup has detected that Viscosity is currently running.
None of the closeapplication swithces seem to work.

FYI: We're pushing the client with puppet. But that is actually completely irrelevant. If we run the installer manually from command prompt with the same options, we have the same results.


Any idea's how to go about his?


Thanks!

Bart

Eric

User avatar
Posts: 1146
Joined: Sun Jan 03, 2010 3:27 am

Post by Eric » Mon Mar 14, 2016 7:37 am
Hi Bart,

This dialog cannot be bypassed, you will need to have your puppet script or SCCM gracefully close Viscosity before running the installer. You can do this by issuing a command of "Viscosity.exe exit" as the user running Viscosity.

We've done it this way very much on purpose because using forcecloseapplications will not properly shut down any active connections Viscosity has running (it just kills the task) and can put the machine into a state where there are ghost connections active.

Regards,
Eric
Eric Thorpe
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
2 posts Page 1 of 1