Archive: Insert additional files


Insert additional files
Hello,
i want to create a setup.exe which copies unpacked additional data from a file (*.zip prefered) to a folder which the user can select.
In this case the setup.exe can be untouched. Only the *.zip file will be exchanged from the developer

Is it possible to do that with nsis?

thanks...


Definitely it's possible and easy :)
Take a look at this NSIS plugin,

http://nsis.sourceforge.net/Nsisunz_plug-in


Thank you for that fast answere :-) ,
that looks nice.

I'm new to nsis, so how can i show the user a dialog that he can choose where he wants to extract the files?

Moreover, the chosen path should be written to the regsitry.


If I remember correctly, the included with the plugin example shows also a custom page. This is one out of two options, set up a custom page to perform the required actions, you'd find examples about custom pages within the included InstallOptions examples and for Modern UI as well.
Second option is to assign the zip extraction to an optional section and show the directory page when the section is selected from components page. I know all these probably sound complicated, examine included examples to get your self familiar with nsis page system structure.