Retrieving Installation Path

On Windows the installation path of Substance Painter can be found in the Registry by looking at the following key :

Computer\HKEY_LOCAL_MACHINE\ SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

Under this key will be listed the software installed on the computer with additional information.
Substance Painter and Substance Designer use a unique AppId to identify them :

Substance Painter 1.x{410F5B6E-A29C-4F43-9DE3-44A1357D6AF5}
Substance Painter 2.x{f42b7a996fa1d13a1d0a2e33eea2c0800bb5d1b8}
Substance Painter 2017.x
(or greater)
{33C3E9E2-0675-4196-9019-28A B9C5E9BB0} 

Each key contains our Inno Setup configuration and details.

Example :

  • DisplayName =  Allegorithmic Substance Painter 2018.1.1
  • DisplayVersion = 2018.1.1
  • Inno Setup: App Path  =  E:\Software\Painter_2018-1-1