Discussion:
Reinstallation:REINSTALLMODE=vomus
(too old to reply)
tomix
2007-09-07 18:34:35 UTC
Permalink
Hi,

1.Will REINSTALLMODE=vomus REINSTALL=ALL command line
reinstall versioned files even if they have the same version like the
one that already installed?

2.If i am not using setup.exe how can i do a small\minor update? i
understand that the command should be in setup.ini?

3. Please explain the following:

"The following changes in your setup project require that you change
the product code:"

-The component code of an existing component has changed.


Are they talking about com component for example, or a component in
msi?



Thanks in advance
Owen Gilmore
2007-09-08 00:04:41 UTC
Permalink
Post by tomix
1.Will REINSTALLMODE=vomus REINSTALL=ALL command line
reinstall versioned files even if they have the same version like the
one that already installed?
No, only higher versions.
Post by tomix
2.If i am not using setup.exe how can i do a small\minor update? i
understand that the command should be in setup.ini?
Use a patch (MSP)
Post by tomix
"The following changes in your setup project require that you change
the product code:"
-The component code of an existing component has changed.
Are they talking about com component for example, or a component in
msi?
A component in the MSI. Specifically, the ComponentID column in the
component table.
Stefan Krueger [MVP]
2007-09-11 06:39:21 UTC
Permalink
Post by Owen Gilmore
Post by tomix
1.Will REINSTALLMODE=vomus REINSTALL=ALL command line
reinstall versioned files even if they have the same version like the
one that already installed?
No, only higher versions.
The 'o' in vomus stands for "older". Use 'e' instead (for "older or equal")
to replace files with the same version. For more information see the
documentation about the REINSTALLMODE property at
http://msdn2.microsoft.com/en-us/library/aa371182.aspx

Note however that the behaviour may also depend on the language of the
files, see "File Versioning Rules" at
http://msdn2.microsoft.com/en-us/library/aa368599.aspx
In particular the following flow chart: Both Files Have a Version
http://msdn2.microsoft.com/en-us/library/aa367835.aspx

In general I highly recommend that you increase the file's version number
when you change the file.
Post by Owen Gilmore
Post by tomix
2.If i am not using setup.exe how can i do a small\minor update? i
understand that the command should be in setup.ini?
Use a patch (MSP)
If you use a patch (msp) that command line isn't required. If you use a full
.msi file the REINSTALLMODE and REINSTALL parameters must be passed to
msiexec.exe on the command line:
msiexec.exe /i your.msi REINSTALLMODE=vomus REINSTALL=ALL
Often a setup.exe is used to launch msiexec.exe with this command line, so
users don't have to type it in the Run box. Some setup.exes can be
configured using a setup.ini where you can specify the command line
parameters. But that depends on the setup.exe you are using (I guess the
setup.exe is provided by your setup authoring tool). Some setup.exes also
detect the update case automatically and use the above command line only in
this case. That's because REINSTALL=ALL will not work for a first time
install.
--
Stefan Krueger
Microsoft Windows Installer MVP

Please post your questions in the newsgroup or vist one of these web sites:

Windows Installer FAQ
http://www.msifaq.com - http://www.msifaq.de

InstallSite - Resources for Setup Developers
http://www.installsite.org
http://www.installsite.de (GERMAN)
Loading...