Hello,
I'm running Inno Setup 6.2.2 on my Windows 11 machine (but have observed the issue on Windows Server 2022 too).
Below is an extract of my registry configuration:
[Registry]
Root: "HKLM32"; Subkey: "SOFTWARE\MyApp\MySubkey"; ValueType: string; ValueName: "LogLevel"; ValueData: "info"; Flags: createvalueifdoesntexist; Permissions: admins-full; Check: not IsWin64
Root: "HKLM64"; Subkey: "SOFTWARE\MyApp\MySubkey"; ValueType: string; ValueName: "LogLevel"; ValueData: "info"; Flags: createvalueifdoesntexist; Permissions: admins-full; Check: IsWin64
I'm noticing that each time the installer runs, any value that has been set in the registry is overwritten. For example, if the string value for 'LogLevel' was 'debug', it would be reset to 'info' each time.
I have removed the 'Run' section from my config to ensure that it's not another script or application changing these values.
Is this something that has been seen before, or does anyone have any recommendations?
Much appreciated,
Ryan