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

MSI Upgrade problem


3 replies to this topic

meher

meher
  • Members
  • 3 posts

Posted 02 June 2005 - 20:20

Hi,

Iam using the command
msiexec /i "my msi" ALLUSERS=1 REINSTALL=ALL REINSTALLMODE=vomus /qb.

This command is installing the MSI perfectly when it is upgrade. But when it is first time installation this command is not at all installing the product.

Can you please tell me how use the same command for upgrade and as well first time installation..

Please this is urgent task. Iam nervous about it ..

Thanks in advance
Meher


mandy

mandy
  • Members
  • 121 posts

Posted 02 June 2005 - 21:31

Why do you have to use exactly the same command for install and upgrade?

What kind of upgrade do you need to perform? Small, minor, or major?


meher

meher
  • Members
  • 3 posts

Posted 04 June 2005 - 21:41

I dont know how to change programatically to take different commands for install and upgrade..

my code is in C#.. how can i do this ...

Iam using visualstudio for building my MSI ??

And one more question

what does REINSTALLMODE=vomus modify in MSI when upgrading..

Some times my product will have some of the DLLS nmodified and some times nothing will be modified in this case what should i use.

So irrespective to minor or major upgrade i need to reinstall my dlls on target machine and at any poin to f time i shoul dhave only one version of product on target machine

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 08 June 2005 - 08:20

REINSTALL=ALL will do just that: reinstall everything that has previously been installed. In case of a fresh install that is: nothing.