[MLton-commit] r7347

Wesley Terpstra wesley at mlton.org
Mon Nov 2 10:53:06 PST 2009


Removing the old MLton after installing the new MLton allows us to skip
upgrading files that have not changed.


----------------------------------------------------------------------

U   mlton/trunk/package/mingw/mlton.wxs.in

----------------------------------------------------------------------

Modified: mlton/trunk/package/mingw/mlton.wxs.in
===================================================================
--- mlton/trunk/package/mingw/mlton.wxs.in	2009-11-02 18:43:29 UTC (rev 7346)
+++ mlton/trunk/package/mingw/mlton.wxs.in	2009-11-02 18:53:05 UTC (rev 7347)
@@ -18,6 +18,7 @@
     <CustomAction Id='NoDowngrade' Error='A newer version of MLton is already installed. If you want to downgrade, remove the newer version manually and try again.' />
     <InstallExecuteSequence>
       <Custom Action='NoDowngrade' After='FindRelatedProducts'>NEWERFOUND</Custom>
+      <RemoveExistingProducts After='InstallFinalize'/>
     </InstallExecuteSequence>
 
     <Media Id='1' Cabinet='MLton.cab' EmbedCab='yes' CompressionLevel="none" />




More information about the MLton-commit mailing list