开发者

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?


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


Your users never have to install wxWidgets to run your program. You can include the wxWidgets DLLs in the .msi ( installer ). I haven't used Perl in years, but I would think you can do the same with the Perl interpreter.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜