I had a recent situation where a window with no title had the file "in
use" that I was trying to replace. And the developers on that project
hadn't changed the version so it went like this.

1. MSI detects file in use so schedules a reboot for that to be deleted.
2. MSI does a version check of the file and sees it's the same so
decides it doesn't need to replace anything
3. MSI reboots system and deletes file from step #1 - resulting in no
file

The OnlyDetect="yes" says to keep the product it is looking for.
OnlyDetect="no" says to not only detect but also remove the prior
version(s).

Are these GAC'ed or WinSxS'ed files? Have their versions all changed? If
not this article might explain it.

http://blogs.msdn.com/b/astebner/archive/2007/02/08/assemblies-may-be-mi
ssing-from-the-gac-or-winsxs-cache-after-an-msi-major-upgrade.aspx


-----Original Message-----
From: Kurt Jensen [mailto:kurt.jen...@us.ophiropt.com] 
Sent: Wednesday, August 17, 2011 1:20 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] New file not installed

> OnlyDetect="yes"
???

> You might also check a clean install to see if all four files get
installed.
yes, a clean install works.

> Do these files contain Version information
yes, all files have strong names

> Is each file in its own Component?
yes

Kurt

-----Original Message-----
From: Chad Petersen [mailto:chad.peter...@harlandfs.com]
Sent: Wednesday, August 17, 2011 1:51 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] New file not installed

I'm used to Major upgrades removing the previous release(s) so only the
newest major version shows in Add/Remove Programs. But, that probably
won't work if you have OnlyDetect="yes". And maybe that's not what you
want to do.

You might also check a clean install to see if all four files get
installed. If it doesn't work on a clean install then that's probably
the first place to take a look. I'd suppose that is working, just an
idea.

Do these files contain Version information or are they version-less type
of files? Is each file in its own Component?

Just some thinking points.

-----Original Message-----
From: Kurt Jensen [mailto:kurt.jen...@us.ophiropt.com]
Sent: Wednesday, August 17, 2011 12:25 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] New file not installed

>somehow difficult to describe with few background information.
what information do you need?

>Maybe take the Tramontana tutorial as starting point:
yes, I am following the tutorial

>Are you handling the whole installer as major upgrade ?
yes

>Did any of the assembly versions decrease ?
this is a file that did not exist in the previous installation.
there is no previous version.

Kurt

------------------------------------------------------------------------
------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------
--
----
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to