This isn't a VB .NET question, but I couldn't find a better forum in which to post.
I am building a VB .NET application that I want users to be able to update via the web. My current approach downloads the newer version's Microsoft Installer (.msi) package file, and then launches msiexec.exe. This immediately complains that another version is already installed, and that I must uninstall it first using "Add/Remove Programs." I tried adding the "/f" option to force a repair of the installation, but that gives me "This action is only valid for products that are currently installed."
How can I workaround this problem? Is there a better way to do regular updates to an application?
Thank you for any help.
Rick
I am building a VB .NET application that I want users to be able to update via the web. My current approach downloads the newer version's Microsoft Installer (.msi) package file, and then launches msiexec.exe. This immediately complains that another version is already installed, and that I must uninstall it first using "Add/Remove Programs." I tried adding the "/f" option to force a repair of the installation, but that gives me "This action is only valid for products that are currently installed."
How can I workaround this problem? Is there a better way to do regular updates to an application?
Thank you for any help.
Rick