Any way to install a setup an exe installation with a script.

Posted on 2007-10-18
Last Modified: 2011-09-20

Is there a way that i run an installation of a software with a script.Defining the path of the exe and clicking the nexts and acceptiong the agrement and all the setup user interface that are required.

Question by:bsharath
    LVL 12

    Accepted Solution

    All the exe cannot be installed. I think you can use GP for msi packages and for exe if it as a silent /s to install we can install the same using startup script for computers using batch file
    LVL 65

    Assisted Solution

    Chandru is right.  Some EXE's will have a /s switch that has them install silently, but if you have an MSI, it is much more customisable.

    Also, some EXE's actually contain and launch MSI's.....take Adobe Acrobat Reader 7 for example (and most likely 8 too).

    When you run the EXE, leave it at the first screen, then search through your C:\Documents and Settings\%username%\Local Settings\Temp folder and look for an MSI package that relates to that program.  Copy all of the files in the same folder as that MSI, to another folder to keep, then Cancel the installation.

    What you have now is the MSI contents of the EXE, with the ability to run MSIExec and any required switches, such as /qn for a completely silent installation.

    See if you can get that out of your EXE first....



    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    When it comes to writing scripts for a Client/Server computing environment it is essential to consider some way of enabling the authentication functionality within a script. This sort of consideration mainly comes into the picture when we are dealin…
    Introduction During my participation as a VBScript contributor at Experts Exchange, one of the most common questions I come across is this: "I have a script that runs against only one computer. How can I make it run against a list of computers in …
    The viewer will learn how to dynamically set the form action using jQuery.
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now