Talk:Add uninstall information to Add/Remove Programs: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Reverted edits by 178.137.87.153 to last version by Bkw)
Line 17: Line 17:
   
   
  SectionEnd
  SectionEnd
== I am want to meet a serious boy... ==
Hi all
I'm Mary, 23 years old :)
I am looking for good man. If he exists...
I'm love sport and...  Hope you understand
[img]http://loveepicentre.com/uploades/photos/30375.jpg[/img]
nsis.sourceforge.net is very interesting forum for me, so I think we have the same hobbies
So lets chat...
My e-mail is marypopovaks@gmail.com, Skype *
Send me your foto!
__
Added later:
This photography is corrupted, sorry!
Oh, and all my photos here:
http://loveepicentre.com/user/Popova

Revision as of 01:17, 23 January 2013

I wanted to submit this, but didn't want to edit the article since I'm new here.

Use ${GetSize} to fill in the EstimatedSize value. This assumes the simple case where there is one main directory with most of your files (including subdirs).

Just the relevant bits of foo.nsi :

!define ARP "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}"
!include "FileFunc.nsh"

Section "Install"

; [...copy all files here, before GetSize...]

${GetSize} "$INSTDIR" "/S=0K" $0 $1 $2
IntFmt $0 "0x%08X" $0
WriteRegDWORD HKLM "${ARP}" "EstimatedSize" "$0"

SectionEnd

I am want to meet a serious boy...

Hi all I'm Mary, 23 years old :) I am looking for good man. If he exists... I'm love sport and... Hope you understand

[img]30375.jpg[/img]

nsis.sourceforge.net is very interesting forum for me, so I think we have the same hobbies So lets chat... My e-mail is marypopovaks@gmail.com, Skype * Send me your foto!

__ Added later:

This photography is corrupted, sorry!

Oh, and all my photos here: http://loveepicentre.com/user/Popova