1.  Moving to a whole new "root" (both in the file system and registry if used 
and other stores if you have them) is a very good idea.  Gives you a clean 
slate to work from.  You'll see the major applications doing that.

2.  Not viable?  Some of the largest applications in the world (I'm thinking 
Office, SQL Server, VS) use it and some of the smallest applications (I'm 
thinking MSN Messenger, Live Writer) use it.  I'd say it is viable but it is a 
serious pain to deal with.  I've long considered the Component Rules to be a 
design flaw that is unfortunately baked into the very heart of the installer.

-----Original Message-----
From: John Robbins [mailto:j...@wintellect.com]
Sent: Tuesday, December 30, 2008 09:00
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WIX 3 - Suggestions

>> http://trentm.com/blog/archives/2007/05/29/wix-and-msp/. The idea is
>you replace the <File> element with a <RemoveFile> like the following:
>>
>> <Component Id='AnotherFile'
>>            Guid='C7D97EA9-83DF-4B07-8E38-D10A30F70FD2'>
>>   <RemoveFile Id='RemoveFile' On='install' Name='NewFile.txt'/>
>> </Component>
>> In my installers, I'm using patches to upgrade and the above trick
>does work.
>Do you do QFEs? I'm thinking that it's a component-rule violation
>because you're changing the composition of the component. That'll bite
>you when you get into supersedence.

I'm doing minor upgrades. In my case, when I do a major upgrade my product will 
be going into a completely different directory so I think I'm OK.

>> If there are no good solutions for the removed files problem does that
>mean that there's a flaw in the installer technology?
>SxS and the component rules in general seem to assume a level of process
>discipline that fits right in with the likes of Office or SQL but
>nowhere else.<g>

Hahaha! Great, that's just what we all wanted to hear. :)

I can't help but think that it sounds like the whole patching system in Windows 
Installer is not really a viable solution for the real world. Bummer.

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to