I have a very simple msi software package that is installed on all PC's. We have created a new package with some server information changed and it created a new package, the problem is... it's still the same version, it was just a server change inside the software. So when I go to push the new msi, it see's the software already installed... because it technically is. How can I get this reinstalled, without uninstalling? For this example just use the file as test.msi    I'm not really savy with scripts and what not, so any help anyone can provide would be great! Thank you

3 Comments   [ + ] Show Comments

Comments

  • The best way would be to run it as a script instead so that it will execute. Software Distribution won't as it sees it installed.
  • I think doing the script will work. Thanks
  • Using the script function worked perfectly. It just installed ontop of it without issue. Pretty cool.

    I did try to uninstall the software earlier but the darn GUID was different on every machine for some reason, must be the way it installs. The uninstall feature of the MI was hit or miss too.
Please log in to comment

Answers

1

If the package GUID has changed in the new MSI, you can add the old MSI GUID to the Upgrade table and run the install of the new package.  It will uninstall the old package, but it's all contained within the single command.

If the GUID has remained the same, you'll have to perfrom the uninstall before running the new package as an install.  The Repair switches will not help you because it will leverage the locally cached copy of the old MSI.

If the change is only a reg key, XML file or something small, just deliver that small bit by itself and forgo using the new MSI as part of the upgrade process.  Just use the new MSI for new installs.

Answered 06/10/2014 by: vjaneczko
Seventh Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share