Prev Previous Post   Next Post Next
Old 7th March 2016, 14:39   #1
Junior Member
Join Date: Mar 2016
Posts: 3
Nsis7z -- How do I use it?

Hi Everyone,

Sorry, I've Googled and I've searched the forums, but I can't seem to find an answer to my question.

Scenario: I have an installer I'm making, but the data is over 2GB. I used 7zip to compress some specific files down and now the installer creates properly, but obviously I need to extract the 7zip files on the users' computer for the installation to be complete.

I downloaded and put it into my plugins folder.

I added the following lines to my .nsi file:

Nsis7z::ExtractWithDetails "Tile.7z" "Decompressing %s..."
Delete "$OUTDIR\Tile.7z"
Nsis7z::ExtractWithDetails "Sprites.7z" "Decompressing %s..."
Delete "$OUTDIR\Sprites.7z"
Nsis7z::ExtractWithDetails "Map And Sounds.7z" "Decompressing %s..."
Delete "$OUTDIR\Map And Sounds.7z"

The installer compiles fine, it runs fine and says everything worked... Except it doesn't extract my files.

Is there something special I need to do? I had thought the dll I downloaded would actually extract the files, but as far as I can tell, it doesn't and it doesn't give me any errors.

Any help is appreciated.


kfcsmitty is offline   Reply With Quote
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