On Fri, May 27, 2011 at 6:52 PM, Mark Dootson <mark.doot...@znix.com> wrote:
> Hi,
>
> The simplest and most effective way to do what you require would be to
> prepare an InnoSetup installer.
>
> Steps required:
>
> 1.) Get desired install path - don't accept path with spaces
> 2.) Install files
> 3.) Set path and other environment variables using InnoSetup scripting /
> built in registry functions
> 4.) Run relocation.pl.bat
> 5.) Add menu and desktop icons for Padre
> 6.) Use InnoSetup built-in function for notifying system that environment
> changed.
>
> If you tell me where I can download a 'pre-release' of a
> Padre-on-Strawberry' zip, I'll prepare and test the InnoSetup script which
> you can then take forward.
>
> IMHO - You really don't want to be writing Windows installation stuff if you
> can grab something 'off the shelf" to do it for you.

I did not plan at this point to make the installation that serious but
I'd be happy to
take your offer. I appreciate it very much!
I downloaded InnoSetup so I can learn what you are doing with the setup.

There is no real pre-releases zip file. I just install lots of CPAN
modules on my Windows
machine and then run a small perl script to zip up most of the files.
(I skip some of the log
and temporary files generated by cpan)

The script I am using is here:
http://svn.perlide.org/padre/trunk/tools/build_strawberry.pl

The latest zip file I created so far are linked from
http://padre.perlide.org/trac/wiki/DownloadWindows

I wonder if it is possible to include the already compressed zip file in
the installation.exe and let InnoSetup run unzip on it or if InnoSetup
needs to package the individual files itself. Can I tell it to include
all the files
in a directory except a few?

regards
   Gabor

Reply via email to