Oh, addendum question (I figure it still belongs in this thread since
it's closely related)

I have a few 3d asset content installers I've made for Windows using
NSIS which has a Perl plugin. NSIS won't ever support OS X though (I
suppose since it was originally designed as the WinAmp installer and,
yeah, how many people do they expect to want to replace their Mac's
iTunes with WinAmp really, right?)

Anyway the thing is quite cool in that I can pass variables along to
Perl (okay that part doesn't work like advertised but I can write a
temp file with the variable data I need in it). NSIS lets you define
any prompts you want, so it's pretty easy despite the shudders I get
writing NSIS scripts. I have to have them browse to the required files
that get '3d patched' so to speak (as in, not a real 'patch' but an
equivalent which doesn't care about anything except the Wavefront OBJ
figure data itself, not how it's 'said').

Of course, PackageMaker for OS X lets you run preflight and postflight
scripts, which can be perl (anything executable basically, and Perl
comes with OS X). However, the docs say it can't actually open a shell
window and runs in the background.

I should in theory be able to overcome this with WxPerl in there (I'll
have to include the requisites in the package of course) and get the
prerequisite files through a Wx prompt... all without installing an
app at all... right?

Has anyone done this at all? Even tried it? Running a WxPerl
application as a postflight in a PackageMaker installer?

-- 
Dodger

Reply via email to