registryinno-setupuninstallationapp-id

Remove "_is1" suffix from Inno Setup AppId


When specifying the AppId parameter to an Inno Setup script, a _is1 suffix is automatically added.

I realized that looking at the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall

Is it possible to disable this suffix?


Solution

  • It cannot be removed. It's hardcoded.

    See GetUninstallRegSubkeyName function of Projects/Main.pas:

    Result := Format('%s\%s_is1', [NEWREGSTR_PATH_UNINSTALL, UninstallRegKeyBaseName]);
    

    https://github.com/jrsoftware/issrc/blob/is-6_2_2/Projects/Main.pas#L345-L348