Martin Delille
Martin Delille

Reputation: 11810

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?

Upvotes: 5

Views: 2980

Answers (1)

Martin Prikryl
Martin Prikryl

Reputation: 202642

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

Upvotes: 4

Related Questions