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

HEAT5052 when directory contains hardlinks #5623

Open
raijinsetsu opened this issue Jun 23, 2017 · 0 comments
Open

HEAT5052 when directory contains hardlinks #5623

raijinsetsu opened this issue Jun 23, 2017 · 0 comments
Milestone

Comments

@raijinsetsu
Copy link

This is a bug.

  • Which version of WiX are you building with?
    3.11.0.1701

  • Which version of Visual Studio are you building with (if any)?
    N/A

  • Which version of the WiX Toolset Visual Studio Extension are you building with (if any)?
    N/A

  • Which version of .NET are you building with?
    3.5

  • Describe the problem and the steps to reproduce it.
    If a directory contains a hardlink to another directory, heat.exe reports "heat.exe : error HEAT5052 : The directory 'PATH' could not be found.". Deleting the hardlinks stops the error. Symlinks (ie. files) do not cause the error.

  1. Create a directory (SOURCEDIR)
  2. Create a "readme.txt" file in SOURCEDIR
  3. Create a hardlink to another directory in SOURCEDIR
  4. Execute: %WIX%\bin\heat dir SOURCEDIR -nologo -var var.MySource -ag -cg source_files -dr INSTALLDIR -template fragment -sreg -sfrag -srd -ke -o source.wxs
  5. Notice that the error appears immediately
  6. Delete the hardlink from step 3
  7. Execute the command from step 4
  8. Notice that there is no error
  • Describe the behavior you expected and how it differed from the actual behavior.
    Expected heat to enumerate the files in the directory, recursing into hardlinked directories.
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

3 participants