Search code examples
perlwxwidgets

How do I distribute a Perl wxWidgets application to users who do not have Perl or wxWidgets installed?


What is the best way to package a Perl wxWidgets application for distribution to Windows and Mac users who do not have Perl or wxWidgets installed?

The users in question are not very computer savvy, so they cannot be expected to install Perl or wxWidgets separately. I'd like to distribute one .exe/.msi and one .dmg installation file that will include the application and all dependencies. How do I do that?


Solution

  • Try with PAR::Packer Wx::Perl::Packager

    Then you can use wxpar command to build the execution binary. e.g.

    wxpar --gui --icon=myicon.ico -o myprog.exe myscript.pl