[svk-devel] NSIS Package

Kevin Light klight at walkertechnical.com
Wed Dec 27 09:59:20 EST 2006


Well, the obvious part is that it cannot find svk.bat at "..\".  I'm not sure where the ".." in the previous line is setting the path.  From what I remember when building previous releases, I just right-clicked on the svk.nsi script shown in Windows Eexplorer and selected "Compile NSIS Script" and it worked.

Ahh, wait...

I've never run the install builder outside of the tree of a previous install.  What I've done previously (from the instructions that I found in the IRC logs) is copy a working install to a temporary location.  Then add/remove/replace the parts of installation that have been changed.  Finally re-run the NSIS script in place, and wind up with a new exe installer in the root of the SVK install.

I've ventured down this path over the weekend but gave up because the tests in the "about to be released version" were complaining about not finding SVK/Target.pm in t\00use.t (at line 30).  My "real" install of Perl with SVK rc1 doesn't throw this error, so I'm still missing some dependency in the release.

I've also attempted taking my full Perl install and pruning it down by hand but gave up and started looking into PAR.

I've got a PAR'd copy of my Perl/SVK environment, but its missing the pod's and a bit large as a single exe.  The part I'm really not happy with is that the test suite has no meaning as the whole environment is really only active when the exe is run.  

Perhaps a command line "test" option which would cause the test suite to be run instead of the svk code would be an option.  I'm afraid that I'm pushing the limit of the default pp functionality without some PAR scripting magic.  Which reminds me that I need to check out the work already done using PAR which was somewhere in the SVK repository.

I do want to see if I can PAR up all of the SVK dependencies and extras leaving the Perl core out to see if it would play with an already installed version of Perl.  This would at least make the "release" a bit smaller and make a few people happy because they'd be running on their own version of Perl.

Enough rambling and thinking out-loud.  Any suggestions?
Kevin

----- G. Richard Bellamy <rbellamy at pteradigm.com> wrote:
> Klight,
> 
> This is the error I get when I try to compile the NSIS package:
> 
> ===================
> SetOutPath: "$INSTDIR"
> File: Returning to: ".."
> File: "..\svk.bat" -> no files found.
> Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...]
> |
> /oname=outfile one_file_only)
> Error in script "D:\Development\perl\modules\svk\pkg\win32\svk.nsi" on
> line 38 -- aborting creation process
> ===================
> 
> Any ideas?
> 
> - Richard



More information about the svk-devel mailing list