Retrieving Installation Path
On Windows the installation path of Substance Designer can be found in the Registry by looking at the following key :
Computer\HKEY_LOCAL_MACHINE\ SOFTWARE\Microsoft\Windows\Cur rentVersion\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 :
Version | AppId |
---|---|
Substance Designer 5.x | {25E7D16D-1FBA-49EA-BF36-E2D6B20A9206} |
Substance Designer 6.x | {09a302b1-8da8-4f62-b0cb-a208faa210f9} |
Substance Designer 2017.x (or greater) | {e9e3d6d9-3023-41c7-b223-11d8fdd691b9} |
Each key contains our Inno Setup configuration and details.
Example :
- DisplayName = Allegorithmic Substance Designer 2018.2.0
- DisplayVersion = 2018.2.0
- Inno Setup: App Path = E:\Software\Painter_2018-2-0