Archive: Add/Remove Programs applet shows wrong button text for uninstall


Add/Remove Programs applet shows wrong button text for uninstall
NoRepair 1
NoModify 1

The help indicates that when these options are set the uninstall button will have the text "Remove" versus "Remove/Modify". This doesn't work for me. Even though I have the values set at 1 I still get the "Remove/Repair" text. Why?


Make sure you are using WriteRegDWORD.

Stu


Thanks Stu, I am:

WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\MyApp" "NoModify" "1"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\MyApp" "NoRepair" "1"

Any other ideas?


Well i used....

WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\MyApp" "DisplayName" "MyApp Name(Shown in add/remove)"

WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\MyApp" "UninstallString" "$INSTDIR\uninstall.exe"

check out: http://nsis.sourceforge.net/Docs/AppendixD.html#D.2

that helped me :D


EDIT: however i dont know how to make mine and urs work together as it says in wiki that they gota be dword for what u want