Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
CopyFile with no FileId results in broken MSI #5867
If a component has a CopyFile element that does not specify a FileId, the resulting MSI is not usable.
I am including some images as part of the installation package but I need them installed to a different folder. Here is my wxs snippet:
I am able to compile the MSI project and the msi and cab file are created successfully. But when I try to install the MSI, I get error 2716 from Windows Installer. Added some snippets from msi verbose log:
If I remove the element, the MSI installs successfully.
Windows 7.1 [x64] & .Net 4.7.2