Reputation: 871
I've been working with Pandion (an open source XMPP client), which comes with wix scripts to generate installers.
So far, releasing a patch has worked: I run the included batch file, which ran the wix binaries and created an msi.
With the latest update, however, the installer no longer copies the executable (Pandion.exe) to the install directory. All of the other 400+ files are copied correctly.
EDIT: by update, I mean the changes I made, which are limited to a few javascript files. The wix files are all unchanged.
I've been trying to figure out what the problem is, but I'm just not that experienced with wix/msi and don't really know where to look.
I've got verbose logging enabled, which confirms all files are copied except for the executable. The auto-generated component.wxs contains the executable as a component. The installer first registers all components, including the executable, but when it starts copying files it just silently skips it and moves on to the next one.
If I run the installer again and repair the installation, the executable gets copied correctly.
If I uninstall everything and re-install from the first installer, all the previous patches work fine.
Upvotes: 3
Views: 1798
Reputation: 8563
Check and see if the version of that specific file (Pandion.exe) is greater than in the previous installation. If for whatever reason the file is at a lesser version, then it may not get installed because:
Upvotes: 8