<div dir="ltr">ping<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 8, 2013 at 9:03 PM, Marc-André Lureau <span dir="ltr"><<a href="mailto:marcandre.lureau@gmail.com" target="_blank">marcandre.lureau@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When upgrading virt-viewer, a few files are missing. After repair, they<br>
are all back again.  The reason for this is explained by the so called<br>
Component Rules, that can be simplified by use "one file per component<br>
and stable id". msitools stable component id was a bit buggy, and is now<br>
fixed in upstream (since v0.93-18-ge395249)<br>
<br>
Furthermore, although it's not mandatory for simple cases,<br>
RemoveExistingProducts should be Schedule='afterInstallFinalize', see<br>
also:<br>
<br>
<a href="http://msdn.microsoft.com/en-us/library/aa371197%28v=vs.85%29.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/aa371197%28v=vs.85%29.aspx</a><br>
<a href="http://stackoverflow.com/questions/15138731/wix-major-upgrade-not-installing-all-files" target="_blank">http://stackoverflow.com/questions/15138731/wix-major-upgrade-not-installing-all-files</a><br>
---<br>
 data/<a href="http://virt-viewer.wxs.in" target="_blank">virt-viewer.wxs.in</a> | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/data/<a href="http://virt-viewer.wxs.in" target="_blank">virt-viewer.wxs.in</a> b/data/<a href="http://virt-viewer.wxs.in" target="_blank">virt-viewer.wxs.in</a><br>
index 438f341..d5c2522 100644<br>
--- a/data/<a href="http://virt-viewer.wxs.in" target="_blank">virt-viewer.wxs.in</a><br>
+++ b/data/<a href="http://virt-viewer.wxs.in" target="_blank">virt-viewer.wxs.in</a><br>
@@ -125,7 +125,7 @@<br>
     </Feature><br>
<br>
     <InstallExecuteSequence><br>
-      <RemoveExistingProducts After="InstallValidate"/><br>
+      <RemoveExistingProducts After="InstallFinalize"/><br>
     </InstallExecuteSequence><br>
<br>
     <Icon Id="virt-viewer.ico" SourceFile="../icons/virt-viewer.ico"/><br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.3.1<br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Marc-André Lureau
</div>