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

pkggen.exe syntax issue #2

Open
tanitsu721 opened this issue Dec 30, 2024 · 12 comments
Open

pkggen.exe syntax issue #2

tanitsu721 opened this issue Dec 30, 2024 · 12 comments

Comments

@tanitsu721
Copy link

I followed word to word what you told to do to create my own packages. But it results in this:
image

And here is the XML file but I don't have any reg files to add instead i have some feature files:

image

@Empyreal96
Copy link
Owner

Empyreal96 commented Dec 30, 2024

Uhh I'm not sure if I'm honest, but I can't see the end of line 13 (the error seems to imply line 13) but make sure you've closed the tag properly

And if you have no reg files you can just remove those reg tags from the xml

@tanitsu721
Copy link
Author

Uhh i did that but no success

but when i try to remove regkeys and regimport, it just throws out the error mentioned in the picture

@Empyreal96
Copy link
Owner

Can you show the full XML contents please, either enable word wrapping or a larger screenshot as line endings are cut off

@tanitsu721
Copy link
Author

<?xml version="1.0" encoding="utf-8"?> <Package xmlns="urn:Microsoft.WindowsPhone/PackageSchema.v8.00" Owner="Empyreal96" OwnerType="OEM" ReleaseType="Production" Platform="Generic" Component="MainOS" SubComponent="Tutorial_Package"> <Components> <OSComponent> <Files> <File Source="D:\Selfhost\17686\Microsoft-Andromeda-Experience-Package\TabbedShellBackground.jpg" DestinationDir="$(runtime.root)\Windows\SystemResources\DesktopComposerHost\WindowsInternal.ComposableShell.Composers.DesktopComposer\Assets\TabbedShellBackground.jpg" />/> <File Source="D:\Selfhost\17686\Microsoft-Andromeda-Experience-Package\DesktopComposerHost.pri" DestinationDir="$(runtime.root)\Windows\SystemResources\DesktopComposerHost\DesktopComposerHost.pri"/> <File Source="D:\Selfhost\17686\Microsoft-Andromeda-Experience-Package\Background.jpg" DestinationDir="$(runtime.root)\Windows\SystemResources\DesktopComposerHost\WindowsInternal.ComposableShell.Composers.DesktopComposer\Assets\Background.jpg"/> <File Source="D:\Selfhost\17686\Microsoft-Andromeda-Experience-Package\WindowsInternal.ComposableShell.Composers.DesktopComposer.dll" DestinationDir="$(runtime.root)\Windows\SystemApps\b55853c8-5cd1-4695-86a0-df67acb2957a_cw5n1h2txyewy\WindowsInternal.ComposableShell.Composers.DesktopComposer.dll"/> </Files> </OSComponent> </Components> </Package>

@tanitsu721
Copy link
Author

tanitsu721 commented Dec 30, 2024

@Empyreal96 Also can I get your discord??

@Empyreal96
Copy link
Owner

            DestinationDir="$(runtime.root)\Windows\SystemResources\DesktopComposerHost\WindowsInternal.ComposableShell.Composers.DesktopComposer\Assets\TabbedShellBackground.jpg" />/>

You put another closing bracket on the end of this line

@Empyreal96
Copy link
Owner

Empyreal96 commented Dec 30, 2024

@Empyreal96 Also can I get your discord??

Lol it's same as my handle here iirc, I don't use discord that much though

@tanitsu721
Copy link
Author

I sent you a friend request

@tanitsu721
Copy link
Author

I did not notice that error!!

@tanitsu721
Copy link
Author

@Empyreal96

fatal error : Failed to create catalog file for package Empyreal96.MainOS.Tutorial_Package fatal error : Empyreal96.MainOS.Tutorial_Package.pkg.xml: Failed to sign package integrity catalog file fatal error : Failed to sign package integrity catalog file fatal error : Failed to sign file C:\Users\abhir\AppData\Local\Temp\yivqfrjy.hnp\0rezrm0g.knr_content.cat with options exit code 1

@tanitsu721
Copy link
Author

My discord is : betawiki_86739

@Empyreal96
Copy link
Owner

@Empyreal96

fatal error : Failed to create catalog file for package Empyreal96.MainOS.Tutorial_Package fatal error : Empyreal96.MainOS.Tutorial_Package.pkg.xml: Failed to sign package integrity catalog file fatal error : Failed to sign package integrity catalog file fatal error : Failed to sign file C:\Users\abhir\AppData\Local\Temp\yivqfrjy.hnp\0rezrm0g.knr_content.cat with options exit code 1

Ah now this I know, it's an issue with signing, make sure you set the environment variables and that date is set correct..

Reminds me I have to fix this using a patched signtool to allow out of date certificates

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