in reply to Active Perl Offline Package on Windows

You can't get an internet connection, but you can copy files, right? So you have to download the files PPM needs manually, copy them and then install from the local copies.

First find out the URL of the repository. Start PPM on that machine and go to Edit / Properties. Note the URL for the ActiveState repository (for my dated 5.8 it's http://ppm4.activestate.com/MSWin32-x86/5.8/825/package.xml). Then go to a computer with a connection and download the referenced file (for the 5.8 it's about 9MB!). Search for "<PROVIDE NAME="Device::Modem"". There's a <CODEBASE HREF="...right above, download that file (the path is relative to the repository path). If the <SOFTPKG> containing the <PROVIDE NAME="Device::Modem"/> contains any <REQUIRE> tags look for the <SOFTPKG> that <PROVIDE>s them and download the file(s) as well.

Then transfer all those .tar.gz files you downloaded to some directory on the WinXP machine. Open them by WinZIP or something and extract the *.ppd file in the root of each archive into the same directory.

Start the command prompt, chdir to the directory and run ppm install Device-Modem-1.56.ppd (or whatever version you ended up downloading.

I do think ppm should find the other required modules if you download and transfer them into the same directory. If it doesn't, try to install the dependencies first.

Hopefully this still works with 5.14.

Jenda
Enoch was right!
Enjoy the last years of Rome.

Replies are listed 'Best First'.
Re^2: Active Perl Offline Package on Windows
by anshumangoyal (Scribe) on Jul 31, 2012 at 07:50 UTC
    I liked this solution, My PPM File Archive is:
    http://ppm4.activestate.com/MSWin32-x86/5.12/1205/package.xml
    When I open it any browser (Chrome/Mozill/IE) it hangs (Seems this is a big file). When I download this file (Using Download Manager), it is downloaded in some binary format. Please help me download this file. Else I cannot search my string as suggested by you.

      Append ".gz" to the file and open with archiver of your choice. Seems the HTTP headers were not entirely right so the downloader did not decompress the data.

      Jenda
      Enoch was right!
      Enjoy the last years of Rome.

        Thanks it worked like a charm. Your help is deeply appreciated.

      As explained by others, you have to un-gzip it first. They use a Content-Encoding: x-gzip header which is not really RFC conform.

      But with the above mentioned approach, you can also download a complete copy of the ppm archive. With a little regex magic on the xml file(s) to correct the paths, you can go ahead and tell the (graphical) ppm interface "Hey, you know what, there's this new server called 'C:\myserver', check it out!".

      "I know what i'm doing! Look, what could possibly go wrong? All i have to pull this lever like so, and then press this button here like ArghhhhhaaAaAAAaaagraaaAAaa!!!"