开发者

How to use msiexec to update a program

开发者 https://www.devze.com 2022-12-17 04:24 出处:网络
I have a .msi to install a program.Up开发者_如何学Pythonon \'update\', I want to be able to check whether there is an update available on a server, and if there is, install it.

I have a .msi to install a program. Up开发者_如何学Pythonon 'update', I want to be able to check whether there is an update available on a server, and if there is, install it.

  • Can msiexec do that? I've looked around, and all I can find is that the /update just applies .msp patches.
  • Is the .msp patch a patch for the installer itself, or for the installed application?
  • Can the latest .msp patch different versions of an installer/installation to the latest one?

If this isn't possible through msiexec or this method is problematic, what are the alternatives?


msiexec doesn't do anything like what you've described.

The msp file is a patch for the installed application, not the Installer service.

You can create a patch that is applicable to multiple products. You define this behavior in the patch's summary information stream.


It sounds like you want to check out ClickOnce deployment.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号