Hello,
I have a problem upgrading my product. The database file is deleted or
overwritten. It is due to a bad previous installation process. I need to
correct it.
I need to backup the data and restore it later if an older version is
already installed.
I think that I need to create a Custom Action. I want to do it in C# (I´m
using the WIX 3.5 beta and VS 2008).
First of all I wrote the upgrade code in the wxs file:
<Upgrade Id="24E08D89-B17B-4B6A-8631-92C734512D5D">
<UpgradeVersion OnlyDetect="no" Property="PREVIOUSFOUND"
Maximum="10.1.10283" IncludeMaximum="no"/>
<UpgradeVersion OnlyDetect="yes" Property="SELFFOUND"
Minimum="10.1.10283" IncludeMinimum="yes" Maximum="10.1.10283"
IncludeMaximum="yes"/>
<UpgradeVersion OnlyDetect="yes" Property="NEWERFOUND"
Minimum="10.1.10283" IncludeMinimum="no"/>
</Upgrade>
So if PREVIOUSFOUND I need a Custom Action to Backup the Data first and
restore it later.
Any help or advice would be appreciated.
Thanks in advance.
Antonio
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users