![]() |
#1 |
Senior Member
Join Date: May 2009
Posts: 152
|
Simple Tip To Add NSIS Source to Package
For those of you that love open source or just need a simple way to include the source code for your packages.
Just add this to the end of all your packages. It will be included as a file resource and if you use 7zip to extract your package you will find your source included. It's very basic but works great if you don't rely on a lot of custom includes. PHP Code:
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Aug 2007
Location: Paris, France
Posts: 304
|
Personally, I use the similar following trick instead :
PHP Code:
My NSIS plug-ins: http://wiz0u.free.fr/prog/nsis.php |
![]() |
![]() |
![]() |
#3 |
Senior Member
Join Date: May 2009
Posts: 152
|
Ah nice, with the goto added it assures that it will never be extracted. Nice trick
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Join Date: Mar 2006
Location: Dallas
Posts: 462
|
I put my source in with code like this:
code: This allows me to get the source from %temp%\ns????.tmp\Src without using 7-zip. Then the source will be deleted after the installer finishes. |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|