Skip to content
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

Auto component guids difficult to use in Merge Module #2353

Closed
wixbot opened this issue Sep 23, 2009 · 3 comments
Closed

Auto component guids difficult to use in Merge Module #2353

wixbot opened this issue Sep 23, 2009 · 3 comments

Comments

@wixbot
Copy link

wixbot commented Sep 23, 2009

To me it seems that the usage of automatically generated guids for components is impossible for merge modules when using standard directories like "TARGETDIR".

The following error occurs when using automatically generated guids for components within a sub-directory of "TARGETDIR":

error LGHT0231: The component 'TestComponent' has a key file with path 'TARGETDIR\pacelab_eo-project.ico'. 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.)

Please let me know how to use automatically generated guids for components within this context.

Originally opened by frank_neumann from http://sourceforge.net/p/wix/bugs/1840/

@wixbot
Copy link
Author

wixbot commented Sep 15, 2012

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 7 days (the time period specified by
the administrator of this Tracker).

@wixbot
Copy link
Author

wixbot commented Sep 15, 2012

Generating component GUIDs relies on having a known location; TARGETDIR-based components are almost always retargeted, especially from merge modules, so the generation logic doesn't have the data it needs to generate reliable component GUIDs. Using directories like CommonFilesFolder works as expected. It also works if you use .wixlibs instead of merge modules, because Light.exe has a view into the entire package and can generate GUIDs when they're eligible.

@wixbot
Copy link
Author

wixbot commented Sep 15, 2012

Merge module project for Wix 3.5 producing the described error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant