Install Location

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

sam_frontier

Posts: 1
Joined: Mon Aug 21, 2023 9:08 pm

Post by sam_frontier » Mon Aug 21, 2023 9:39 pm
Hi,

I'd like to run ViscosityCC.exe from unattended scripts. I've looked through my registry and whilst there are many Viscosity references, I can see no obvious entry for the install location (I was expecting a HKEY_LOCAL_MACHINE/SOFTWARE/SPARKLABS for example).

Is there a reliable/approved method for determining the install directory?

Regards,
Sam

James

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

Post by James » Tue Aug 22, 2023 7:19 pm
Hi Sam,

Viscosity's installer does not explicitly write its install location key to the registry, however you could pull the location from the Windows software section (which is used by Add/Remove programs). "CC85567E-DC83-4BB5-AD77-D84514C0D059" is the UUID for Viscosity in this area. For example
Code: Select all
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CC85567E-DC83-4BB5-AD77-D84514C0D059}_is1/InstallLocation

Generally however Viscosity should be installed to
Code: Select all
%ProgramFiles%\Viscosity
Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
2 posts Page 1 of 1