Well I guess I don't really know what your problem is exactly. 

If you have a versioned file that you want updated in a patch then increment
the file version. That's the way everything works - hotfixes, service pack,
patches etc.  If your build/patch/install process is somehow dependent on
dates then the process is incorrect. Versions matter, not dates.

Files get their dates changed when installed. Modify dates get changed to
creation dates. This is used to decide if a file has been modified after
install, the assumption being that it's been modified by the user and won't
be replaced. 

Phil 

-----Original Message-----
From: Ravishankar [mailto:[email protected]] 
Sent: Monday, May 20, 2013 9:41 PM
To: [email protected]
Cc: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Patches.....file timestamp getting changed

Hi Phil,
Its a dll file ,but file version is same only the modified date is changed
When patching the file modified date gets changed to system present date in
Windows 7

Any hindsight?

Thanks and Regards
Ravi
On 5/20/2013 7:50 PM, Phil Wilson wrote:
> Is this a versioned file or a data file?
>
> Dates usually don't matter with versioned files - if you want to know 
> it's history use the version. If it's a data file Windows will set 
> some dates when it gets installed.
>
> And are we talking about creation, last access, modify times?
>
> Phil
>
> -----Original Message-----
> From: Ravishankar [mailto:[email protected]]
> Sent: Monday, May 20, 2013 12:56 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] Patches.....file timestamp getting changed
>
> Hi All,
> I have created a patch using the pcp method.
> The patch is working absolutely fine as expected but the only issue is
>       1.The file inside my main build has a timestamp(01/01/2013"
>       2.I change file inside my upgrade build to a timestamp(01/05/2013"
>
> When i install the patch the file timestamp is getting changed to 
> today's
> date(05/20/2013)
>
>
> Also when i uninstall the patch the timestamp of the file is back to
> 01/01/2013 which is as expected....
>
>
> Can anyone let me know the reason for this.
>
> Thanks and Regards
> Ravi
>
>
> ----------------------------------------------------------------------
> ------
> --
> AlienVault Unified Security Management (USM) platform delivers 
> complete security visibility with the essential security capabilities. 
> Easily and efficiently configure, manage, and operate all of your 
> security controls from a single console and one unified framework.
Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ----------------------------------------------------------------------
> -------- AlienVault Unified Security Management (USM) platform 
> delivers complete security visibility with the essential security 
> capabilities. Easily and efficiently configure, manage, and operate 
> all of your security controls from a single console and one unified 
> framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users





------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to