Reinstall conditionalized components
I have a package with 2 conditional components. Each component contains 1 .ini file (via file table). If one or both of these .ini files are changed, I'd like to re-compile the updated versions into the package and simply run a re-install.
I've change the attribute on the component to 64 and even tried to give the .ini file a version number but when I run a re-install, the conditionalized components are left alone.
What am I doing wrong?
Thanks!
Answers (3)
http://msdn.microsoft.com/en-us/library/windows/desktop/aa372462(v=vs.85).aspx
A typical use for transitive components is to prepare a product to reinstall during a system upgrade. The author of the installation package specifies those components that need to be swapped out during a system upgrade as having the transitive attribute. When the user later upgrades the system, the product must be reinstalled. Upon this reinstall, the installer removes the earlier components and installs the later components, without having to install the entire product.
Question: Was the bit set for component during initial installation? What is the reinstall switch being used?
The bit was not set in the initial package. I've tried VEMUS/VOMUS/VAMUS with no luck.
Comments:
-
Try verbose logging the msi installation which will have an entry for each file that may be installed by the package. The log tells what was done to the file and provides some explanation. File entries in the log appear as in the following example.
MSI (s) (40:A4): File: C:\Test\TESTDB.EXE; Won't Overwrite; Existing
file is of an equal version. - SnowLyric 11 years ago