Archive: Add/Remove entry is NOT created, I have current CVS


Add/Remove entry is NOT created, I have current CVS
Add/Remove entry is NOT created, I have current CVS.

Win98SE if that might make a difference.

The uninstall.lnk is there in the start menu, so can be uninstalled that way.

But, it used to create an Add/Remove entry also, but it stopped doing this a few days ago. I just updated to latest CVS, minutes ago, and no change.

This is happening when I compile and install any of the sample scripts, and with my own Modern UI script.

I could do a clean install of the latest CVS, but I thought I would check here first to see if others are experiencing this problem.

Thanks,
Lilla


Can you put the part of you Reg entry, please...
to see what's up...

BTW: Hi, there :D


Sorry, my script has no special registry code in it, so nothing to post.

I use the code from StartMenu.nsi to do the StartMenu stuff.

But most importantly, since it is happening with the Example scripts, we know then that it has nothing to do with my code, my install perhaps, but not my code.

Lilla


Most examples don't even add an Add/Remove entry. To be a bit more specific - none of the MUI examples add an Add/Remove entry.


To add a basic Add/Remove entry (change things in bold):

WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\APPLICATION NAME" \
"UninstallString" "$INSTDIR\UNINSTALL.EXE"

WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\APPLICATION NAME" \
"DisplayName" "APPLICATION NAME TO DISPLAY"

To remove:

DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\APPLICATION NAME"

To see how to add more things to an Add/Remove entry go in NSIS Documentation - Appendix C - Add uninstall information to Add/Remove Programs.

[EDIT]And a addition, I found more values names to use in a Add/Remove entry:

AuthorizedCDFPrefix "?" - (can be the cd prefix)
Comments "Text" - The comments of your program
Contact "?" - (can be the the support site)
DWORD EstimatedSize "SizeInBytes" - Size Estimated in Bytes
InstallDate "YYYYMMDD" - Date when you installed the program (i.e. 20030613)
Language "$LANGUAGE" - Language ID Number (i.e. 1033)
Readme "Location\file.ext" - Location that is located the Readme
RegOwner "UserName" - User name that owned the product
Size "SizeInBytes" - Size in bytes


Thanks kichik and deguix.

I must have lost the Add/Remove entries I started over.
I started over when I started using the CVS, perhaps I
added the Add/Remove entries myself from code I saw in the
archives.

In any event, I'm happy now to know what I need to do to get
the Add/Remove entry back.

Thank you both very much for clarifying this for me.

Lilla
back.