Install works fine but no registry entries are created, uninstall works fine but registry keys aren't removed (running with Admin privs)

28 views
Skip to first unread message

Kraig Doering

unread,
Jul 29, 2025, 12:55:40 AMJul 29
to innosetup
I compiled the program and when I run it the program is installed correctly except none of the registry keys or values are created. I have rerun the installer with and without Administrator privs and it doesn't make a difference (it's writing to HKLM so I assume it needs to be admin level). If I run the uninstaller it works fine except it doesn't remove the, manually created, registry keys either. Not sure where to look in logs for errors, etc. 

Syntax matches whats in the help files/Faq.

thanks for the help ! 

Martijn Laan

unread,
Jul 29, 2025, 1:46:17 AMJul 29
to innosetup
It's likely you're looking at the 64-bit registry but are writing to the 32-bit registry, or vice versa.

A bad section header could also be the cause. 

Greetings,
Martijn Laan



Op di 29 jul , 'Kraig Doering' via innosetup <inno...@googlegroups.com> schreef:
I compiled the program and when I run it the program is installed correctly except none of the registry keys or values are created. I have rerun the installer with and without Administrator privs and it doesn't make a difference (it's writing to HKLM so I assume it needs to be admin level). If I run the uninstaller it works fine except it doesn't remove the, manually created, registry keys either. Not sure where to look in logs for errors, etc. 

Syntax matches whats in the help files/Faq.

thanks for the help ! 

--
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/629e7561-9fad-4483-a717-df984e2c20f0n%40googlegroups.com.

Kraig Doering

unread,
Jul 29, 2025, 1:57:51 AMJul 29
to innosetup
Thanks! That is what it was. 
Reply all
Reply to author
Forward
0 new messages