question

wl-1660 avatar image
0 Votes"
wl-1660 asked RoyLi-MSFT edited

MSIX Packaging Tool usage issues

Use the tool MSIX Packaging Tool( https://docs.microsoft.com/en-us/windows/msix/packaging-tool/create-app-package ) to package the win32 program into a msix package, can I not modify the code?

For example, calling the interface ShellExecute, or writing a log in the same level directory of the executing program...




Can win32 program be converted into appx package ?

2 questions...

thanks!

not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RoyLi-MSFT avatar image
0 Votes"
RoyLi-MSFT answered wl-1660 commented

Hello,

Welcome to Microsoft Q&A!

can I not modify the code?

No, you can't.

Can win32 program be converted into appx package ?

Yes. But currently, we do suggest using MSIX Packaging Tool to package your app as an MSIX package. When packaging your app using desktop bridge, you can't call code to do anything.


Thank you.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

thank you

0 Votes 0 ·
wl-1660 avatar image
0 Votes"
wl-1660 answered

88500-image.png
88582-image.png
88601-image.png
88529-image.png
88416-image.png
88530-image.png
88583-image.png



Why is my win32 program not listed in the last step ?

please help~


image.png (4.1 KiB)
image.png (19.8 KiB)
image.png (56.5 KiB)
image.png (53.5 KiB)
image.png (58.2 KiB)
image.png (46.5 KiB)
image.png (47.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

wl-1660 avatar image
0 Votes"
wl-1660 answered RoyLi-MSFT commented

88417-image.png






I tried to change WindowsProject1.exe to Notepad++, and the final list is still empty.


image.png (58.7 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

If you have questions about using MSIX package tool, please ask in the MSIX developer forum. The MSIX team is actively answering questions there.


0 Votes 0 ·