View Single Post
  #3  
Old 20-08-2023, 17:16
XxAZAxX XxAZAxX is offline
Registered User
 
Join Date: Jul 2018
Location: LUNA
Posts: 26
Thanks: 48
Thanked 6 Times in 5 Posts
XxAZAxX is on a distinguished road
Reply

Quote:
Originally Posted by audiofeel View Post
@XxAZAxX
Here with the first example I have everything ok.
Code:
RegWriteStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#AppName}_is1', 'DisplayIcon', ExpandConstant('{app}\{#E1[60]}\{#E1[61]}') )
Everything works fine "IF" the exe is inside a folder, but if for example the exe is in the root folder that problem arises...

Try it yourself if it's not a nuisance..

RootFolderName\Setup.exe

you will see that there is this error in the registry...

Thanks in advance audiofeel for all time.
Reply With Quote