Hi,

I am using the below settings for upgrading the website and using "After
Install-Finalize" in InstallExecuteSequence.

<Product Id="*" Name="CBUDirectMSI" Language="1033" Version="6.0.0.0"
Manufacturer="" UpgradeCode="5fa35d9d-5b5a-40f0-9607-e381e728a146">

    <Package InstallerVersion="200" Compressed="yes"
InstallScope="perMachine">

 
    <Upgrade Id="5fa35d9d-5b5a-40f0-9607-e381e728a146">
      <UpgradeVersion Property="OLD_VERSION_FOUND"
       Minimum="1.0.0.0"
       Maximum="6.0.0.0"
       IncludeMinimum="yes"
       IncludeMaximum="no"
       OnlyDetect="no"
       IgnoreRemoveFailure="yes"
       MigrateFeatures="yes"
       Language="1033" />
      <UpgradeVersion
      Property="NEWER_VERSION_FOUND"
      Minimum="6.0.0.0"
      IncludeMinimum="no"
      OnlyDetect="yes"
      Language="1033" />
    </Upgrade>

    <Condition Message="A newer version of [ProductName] is already
installed. Exiting installation.">
      
    </Condition>

    <InstallExecuteSequence>
      <RemoveExistingProducts After="InstallFinalize" />
    </InstallExecuteSequence>


Here is the Issue

1) Created Version 5 MSI and Installed it.
2) Added and deleted some files to  Harvest Directory and created new
Fragment.WXS.
3) Used Fragment.WXS to create new Version6 MSI.
4) Installed Version 6.
5) All the files got deleted and only the new files which are added to
Harvest directory are only available in Website.

Can any one give me suggestions or you have come across this situation.


Thanks
Chatra



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Upgrade-deleting-previous-version-files-tp7584009.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to