Old 31st January 2005, 15:20   #1
superruzafa
Junior Member
 
Join Date: Jan 2005
Posts: 13
Send a message via Yahoo to superruzafa
SectionSetSize when updating

Hi.

I'm patching several files which are already installed in HD.

I need to File them to extract in $TEMP folder and then use them as patch. NSIS uses these file sizes to estimate the size of the section contains them.

Since I'm not making an installer but a updater, I'd need the section size shows 0 Kb when a user select it (I have several categories for updating)

I've tried two ways to get this:
[list=1][*] Dinamically, in .onInit, I have set all sections to 0 Kb, with SectionSetSize. Doesn't work.[*] Add in whole sections a AddSize instruction with the negative file size of that section. (this is a bit wicked) Doesn't work [/list=1]

Maybe I'd need to use a merge of both solutions, but I want to ask if anybody happens this.
superruzafa is offline   Reply With Quote
Old 31st January 2005, 21:41   #2
superruzafa
Junior Member
 
Join Date: Jan 2005
Posts: 13
Send a message via Yahoo to superruzafa
A newbie bug

A used SectionSetSize SEC_INDEX instead of SectionSetSize ${SEC_INDEX}

Thanks anyway.
superruzafa 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