473,396 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Installation package

6
Hi.
I lastly finished writing a perl application.
The application uses several modules like tk etc ...

Im now willing to send this application abroad.
The users which going to use this perl application have already installed perl on their computer.
However , the other moduls are not installed on users computers.

I would like to built this installation script which will install the modules automatically and not by entering PPM/CPAN.

my main goal is to send this application and not get "CANNOT FIND ... @INC" when I loading the perl application.

I downloaded the modules manually but I dont really know how to hook them all into one installation script .

thank you very much
Ido
Sep 28 '06 #1
2 1899
You can write a small batch file like the one below

Expand|Select|Wrap|Line Numbers
  1. REM Modules to be installed by ppm:
  2. @echo off
  3. echo Installing Perl modules ...
  4. echo.
  5.  
  6. echo Installing Perl module directly from PPM
  7. call ppm install Config-IniFiles
  8.  
  9. echo Installing Perl module directly from Harddisk
  10. call ppm install C:\perl_modules\Tk-Date.ppd
  11.  
  12. echo Installing Perl module directly from external webpage
  13. call ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/IO-Socket-SSL.ppd
  14.  
  15.  
  16.  
Sep 29 '06 #2
geek491
21
Hi.
I lastly finished writing a perl application.
The application uses several modules like tk etc ...

Im now willing to send this application abroad.
The users which going to use this perl application have already installed perl on their computer.
However , the other moduls are not installed on users computers.

I would like to built this installation script which will install the modules automatically and not by entering PPM/CPAN.

my main goal is to send this application and not get "CANNOT FIND ... @INC" when I loading the perl application.

I downloaded the modules manually but I dont really know how to hook them all into one installation script .

thank you very much
Ido

A Great thought is to convert your application into an executable and ship it off to your clients. Advantage of this is that your clients dont even need to have perl installed on their machines.

to do this install PAR module.

ppm> install PAR

once installed you can create executable files by this command

pp -o output.exe input.pl

make sure if u are using downloaded modules in ur script then u are using the use command.Eg: if u are using DBD:Oracle which is a downloaded module then your perl script must have the line

use DBD::Oracle.
......
......

Rest should be fine. The exe size is little big but you can get an executable that will run on any machine.

Let me know how it helped to geek491@yahoo.co.in
Oct 13 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Rob Brown | last post by:
I put together an installation program and it works great the first time. The problem I have is that we want the users to be able to rerun the installation without needing to uninstall the older...
0
by: Hernan Garber | last post by:
Hi, Attached, the installation log. Win 2k Server SP3 IE6SP1/SQL Server Installed Thanks Setup.exe: Setup.exe: ========== Logging started ==========
2
by: rkrane99 | last post by:
Hi, I am developing a .NET app in C# and I am using the VS 2005 built in installer. Everything works fine except that when I build the installation project, it produces 2 files, a .msi and a...
3
by: kelvin | last post by:
Can anyone tell me what could cause the error below? Starting installation ... Loading zlib: ok Downloading package: PEAR-stable......ok Downloading package: Archive_Tar-stable....ok...
0
by: Pavarotti | last post by:
I have a program written in VB.Net 2003 and have to make it work on a Client without the vs.net framework. I was wondering if there is a way in which I can include dotnetfx within my deployment...
2
by: j_nwb | last post by:
HI I have multiple python installations. 2.2, 2.3, 2.4. When I install a new package (pygtk2) , it always install in python 2.3. I changed the /usr/bin/python to be 2.4 binary. Still the same...
20
by: piggy | last post by:
I have developed an application using C# under .NET 2.0 framework. It is almost done and it is time for me to think about deploymnet to all users. I don't have any background about this and would...
2
by: bubbles | last post by:
Using Access 2003 front-end with SQL Server 2005 backend. I had used an installation packager in Office 2000 Enterprise, which allows one to create an installation package for Access...
1
by: Dica | last post by:
i'm primarily a web developer, so this is probably a pretty stupid question to ask, but i'm trying to figure out how to run an installation package i'm writing in a VS setup project. as far as i've...
2
by: Cirene | last post by:
I reformated by PC, reinstalled VS2008 then tried to apply the SP1 (using a DVD I burned from the ISO.) Can you help??? I got this message... The installation failed with teh following...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.