inno setup - Registry aren't fully deleting when uninstalling -
inno setup isn't deleting full registry key. here have done:
[registry] root: hklm; subkey: software\ea games\need speed wanted-2012; valuetype: string; valuename: gdfbinary; valuedata: {app}\gdfbinary_en_us.dll; flags: uninsdeletekey root: hklm; subkey: software\ea games\need speed wanted-2012; valuetype: string; valuename: displayname; valuedata: need speed wanted-2012; flags: uninsdeletekey root: hklm; subkey: software\ea games\need speed wanted-2012; valuetype: string; valuename: locale; valuedata: en_us; flags: uninsdeletekey root: hklm; subkey: software\ea games\need speed wanted-2012; valuetype: string; valuename: install dir; valuedata: {app}; flags: uninsdeletekey
these part isn't deleting when uninstalling: \ea games\need speed wanted-2012
folder in registry
root: hklm; subkey: software\ea games\need speed wanted-2012
(need speed wanted-2012
game hint).
anybody please help.
your code, is, automatically deletes hklm\software\ea games\need speed wanted-2012
. hklm\software\ea games
not deleted.
if want delete hklm\software\ea games
, have add explicit code it:
root: hklm; subkey: software\ea games; flags: uninsdeletekeyifempty
(this should placed before other entries).
the entry delete empty key software\ea games
. if other subkeys created (not installer), key won't deleted. if want delete ea games
key unconditionally, replace uninsdeletekeyifempty
uninsdeletekey
.
Comments
Post a Comment