|
|
#1 |
|
Junior Member
Join Date: May 2006
Posts: 7
|
nsisPatchGen - Automated patch generation
Hi,
We have made a utility available that automates the procedure for creating an installer that patches multiple files. The "NsisPatchGen" utility recursively compares two directory structures looking for changes to the files and subdirectories. It produces an NSIS include file containing functions that will perform a patch upgrade from the original structure to the new. nsisPatchGen uses the VPatch genpat.exe utility to generate patch files, and calls VPatch plugin function calls from the generated NSIS file. nsisPatchGen can be downloaded from: http://sourceforge.net/projects/nsispatchgen Hope some of you find it useful ![]() Cheers, Bruce |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: May 2006
Posts: 7
|
Yep - I've added a little to the end of the VPatch page. I'm away for a week but I'll do a full page when I get back.
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jun 2006
Posts: 1
|
I really like your program.
I'm new to the GPL though. I'm working on a closed-source program. Would it be ok if I included your exe with my program (I'd give credit and include/link to the source code of your program, just not to the source code of my program)? My program doesn't use any source code from your program, it just executes it. I'm pretty sure this would be ok under the Lesser GPL (since that one specifies that even library LGPL code can be used by a closed-source program, so an EXE would be even less of an issue). |
|
|
|
|
|
#5 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
Under GPL that is probably a deriative work, so it's not allowed unless you get permission from all contributors.
|
|
|
|
|
|
#6 |
|
Junior Member
Join Date: May 2006
Posts: 7
|
Hi Code626,
I'm new to the GPL myself - though it was my understanding that using the exe would have been OK. I certainly don't mind the program being used in the manner you describe. As the only contributers so far are the original authors then you have our permission. Any GPL experts out there that can give a definitive answer on this? |
|
|
|
|
|
#7 |
|
Junior Member
|
When I run this over two versions of our software I only get the name of one of our sub-folders inside the patchfiles folder. No script, no pat files?
I have added VPATCH with the path where genpat.exe is located to the enviroment variables and added %VPATCH% to the path. I am currently running Windows Vista. |
|
|
|
|
|
#8 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
If on Vista, try running it from Administrator's CMD.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|