• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 621
  • Last Modified:

Command line to run MSI multiple times without a dialogue

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,
  • 2
1 Solution
I think you need to add the /fa switch for reinstall all files.

bbcacAuthor Commented:
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
Ok. Thanks for posting your solution.
PAQed with points refunded (500)

EE Admin
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now