New Files element and Guid generation #8216
Unanswered
capricorn-15
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to use the new Files element, but I get the following error:
error WIX0231: The component 'flsa.c3ZUaXLsqrJd.Kpsb1oSK3Skc' has a key file with path 'TARGETDIR.\SomeCompanyName\SomeProductName\reference\html\search\variables_9.js'. Since this path is not rooted in one of the standard directories (like ProgramFilesFolder), this component does not fit the criteria for having an automatically generated guid. (This error may also occur if a path contains a likely standard directory such as nesting a directory with name "Common Files" under ProgramFilesFolder.)
This is because there are no Guid attributes in the file components.
When I harvested via project file or with the good old heat.exe (switch "-gg") the Guid attributes have been generated.
My Files statement:
My project harvesting:
CompGroup_HarvestedFolder_Documentation Dir_Application true true wix.WixVarSrcFolder_DocumentationBtw, I have to install our software under "C:\CompanyName" instead of "C:\Program Files\CompanyName". This is a requirement and was not my decision.
Will there be a way to generate the Guids when using the new Files element?
Beta Was this translation helpful? Give feedback.
All reactions