Command line to run MSI multiple times without a dialogue

Posted on 2007-08-08
Last Modified: 2013-11-14
I have created an MSI to install a program
The command line that I use is
msiexec /i "myinstall.msi" transforms=:instanceid1.mst MSINEWINSTANCE=1

I want a command line so that if I run in the install more than once, it just re-installs the same installation. Currently it puts up a dialgue explaining the parameters of msiexec if I run the install more than once. Thanks,
Question by:bbcac
    LVL 16

    Expert Comment

    I think you need to add the /fa switch for reinstall all files.

    Author Comment

    I'm not sure where my command line was wrong but I reworked it without the FA switch and that did the trick
    The problem with using the FA switch is that it doesn't install if there is not copy on the machine already. But if there is, then it will reinstall.

    Thanks anyway
    LVL 16

    Expert Comment

    Ok. Thanks for posting your solution.
    LVL 1

    Accepted Solution

    PAQed with points refunded (500)

    EE Admin

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    countClumps  challenge 10 70
    Excel object stays open 19 56
    mapShare challenge 13 41
    word0 challenge 4 37
    Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
    Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
    Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
    An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

    729 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

    22 Experts available now in Live!

    Get 1:1 Help Now