Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

automate the installation process

by vsr28in (Initiate)
on Apr 27, 2006 at 11:23 UTC ( #546006=perlquestion: print w/ replies, xml ) Need Help??
vsr28in has asked for the wisdom of the Perl Monks concerning the following question:

HI, I have an application which is placed in my local directory say in D drive.the application folder contains setup file, key in notepad,dlls etc.,some other binaries. once after executing my perl script it invoke the setup file and get the key(25bit)in next next process and finishes the installation of that applicaion.

Comment on automate the installation process
Re: automate the installation process
by marto (Bishop) on Apr 27, 2006 at 11:29 UTC
    Hi vsr28in,

    I notice that this is your first post. Welcome to the Monastery.
    Your post contains some brief details describing how your application is setup. Could you tell us exactly what you are looking to do? Package this whole process up into an install executable I suspect. Please read the PerlMonks FAQ and How do I post a question effectively? if you have not already done so. From your post I see this is for the Win32 platform, you may want to look at Nsis (Nullsoft Scriptable Install System):

    "NSIS (Nullsoft Scriptable Install System) is a professional open-source tool for the development of Windows installers. It is designed to be as small and flexible as possible and is therefore highly suitable for internet distribution."

    If none of this is any use to you, please update your post with more information.

    Hope this helps.

    Martin
      HI Martin- Thanks for your reply.This is my first post.i think Nsis is not relavant to my question. But what i want is i have an application in one folder which contains setup file, i have to invoke that setup file and complete the installation process of that application through my perlscript. example: if office2K application in D drive. now after run my perlscript, it automatically invoke that setup file in D drive and press next, next ,install and finishes the installation. ofcourse we can hardcode the application key. hope this understands much clear. plse let me know . thanks
        Hi vsr28in,

        Your description here is much better, yet very different from what I thought you described in your previous post. Launching the install executable should not be a big problem. Regards driving the installer I think you may want to look at the Win32::GuiTest. You could use a combination of the FindWindowLike, SendKeys and the mouse movement/click methods to find the the instaler window, input the required data and complete the installation. Check out the documentation.

        Hope this helps.

        Martin
Re: automate the installation process
by blazar (Canon) on Apr 27, 2006 at 11:31 UTC

    And the question is?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://546006]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-12-18 00:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (41 votes), past polls