I’m curious, in a real world, how do you make developers change their application design and how do you prevent people from modifying the files after you install them?
I do understand exactly where Rob is coming from. Unfortunatly I’ve seen way too many .NET systems that are designed exactly opposite of what he is saying. Developers want to express things ( typically in XML files ) outside of application ‘code’ to make it ‘eaiser to service’ and in reality they cause exactly the opposite to occur and they don’t care because suddenly it’s an install problem. Yes, decentralized setup development should help but as Rob recently tweeted: developers ignore setup, oh how they do. Chris Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me --- On Fri, 6/12/09, David Bartmess <david.bartm...@wallst.com> wrote: > From: David Bartmess <david.bartm...@wallst.com> > Subject: Re: [WiX-users] How to selectively NOT install file if file already > exists on system > To: "'General discussion for Windows Installer XML toolset.'" > <wix-users@lists.sourceforge.net> > Date: Friday, June 12, 2009, 10:21 AM > 1. I agree. But that's what the > customer has convinced our PM to do. I'd rather have it > selected from the code to be included from a non-install > directory. > > 2. The components and component groups are being created > via Paraffin, so I have no control over the condition of the > component, unless I go in manually and run a script to set > the condition on the particular file. > > -----Original Message----- > From: Rob Mensching [mailto:r...@wixtoolset.org] > > Sent: Thursday, June 11, 2009 8:28 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] How to selectively NOT install > file if file already exists on system > > 1. That is a very poor app design for installation. A few > cases that are going to just be painful to get right > declaratively. For example, what do you do on repair? Ick. > > Installation Tenet: don't let people modify the files that > you install. > > 2. Why not do a FileSearch and Condition out the Component > that installs the header if it finds it is already there. > > David Bartmess wrote: > > I'm trying to create an install that can check if the > file being installed already exists, and not install over > the top of the existing file. The reason is the customers > are customizing their website that we install with a custom > header GIF file, and every time we install we have to > manually copy from a backup of the file over the newly > installed default file. > > > > Is this possible? Or do I need to write a custom > action to copy the file somewhere else, then copy it back > over the newly installed file? > > > > Thanks! > > > > <Directory > Id="dir_WebUI_img_branding_default_logo_7" Name="logo"> > > > > <Component Id="comp_WebUI_93" DiskId="1" > KeyPath="yes" > > Guid="128474CB-A2F2-4203-94CD-434DA75F9925"> > > > > <File Id="file_WebUI_93" Name="header.gif" > > Source="WebUI\img\branding\default\logo\header.gif" > /> > > > > </Component> > > > > </Directory> > > > > > > > > David Bartmess > > > > > ---------------------------------------------------------------------- > > -------- Crystal Reports - New Free Runtime and 30 Day > Trial Check out > > the new simplified licensing option that enables > unlimited > > royalty-free distribution of the report engine for > externally facing > > server and web deployment. > > http://p.sf.net/sfu/businessobjects > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial Check > out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine for > externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited > royalty-free distribution of the report engine for > externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users