You can always test it out :)

Let us know what happens

-----Original Message-----
From: Alexander Shevchuk (Volt) [mailto:a-ale...@microsoft.com] 
Sent: Tuesday, September 01, 2009 10:22 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Backup an existing file

Hi Hicholas,

<CopyFile> will be translated to a record in the MoveFile table
(http://msdn.microsoft.com/en-us/library/aa370055(VS.85).aspx) and will be
processed by MoveFiles action
(http://msdn.microsoft.com/en-us/library/aa370054(VS.85).aspx). The very
last statement in the MoveFiles Action description:

"Files that are moved or copied by the MoveFiles action are not deleted when
the product is uninstalled."

I assume the same applies to rollback.

Alex



-----Original Message-----
From: Nicholas Makin [mailto:nma...@opentext.com] 
Sent: Tuesday, September 01, 2009 9:37 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Backup an existing file

I have been unable to find information on a simple thing maybe someone can
point me in the right direction:

If a given file exits (something.dll) I would like to create a backup of the
current version of the file (something.uniqueInstallID.bak) and if the
install is rolled back or upon uninstall I would like to restore this file.

I looked at the CopyFile Element but I am not sure of how it behaves during
a rollback or uninstall.

Thanks,

Nicholas
----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to