microsoft / Microsoft-Win32-Content-Prep-Tool

A tool to wrap Win32 App and then it can be uploaded to Intune
963 stars 202 forks source link

Creating Intune Package #100

Closed EMKody137 closed 3 months ago

EMKody137 commented 1 year ago

Hi all, I have been running into an issue today where I am using the prep tool to create an Intune package, however once the command prompt finishes, my destination folder is empty and does not show the package. I am unsure if there is some sort of error, as the command prompt window closes as soon as it finishes running. I tried on two machines, as well as a VM, all running the newest version of Windows 11 Enterprise. I am not sure if it makes a difference, but I am trying to package and distribute the newest version of VS Code. Thanks in advance for any support!

EMKody137 commented 1 year ago

I think from what I have found this issue is specific to Win 11 22H2. Attempting on a Win10 machine allowed it to start up right away.

sikkepitje commented 1 year ago

You should provide some more info, like what command did you run?


Van: Kody Jordan @.> Verzonden: Wednesday, May 31, 2023 10:16:04 PM Aan: microsoft/Microsoft-Win32-Content-Prep-Tool @.> CC: Subscribed @.***> Onderwerp: [microsoft/Microsoft-Win32-Content-Prep-Tool] Creating Intune Package (Issue #100)

Hi all, I have been running into an issue today where I am using the prep tool to create an Intune package, however once the command prompt finishes, my destination folder is empty and does not show the package. I am unsure if there is some sort of error, as the command prompt window closes as soon as it finishes running. I tried on two machines, as well as a VM, all running the newest version of Windows 11 Enterprise. I am not sure if it makes a difference, but I am trying to package and distribute the newest version of VS Code. Thanks in advance for any support!

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/Microsoft-Win32-Content-Prep-Tool/issues/100, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADMFD7C2RYM7463ZR27W4HTXI6RIJANCNFSM6AAAAAAYV64B6Y. You are receiving this because you are subscribed to this thread.Message ID: @.***>

EMKody137 commented 1 year ago

I didn't use a command, I just used the prep application and entered in the various folder locations and whether I wanted to add a category folder.

miquelcollr commented 1 year ago

Hello! Same issue here using Windows 11 22H2 Enterprise...

ianweedlun commented 1 year ago

Same issue, also W11 22H2 Enterprise

EMKody137 commented 1 year ago

Hi @ianweedlun @miquelcollr,

I'm not sure if you have the capability, but this issue is specific to our version of Win11. Attempting to create the package from a Win10 device seems to work without any issue.

ianweedlun commented 1 year ago

Yeah figure I can just spin something up in Hyper-V but would rather not have to lol

EMKody137 commented 1 year ago

Totally, I wish there was some communication from Microsoft on this...

ianweedlun commented 1 year ago

Why would you expect Microsoft to prioritize one of their most important utilities for its cloud MDM running on the latest edition of its newest operating system?!

sikkepitje commented 1 year ago

Right now you exactly zero information about your issue. How can you expect anyone to respond to this seriously? What is your command line? What are your parameters? What error message do you get? What is the output? If you are unsure if there is an error, then try harder and make sure there is NO error at all and if there is, post it!

FYI: I am running Win11 22H2 and i have no issue creating any packages with intunewinapputil at all. So I guess the fault must be at your end. Anyway, no one can tell for sure, as long as you don't provide any detailed information about what you did and what you got.

EMKody137 commented 1 year ago

Hey @sikkepitje I had written my issue exactly as I had experienced it. As I stated I am unable to get any sort of error code because the command prompt closes immediately. I also answered your question about the command line, but I would be good without your help! Thanks for trying anyway and I am super happy to hear that you aren't experiencing any issues with your deployment!

ianweedlun commented 1 year ago

Fair enough, hadn't bothered grabbing screenshots since the application disappears when it completes.

I was able to reproduce it by calling the .exe in a bat file, just added pause at the end to prevent the window from closing.

WindowsTerminal_p5qwJFtQet

Figured out its Windows Terminal that's the culprit. I can either fullscreen the window after launching it and it works or switch my Windows default terminal back to conhost.

@sikkepitje You're right, the fault was on my end. For using features added by Microsoft to their latest operating system.

EMKody137 commented 1 year ago

Thanks for the useful/productive comment @ianweedlun. I will try this out in the morning!

sikkepitje commented 1 year ago

@EMKody137 I am glad to be of help stating the obvious! You can always see any error code , if you stop point-and-clicking command line tools like intunewinapputil.exe. Just open an command window (cmd.exe, pwsh.exe) and work from there. You're welcome. Don't be a cynic.

@ianweedlun Now we're getting somewhere. This is or was a known bug. In combination with Windows Terminal. What version of intunewinapputil.exe do you use? run intunewinapputil.exe -v to see the version. Maybe grab the latest version. That is 1.8.4.

edit: this issue was fixed in v1.8 , see Release notes. Have a nice day!

ianweedlun commented 1 year ago

Using 1.8.4.

ameltzer-MSFT commented 3 months ago

122