![]() |
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. :igor: |
A newbie bug :p
A used SectionSetSize SEC_INDEX instead of SectionSetSize ${SEC_INDEX} Thanks anyway. |
| All times are GMT. The time now is 17:58. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.