-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The directory name: x64 is the same as one of the MSI Public Properties and can cause unforeseen side effects #19
Comments
This is not an issue of Wax - it just helps you to maintain the file list in .wxs files - it does not compile your code. Your issue is using illegal ids, and the stackoverflow article already has the answer. |
This is the wax generated by ID, because SQLite relies on X86 and x64 files. Using the wax will automatically generate the ID. |
@maikebing : You can force wax to prefix directory ids by "dir_". I'll come back to you with a working example. @tom-englert : Maybe implementing this can be interesting, it will avoid some other conflicts like this one ? |
@maikebing : To achieve this, you can replace line 154 of file WaxProject.cs : by : |
OK! |
The solution suggested by @Leogiciel would break backward compatibility, so I have added a more specific workaround. @maikebing: I am also using SQLite in some projects, but SQLite has a post-build step to copy those files, and I had to maintain those entries manually, so I wonder how Wax can know about these directories? |
Wrong code:
<Directory Id="x64" Name="x64" />
Resolvent:
http://stackoverflow.com/questions/16851193/with-wix-distribute-a-program-that-uses-sqlite-must-work-on-both-32bit-and-64b
My code
<Directory Id="DIR_x64" Name="x64" />
Can you fix this problem in the new version?
The text was updated successfully, but these errors were encountered: