View Single Post
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