Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

One Upgrade Question


1 reply to this topic

juck

juck
  • Members
  • 1 posts

Posted 08 February 2005 - 04:52

Hi Stefan,

I already create one msi project, when install new version, will manual uninstall old version and reinstall new version.

In current version, have one issues during uninstall, so I need create one upgrade version to replace old version.[Can't do uninstall]

The old msi is a. msi, the upgrade version also is b.msi. Only change one file , add one upgrade item and change the package code.

After install a. msi, then click new "b.msi". It will popup dialog, say "Need uninstall previous version first."

If I make the upgrade as setup.exe, then it is ok.

Could you please tell me why?

Thanks
Juck

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 09 February 2005 - 15:14

What you're trying to do is a Minor Update.
First: you cannot change the name of the msi file in a Minor Update, so the new version must also be called a.msi.

If you don't want to use setup.exe you must launch the new version with comand line parameters:
msiexec.exe /i a.msi REINSTALLMODE=vomus REINSTALL=ALL