On 10-09-05 8:05 PM, Sohail Somani wrote: > Hi there, > > Is there a way to see why Windows might start MSI repair automatically? > Perhaps run some kind of integrity check on installed packages? > > I've got an issue with some shared files between application versions. > While I've ensured that the components have the same GUIDs, there seems > to be some kind of issue upon uninstalling the later version. > > Suggestions on how to debug would be helpful!
A bit more debugging shows that the shared files get reverted to the old version. These files were the key paths for their components in both new and old installers. This leads me to think that the "upgrade" is not considered such... Here is an example of an installed file being reset to the old version in the old and new installers. The old installer is InstallShield so I'm not sure if IS does something extra or not. <!-- new --> <Component Id="cmp_id_e4d50e3bd" Guid="{C13C8097-541F-41B3-997B-B221D3894379}" SharedDllRefCount="yes" > <File Id="file_id_e4d50e3bd" KeyPath="yes" Source="path\to\thefile.dll" > </File> </Component> <!-- old (decompiled via dark.exe) --> <Component Id="thefile.dll.B29293DE_AF2A_4908_8A6A_FAE83FC8740B" Guid="{C13C8097-541F-41B3-997B-B221D3894379}" SharedDllRefCount="yes"> <File Id="thefile.dll.B29293DE_AF2A_4908_8A6A_FAE83FC8740B" Name="thefile.dll" KeyPath="yes" ShortName="THEFIL~1.DLL" ReadOnly="yes" Vital="no" Compressed="yes" DiskId="1" Source="SourceDir\File\thefile.dll.B29293DE_AF2A_4908_8A6A_FAE83FC8740B" /> </Component> -- Sohail Somani -- iBlog : http://uint32t.blogspot.com iTweet: http://twitter.com/somanisoftware iCode : http://bitbucket.org/cheez ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users