Skip to content
viscosity silent install
Got a problem with Viscosity or need help? Ask here!
Hi,
I am installing Viscosity 1.4.7 with SCCM and powershell script
------------------------------------------------------------------------------------------------------------------------------
$scriptPath = split-path -parent $MyInvocation.MyCommand.Definition
certutil -addstore "TrustedPublisher" $scriptPath\sparklabs.cer
$exeFile = "$scriptPath\Viscosity_Installer_1.4.7.exe"
#Install Viscosity
Start-Process $exeFile -ArgumentList "/sp-", "/verysilent", "/NORUN", "/NOCANCEL", "/NORESTART", "/NOCLOSEAPPLICATIONS", "/NORESTARTAPPLICATIONS" -Verb RunAs -Wait
$inst_dir = "${Env:ProgramFiles}\Viscosity"
#Copy settings file
Copy-Item -Path $scriptPath\Settings.xml -Destination $inst_dir\GlobalSettings.xml -Force
-----------------------------------------------------------------------------------------------------------------------------
Installation goes thru fine but, i get the error "Background Service Not Running" (see image in attachment), the virtual adapter is/can`t be created, as i can see.
I don`t have that problem when installing manually, and with silent install of previous versions.
Regards
I am installing Viscosity 1.4.7 with SCCM and powershell script
------------------------------------------------------------------------------------------------------------------------------
$scriptPath = split-path -parent $MyInvocation.MyCommand.Definition
certutil -addstore "TrustedPublisher" $scriptPath\sparklabs.cer
$exeFile = "$scriptPath\Viscosity_Installer_1.4.7.exe"
#Install Viscosity
Start-Process $exeFile -ArgumentList "/sp-", "/verysilent", "/NORUN", "/NOCANCEL", "/NORESTART", "/NOCLOSEAPPLICATIONS", "/NORESTARTAPPLICATIONS" -Verb RunAs -Wait
$inst_dir = "${Env:ProgramFiles}\Viscosity"
#Copy settings file
Copy-Item -Path $scriptPath\Settings.xml -Destination $inst_dir\GlobalSettings.xml -Force
-----------------------------------------------------------------------------------------------------------------------------
Installation goes thru fine but, i get the error "Background Service Not Running" (see image in attachment), the virtual adapter is/can`t be created, as i can see.
I don`t have that problem when installing manually, and with silent install of previous versions.
Regards
Attachments
viscosity_1.4.7.png (77.58 KiB) Viewed 8841 times
Hi astoshevs,
We've seen this once before with SCCM but I'm afraid we never got to the bottom of it as the problem doesn't occur with GPO deployments and we know of other SCCM users that haven't had any issues. Viscosity runs a shell to install and install the service during the installer, our only theory is SCCM blocks this shell access somehow.
Fortunately, it's quite simple to add a couple of tasks to your script in order to install and start the service after the Viscosity installer is finished. Viscosity will take care of the rest of the setup the first time it starts, you just need to run the following two commands:
Regards,
Eric
We've seen this once before with SCCM but I'm afraid we never got to the bottom of it as the problem doesn't occur with GPO deployments and we know of other SCCM users that haven't had any issues. Viscosity runs a shell to install and install the service during the installer, our only theory is SCCM blocks this shell access somehow.
Fortunately, it's quite simple to add a couple of tasks to your script in order to install and start the service after the Viscosity installer is finished. Viscosity will take care of the rest of the setup the first time it starts, you just need to run the following two commands:
Code: Select all
Let us know if you have any issues.sc create ViscosityService binPath= "C:\Program Files\Viscosity\ViscosityService.exe start= auto DisplayName= "Viscosity Service"
sc start ViscosityService
Regards,
Eric
Eric Thorpe
Viscosity Developer
Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
Viscosity Developer
Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
4 posts
Page 1 of 1