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

Makeappx bundle in Windows: The filename, directory name, or volume label syntax is incorrect #8

Open
sairus7 opened this issue Mar 11, 2024 · 2 comments

Comments

@sairus7
Copy link

sairus7 commented Mar 11, 2024

When I run command to create bundle

makeappx pack /d EcgReview-x64 /p EcgReview-x64.msix /v

The following error appears:

Settings for extension md: Type = application/octet-stream, Compression = Normal.
Processing "\\?\C:\Build\EcgReview-x64\packages\FilePathsBase\docs\src\faq.md" as a payload file.  Its path in the package will be "packages\FilePathsBase\docs\src\faq.md".
Settings for extension svg: Type = image/svg+xml, Compression = Normal.
Processing "\\?\C:\Build\EcgReview-x64\packages\FilePathsBase\docs\src\hierarchy.svg" as a payload file.  Its path in the package will be "packages\FilePathsBase\docs\src\hierarchy.svg".
Settings for extension md: Type = application/octet-stream, Compression = Normal.
Processing "\\?\C:\Build\EcgReview-x64\packages\FilePathsBase\docs\src\index.md" as a payload file.  Its path in the package will be "packages\FilePathsBase\docs\src\index.md".
MakeAppx : error: For file "\\?\C:\Build\EcgReview-x64\packages\FilePathsBase\docs\src\index.md" - Failure at opcFactory->CreateStreamOnFile(longFilePath, ioMode, NULL, FILE_ATTRIBUTE_NORMAL, fileStream) - 0x8007007b - The filename, directory name, or volume label syntax is incorrect.
MakeAppx : error: Failure at (hr) - 0x8007007b - The filename, directory name, or volume label syntax is incorrect.
Cleaning up output file "\\?\C:\Build\EcgReview.msix".
MakeAppx : error: Failure at (CreatePackage( overwrite, hashAlgorithm, fileList, outputPath, manifestStream.Get(), forceCompressionNone, performanceOptions, encryptPackage, encryptionOptions, cgmPath, mainPackagePathForResourceExemption, makepriExeFullPath, publisherBridgingList)) - 0x8007007b - The filename, directory name, or volume label syntax is incorrect.
MakeAppx : error: Package creation failed.
MakeAppx : error: 0x8007007b - The filename, directory name, or volume label syntax is incorrect.

Any ideas why?

@sairus7 sairus7 changed the title Trying to bundle my app in Windows Makeappx bundle in Windows: The filename, directory name, or volume label syntax is incorrect Mar 11, 2024
@sairus7
Copy link
Author

sairus7 commented Mar 11, 2024

Strange, I have deleted that single index.md and bundle creation succeed.

@JanisErdmanis
Copy link
Member

JanisErdmanis commented Mar 11, 2024

I have no idea. It would be interesting to see if you add back the index.md file if it still fails. Also on windows one should not take some sane assumptions for granted. It is worth to:

  • Check if renaming original index.md to lets say renamed-index.md has the same issue;
  • Check what happens if index.md is being moved in a different folder;
  • If you delete original index.md and replace with a new one, check if the issue persists;

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

No branches or pull requests

2 participants