xiaoyafeng has asked for the wisdom of the Perl Monks concerning the following question:
I package perl script with pp when I need to publish it to windows clients. Life is peace until one day clients complain temp directory was full. 20+ 50M-size exe files created almost 7G files in C drive!
the straightforward way I can think is install perl on client machines and replace exe with scripts. yes, it's a way, but, I prefer exe, which can be view as a protection to prevent user modify it easily.
So my question is: how to make all exe built with pp shared libraries other than contain all modules into one executable file? Just like .NET, install one and all exe file can make use of it.
Thanks in advance!UPDATE:
Sorry for the long time to reply this. After dig monks' reply below, I realize the better way to deal with this request is packing my own perl distribution, not local lib, not pp. just whole perl distribuiton: perl executable, libraries etc. And use pl2bat, bat2exe to wrap around script, or even make this by hand personally as thomas895 suggest.
Thanks monks, your generous help always makes me less headache. ;)
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: many exe files rely on one library
by marto (Cardinal) on Oct 13, 2012 at 10:24 UTC | |
|
Re: many exe files rely on one library
by Anonymous Monk on Oct 13, 2012 at 09:58 UTC | |
|
Re: many exe files rely on one library
by syphilis (Archbishop) on Oct 14, 2012 at 01:50 UTC | |
by Anonymous Monk on Oct 14, 2012 at 05:36 UTC | |
|
Re: many exe files rely on one library
by thomas895 (Deacon) on Oct 14, 2012 at 09:24 UTC |