View Single Post
  #2  
Old 25-06-2019, 09:29
bunti_o4u's Avatar
bunti_o4u bunti_o4u is offline
Registered User
 
Join Date: Aug 2017
Location: India
Posts: 162
Thanks: 29
Thanked 172 Times in 61 Posts
bunti_o4u is on a distinguished road
Quote:
Originally Posted by devil777 View Post
files do uninstall correctly but everything in uninstall folder do remains ...
find the below code:

if (CurStep = ssPostInstall) and not ISDoneError then
begin

and paste the below code after begin:

Code:
  RegWriteDWordValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#AppName}_is1', 'EstimatedSize', CalcSize*1024)
  RegWriteStringValue(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{#AppName}_is1', 'DisplayIcon',  ExpandConstant('{app}\{#E1[60]}\{#E1[61]}'))
It will show the uninstall icon as well as size...

Last edited by bunti_o4u; 26-06-2019 at 12:32.
Reply With Quote
The Following User Says Thank You to bunti_o4u For This Useful Post:
devil777 (25-06-2019)