If they're not being replaced because of the file modification rules, then
you could write a custom action to make the creationdate and modifydate
identical, and run it early before InstallValidate.

Phil Wilson


On Thu, Aug 29, 2013 at 7:00 AM, John Ludlow <john.ludlow...@gmail.com>wrote:

> Of course it's all just nasty hacks. Really, we want away to advise Windows
> Installer on a per-file basis how we want particular files to be compared.
>
> @Microsoft: Hint, hint! :)
>
>
> On 29 August 2013 14:50, John Cooper <jocoo...@jackhenry.com> wrote:
>
> > Agreed.  When I need to do this, I make the non-versioned file a
> > CompanionFile of the assembly which has the API which consumes those
> files.
> >  At least for WCF web services, that works pretty well.
> >
> > --
> > John Merryweather Cooper
> > Build & Install Engineer -- ESA
> > Jack Henry & Associates, Inc.(r)
> > Shawnee Mission, KS  66227
> > Office:  913-341-3434 x791011
> > jocoo...@jackhenry.com
> > www.jackhenry.com
> >
> >
> >
> >
> > -----Original Message-----
> > From: John Ludlow [mailto:john.ludlow...@gmail.com]
> > Sent: Thursday, August 29, 2013 8:35 AM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Component Rules
> >
> > As long as there is an appropriate file to use, I agree, although really
> > it has the same result. It wouldn't be appropriate to make them a
> companion
> > of a file they're unrelated to as that would introduce a bogus dependency
> > and if that other file ever disappeared, then you could introduce some
> > nasty issues.
> >
> >
> > On 29 August 2013 14:26, John Cooper <jocoo...@jackhenry.com> wrote:
> >
> > > A better way to do that would be to make them CompanionFile's with a
> > > versioned assembly.
> > >
> > > --
> > > John Merryweather Cooper
> > > Build & Install Engineer -- ESA
> > > Jack Henry & Associates, Inc.(r)
> > > Shawnee Mission, KS  66227
> > > Office:  913-341-3434 x791011
> > > jocoo...@jackhenry.com
> > > www.jackhenry.com
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: tyler.w.r...@accenture.com [mailto:tyler.w.r...@accenture.com]
> > > Sent: Thursday, August 29, 2013 8:01 AM
> > > To: wix-users@lists.sourceforge.net
> > > Subject: [WiX-users] Component Rules
> > >
> > > If I add a <RemoveFile/> to an existing component for a minor upgrade
> > > will that violate the component rules? As in one of our minor upgrades
> > > a customer ran into a problem of some .js and .xsl files not getting
> > > upgraded because they were modified by the version control system they
> > > put them in after they install it. So I wanted to add the
> > > <RemoveFile/> to force the installer to upgrade them everytime.
> > >
> > > Tyler Reid | Operations and Infrastructure | Accenture Software | P&C
> > > Insurance
> > > 1807 Jones Street | Bolivar, MO 65613| USA
> > > Office: +cc.xxx.xxx.xxxx | Fax: 417.777.3792
> > > E-Mail: tyler.w.r...@accenture.com<mailto:tyler.w.r...@accenture.com>
> > > | www.accenture.com/pcsoftware<http://www.accenture.com/pcsoftware>
> > >
> > >
> > >
> > > ________________________________
> > > This message is for the designated recipient only and may contain
> > > privileged, proprietary, or otherwise confidential information. If you
> > > have received it in error, please notify the sender immediately and
> > > delete the original. Any other use of the e-mail by you is prohibited.
> > >
> > > Where allowed by local law, electronic communications with Accenture
> > > and its affiliates, including e-mail and instant messaging (including
> > > content), may be scanned by our systems for the purposes of
> > > information security and assessment of internal compliance with
> > Accenture policy.
> > >
> > >
> > > ______________________________________________________________________
> > > ________________
> > >
> > > www.accenture.com
> > >
> > > ----------------------------------------------------------------------
> > > -------- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL
> > > 2012, more!
> > > Discover the easy way to master current and previous Microsoft
> > > technologies and advance your career. Get an incredible 1,500+ hours
> > > of step-by-step tutorial videos with LearnDevNow. Subscribe today and
> > save!
> > > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.c
> > > lktrk _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > NOTICE: This electronic mail message and any files transmitted with it
> > > are intended exclusively for the individual or entity to which it is
> > > addressed. The message, together with any attachment, may contain
> > > confidential and/or privileged information.
> > > Any unauthorized review, use, printing, saving, copying, disclosure or
> > > distribution is strictly prohibited. If you have received this message
> > > in error, please immediately advise the sender by reply email and
> > > delete all copies.
> > >
> > >
> > >
> > > ----------------------------------------------------------------------
> > > -------- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL
> > > 2012, more!
> > > Discover the easy way to master current and previous Microsoft
> > > technologies and advance your career. Get an incredible 1,500+ hours
> > > of step-by-step tutorial videos with LearnDevNow. Subscribe today and
> > save!
> > > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.c
> > > lktrk _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> >
> ------------------------------------------------------------------------------
> > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> > Discover the easy way to master current and previous Microsoft
> > technologies and advance your career. Get an incredible 1,500+ hours of
> > step-by-step tutorial videos with LearnDevNow. Subscribe today and save!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> > NOTICE: This electronic mail message and any files transmitted with it
> are
> > intended
> > exclusively for the individual or entity to which it is addressed. The
> > message,
> > together with any attachment, may contain confidential and/or privileged
> > information.
> > Any unauthorized review, use, printing, saving, copying, disclosure or
> > distribution
> > is strictly prohibited. If you have received this message in error,
> please
> > immediately advise the sender by reply email and delete all copies.
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> > Discover the easy way to master current and previous Microsoft
> technologies
> > and advance your career. Get an incredible 1,500+ hours of step-by-step
> > tutorial videos with LearnDevNow. Subscribe today and save!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to