in reply to Current Directory in Windows

I'm writing a script and will package it using PP to distribute to users that don't have Perl installed on their PCs.

So it sounds to me like you have created single .exe application. You need to make a .MSI file (Microsoft Installer). MSI file.

This will install this application just like any other .exe file. That is is Perl, makes no difference. Its just another .exe file that may live in %Program Files% or wherever.

It depends upon how sophisticated you users are. I distribute programs all the time as just .zip files (including .exe's made from PerlApp) with a half page description of what they need to do. Mileage varies a lot! Use a .MSI file for the inexperienced.

Replies are listed 'Best First'.
Re^2: Current Directory in Windows
by Anonymous Monk on Mar 10, 2012 at 12:21 UTC

    I'm curious as to how a .msi will help here. I mean, as far as I can see, whether I install it using a .msi file or just pass the .exe file to the user, it won't change the fact that I cam getting the current WORKING directory and not the current directory as I wanted. Can you please elaborate?

    And kudos to the two Anonymous monks, that was exactly what I was looking for. Sorry if the query was vague....

      The .MSI provides an idiot gui to install things.

      I distribute my code in .zip files with instructions in a ReadMe file. Mileage varies.

      more complex things are required if you need to modify the path or the Windows Registry and become one of the programs that Windoze can uninstall.

      There is no need to make a Microsoft Installer if all you have is a single .exe file.

Re^2: Current Directory in Windows
by Anonymous Monk on Mar 10, 2012 at 10:23 UTC

    You need to make a .MSI file

    Why?

    A reply falls below the community's threshold of quality. You may see it by logging in.