Archive: Uninstaller Repair, Modify Options


Uninstaller Repair, Modify Options
Does any in the forum knows how to add Repair and Modify Options to an Uninstaller.
Thanks.


In your install section add:

;Create reg entries for Add/Remove Programs
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${appname}" "DisplayName" "${appname}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${appname}" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${appname}" "NoModify" 0
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${appname}" "NoRepair" 0