Skip to content
⌘ NSIS Forum Archive

Extracting files

6 posts

thepotoko#

Extracting files

I'm writing my first NSIS script and even though the file-extracting commands are in a "Basic Components" section, the files are extracted before the license page shows up. Is that how it's supposed to be? It doesn't make much sense to me since I could cancel the installation before selecting any components and the files would still be already copied to the installation directory.

I'm copying the zipped folder to $TEMP and then I'm using the nsisunz::UnzipToStack command to extract them to the installation directory. The section these commands are in is the first section. Does this influence in any way?

Thanks in advanced!
Animaether#
that should be fine.. just make sure you have your page declarations in the right order..

Page license
Page Components
Page InstFiles 
thepotoko#
They are in that order, and it is extracting the files.

My question is, does the installer extract the files before installation begins by default? Or do I have to do something so that the files are extracted after the user clicks "Install"?