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!

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0

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?

Answered 05/02/2013 by: SnowLyric
Second Degree Brown Belt

Please log in to comment
0

The bit was not set in the initial package.  I've tried VEMUS/VOMUS/VAMUS with no luck.

Answered 05/02/2013 by: Secondlaw
Third Degree Blue Belt

  • 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.
Please log in to comment
0

If you want to replace only two file you can use patching If you are using Wise or admin studio u can compile a patch easily

Answered 05/03/2013 by: Hussi
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share