viperpiper
24th May 2006 22:20 UTC
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
Afrow UK
25th May 2006 09:29 UTC
Very nice :)
Would be nice if you could put up a Wiki page for it.
http://nsis.sf.net
-Stu
viperpiper
26th May 2006 09:10 UTC
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.
Code6226
25th June 2006 18:45 UTC
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).
Joost Verburg
25th June 2006 23:22 UTC
Under GPL that is probably a deriative work, so it's not allowed unless you get permission from all contributors.
viperpiper
25th August 2006 08:47 UTC
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?
Skanks
9th March 2007 17:51 UTC
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.
kichik
9th March 2007 18:16 UTC
If on Vista, try running it from Administrator's CMD.