Helper Tools Installation Failed

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

sparkplug77

Posts: 4
Joined: Tue Nov 16, 2021 10:21 pm

Post by sparkplug77 » Tue Nov 16, 2021 10:24 pm
"Helper Tools Installation Failed
Viscosity was unable to install or upgrade its helper tools and must now quit. Please ensure that Viscosity has been correctly installed and isn't being blocked by any security software, and then reopen Viscosity to try again.

Error: Code signature on update bundle is invalid"

I keep getting this error on Monterey.

Viscosity worked fine in Big Sur but as soon as I updated to Monterey, I started getting this error. Updating to beta version 1.10.1 b3 of Viscosity solved the issue.
Now I got an update to 1.10.1 and the issue is back. I have tried everything. Reinstalling, deleting helper tool etc.

James

User avatar
Posts: 2124
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Wed Nov 17, 2021 12:16 am
Hi sparkplug77,

Viscosity 1.10.1 now alerts you if the helper tools could not be updated, and the reason why. Helper tools consist of things like the OpenVPN binaries. Older versions of Viscosity would ignore a helper tools update failure and just attempt to run with the existing older tools. However that means things like OpenVPN (and its associated OpenSSL libraries) were not getting updated, which could potentially lead to security issues down the track.

In your case the helper tools are failing to install because the "Code signature on update bundle is invalid". This means that the Viscosity application has been modified in some way that has broken its code signature. It's likely the helper tools were failing to update with previous versions of Viscosity as well, however you were not aware this was the case as Viscosity wasn't alerting you.

The most common cause we see for an unexpected broken code signature is copying the Viscosity application using an incorrect terminal command. For example, if copying Viscosity using "cp", make sure you're using "cp -R" and not "cp -r" as the behaviour of these differ, with the latter not preserving the extended attributes on the files or the symlink structure of frameworks. These changes cause the code signature on applications to break. Try downloading a fresh copy of Viscosity from our website and copy it into place using click-and-drag:
https://www.sparklabs.com/viscosity/download/

Please also ensure that any security, antivirus, or similar software is not attempting to modify Viscosity. Some enterprise end point security software may inadvertently modify an application, which can also cause the code signature to break. Often whitelisting Viscosity in these applications can help.

You can test the code signature on the Viscosity application by entering the command
Code: Select all
codesign -vvvv /Applications/Viscosity.app
into the Terminal and pressing Return/Enter. If the code signature is valid you should see something like "Viscosity.app: valid on disk" near the end. If it's invalid you'll receive a different message with more information.

Cheers,
James
James Bekkema
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

sparkplug77

Posts: 4
Joined: Tue Nov 16, 2021 10:21 pm

Post by sparkplug77 » Wed Nov 17, 2021 12:32 am
Running this command "codesign -vvvv /Applications/Viscosity.app" returns

/Applications/Viscosity.app: valid on disk
/Applications/Viscosity.app: satisfies its Designated Requirement

I have downloaded the file from your website and transferred into 'Application' by click and drag in DMG. Same error.
Installing with brew also gives same error.

In the meantime can I get a copy of 1.10.1 b3?

No antivirus. I keep gatekeeper disabled too.

James

User avatar
Posts: 2124
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Wed Nov 17, 2021 1:09 am
In the meantime can I get a copy of 1.10.1 b3?
The previous version of Viscosity, version 1.10, can be downloaded from the link below. I'm afraid we don't keep old beta versions available for long.
https://swupdate.sparklabs.com/download ... 201.10.dmg
Running this command "codesign -vvvv /Applications/Viscosity.app" returns
Also try
Code: Select all
spctl --assess --verbose /Applications/Viscosity.app
to ensure that it's not an issue accepting the Apple Developer ID signing on your computer.

Cheers,
James
James Bekkema
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs

sparkplug77

Posts: 4
Joined: Tue Nov 16, 2021 10:21 pm

Post by sparkplug77 » Wed Nov 17, 2021 2:10 am
I get this
Applications/Viscosity.app: accepted
source=Notarized Developer ID
override=security disabled

Unfortunately 1.10 gives the same error.

sparkplug77

Posts: 4
Joined: Tue Nov 16, 2021 10:21 pm

Post by sparkplug77 » Wed Nov 17, 2021 2:26 am
The strangest thing happened. I opened the Viscosity app from inside the DMG file and installed the helper. It worked fine. Transferred the app to /Applications after that and it is still working.

Cheers.

James

User avatar
Posts: 2124
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Wed Nov 17, 2021 2:34 pm
Unfortunately 1.10 gives the same error.
Version 1.10 does not have this check in place, it's not possible for it to display the same error message. I recommend checking that the correct version of Viscosity is being run. If you have multiple copies installed perhaps the wrong copy is being run, and that's why nothing seems to be making a difference.
The strangest thing happened. I opened the Viscosity app from inside the DMG file and installed the helper. It worked fine.
Glad to hear you got it working. Perhaps there is a problem with the file system on your drive (if this is a "hackintosh" there may be something wrong with the APFS driver being used). Or as above, perhaps the wrong version of Viscosity was being run previously (for example, maybe you're copying it to your global Applications folder, but then running a different copy from an Applications folder in your User directory).

Cheers,
James
James Bekkema
Viscosity Developer

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