Old 27th July 2009, 23:16   #1
qwertymodo
Junior Member
 
Join Date: Sep 2008
Posts: 26
Send a message via Yahoo to qwertymodo
Get current install size

First off, I apologize if this is a double post, I keep getting some kind of database error every 20 seconds on here...

I'm using the MUI to create an installer, but I have replaced the Directory page with my own custom page. However, I can't for the life of me figure out how to get the current installation size for the "Required space:" field. Any help? My page comes right after the MUI components page, if it makes any difference.
qwertymodo is offline   Reply With Quote
Old 28th July 2009, 00:18   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
the site is acting up for everyone else also, hopefully it gets fixed soon.

It's probably less work to just customize the dir page (hide or disable items or whatever it is that you are doing)

If you still want to roll your own, steal parts of this code

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump