Boneyhead
9th November 2007 22:25 UTC
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?
Afrow UK
9th November 2007 23:03 UTC
Make sure you are using WriteRegDWORD.
Stu
Boneyhead
10th November 2007 01:50 UTC
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?
XxXGoD
10th November 2007 11:19 UTC
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