PodMaster, you may find it irritating, that's your perogative. However, it is not always possible to use the commandline, and in those instances things like this are useful.
The idea of being able to double-click an icon and it just running seems quite reasonable. I'd rather have that kind of useability than having to startup a console, navigate to the correct directory and then executing the script. Having something that can pause the window is hardly a "trick", Unix (well C) has had it for years.
You mention wperl. I had not previously heard of this app, and found this quite interesting. However, it still does not get round the problem that I have been experiencing. Unfortunately I cannot guarantee that anything other than a basic Perl install is available.
I am currently writing an InstallShield installation script. The basic copying/unpacking is done by InstallShield, but the detailed install and configuration is done by Perl (mainly PAR). InstallShield runs Perl in a commandline window, and if anything goes wrong you can be in a blink and you'll miss it scenario. The suggestion by davido to use logfiles is a fair one, but the message you want to appear on the screen maybe quite important for the user. Asking them to manually check logfiles after installation is not something I would recommend.
I'm currently looking into using PerlEz.dll (see 'Execute Perl Scripts from InstallScript' heading at http://www.installsite.org/pages/en/isp_ext.htm) within InstallShield and it seems to be working. But for the time being I'm stuck with the DOS window popping up.
--
Barbie | Birmingham Perl Mongers | http://birmingham.pm.org/
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.