Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

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.

Replies are listed 'Best First'.
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.

      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.

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

    And the question is?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://546006]
Approved by marto
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2018-02-19 20:57 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (266 votes). Check out past polls.