Manage Windows Apps (.intunewin) with Intune
This repo has been deprecated. Please visit Microsoft Win32 Content Prep Tool.
A tool to wrap Windows Classic App and then it can be uploaded to Intune
Manage Windows Apps (.intunewin) with Intune
This repo has been deprecated. Please visit Microsoft Win32 Content Prep Tool.
Is there any source code for this? I've been stuck decompiling whenI have questions about the implementation.
Ideally, I'd like to get this to support netcore...but again, the only thing I've been able to do so far is to decompile, make changes and then recompile which is very tedious...
Trying to package around 4gb of data into an intune package.
but im getting this error
System.IO.InvalidDataException: Entries larger than 4GB are not supported in Update mode.
at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen)
at System.IO.Compression.ZipFile.Open(String archiveFileName, ZipArchiveMode mode, Encoding entryNameEncoding)
at Microsoft.Management.Service.IntuneWinAppUtil.ZipUtil.CreateFromDirectory(String sourceDirectoryName, String destinationArchiveFileName, CompressionOption compressionOption, Boolean includeBaseDirectory, ReportProgress reportProgress)
at Microsoft.Management.Service.IntuneWinAppUtil.ZipUtil.ZipFolder(String folder, String zipFile, AppContext context, Boolean noCompression, Boolean includeBaseDirectory)
at Microsoft.Management.Service.IntuneWinAppUtil.PackageUtil.CreatePackage(String folder, String setupFile, String outputFolder)
at Microsoft.Management.Service.IntuneWinAppUtil.Program.Main(String[] args)
Its true enough my package is 4gb, so its not because i pick up the wrong files.
I just cant get the application to make the package.
plenty of free space on the drives.
Hi,
I have an issue using the tool. I have converted a 7ZIP installation package. The source file has a size of 1.4 MB, but the resulting .intunewin has a size of about 3.4GB. What happens here? What can I do?
Thanks and regards
Ralph
Some application files requires certain folder structure and installation file is some times located in subfolder.
This tool requires that installation file is in root of folder structure.
You can workaround this using dummy file in root folder but it would be nice to define the real installation file.
The tool crashes if the output is being redirected. Output of IntuneWinAppUtil -c SomeSample -s Setup.exe -o . -q > test.log
:
Unhandled Exception: System.IO.IOException: The handle is invalid.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.Console.set_CursorVisible(Boolean value)
at Microsoft.Management.Service.IntuneWinAppUtil.Program.Main(String[] args)
This is problematic if the tool is being included in automatic (CI) systems when there is no way for the output to be captured (especially in conjunction with #7)
Please help. I've tried every command I could think of from an Administrator command prompt. I've tried quotes but nothing seems to work. I've even tried running the app by right clicking and running as Administrator... NOTHING WORKS!
IntuneWinAppUtil.exe -c M:\Apps\Google LLC\Google Chrome\68.12.49241 -s googlechromestandaloneenterprise64.msi -o \atl1ntap04prd01.ad.here.com\sccm_sourcefiles\Apps\IntunePackages\Google68_12_49241
ERROR The setup file you specified cannot be accessed.
I've tried:
IntuneWinAppUtil.exe -c E:\IntunePackages\Source\68.12.49241 -s googlechromestandaloneenterprise64.msi -o E:\IntunePackages\Google68_12_49241
Each time I get the same error:
Error The setup file you specified can not be accessed.
The instructions seem straight forward but this annoying error keeps popping up. Any assistance on how to use this tool would be helpful.
If a user inputs a folder location that does not exist during the "Please specify the output folder:" step, the resulting prompt contains a typo. Folder is misspelled as "foder." Here is a screenshot:
The example above also indicates input validation could be implemented, but this issue is only directed at the typo.
The tool does not emit any usable exit code:
>IntuneWinAppUtil -c asdf -s asdf -o . -q
The setup file you specified can not be accessed.
>echo %errorlevel%
0
This makes it pretty unreliable when included in automatic (CI) systems if there is no way to detect if it was sucessfull or not.
PS C:_MijnData_\LocalDownloads\Adobe Distro> yc:_MijnData_\LocalDownloads\Adobe Distro\Maak-Intunewin.ps1
KEN_SelfServicePakket_Persoonlijk
System.ArgumentOutOfRangeException: De waarde moet groter zijn dan of gelijk zijn aan nul en minder zijn dan de buffergrootte van de console in die dimensie.
Parameternaam: top
Werkelijke waarde was 63.
bij System.Console.SetCursorPosition(Int32 left, Int32 top)
bij Microsoft.Management.Service.IntuneWinAppUtil.LogUtil.PrintProgress(AppContext context)
bij Microsoft.Management.Service.IntuneWinAppUtil.LogUtil.WriteLine(AppContext context, String text)
bij Microsoft.Management.Service.IntuneWinAppUtil.PackageUtil.CreatePackage(String folder, String setupFile, String outputFolder, String catalogFolder)
bij Microsoft.Management.Service.IntuneWinAppUtil.Program.Main(String[] args)
See Also microsoft/terminal#4361 and microsoft/terminal#4498
I've been testing out this tool with Intune Win32 preview, so far so good.
I have two feature request, and a question actually.
This is the file that is causing the error, which includes characters like = ,
C:\IntuneAppMigrationTool\CMAppContent\ZIC-ENG-VisualStudioProfessional2017W10-15.7.27703.2042-GCC-R1\Files\Source\Microsoft.Icecap.Collection.Msi.Resources.Targeted,version=15.6.27406.0,chip=x64,language=en-US\Microsoft.Icecap.Collection.Msi.Resources.x64.msi
This is the error output from the tool:
INFO Compressing the source folder 'C:\IntuneAppMigrationTool\CMAppContent\ZIC-ENG-VisualStudioProfessional2017W10-15.7.27703.2042-GCC-R1' to 'C:\Users\xxxxx\AppData\Local\Temp\ac2760b8-bc23-43e5-aa91-5aadede59a86\IntuneWinPackage\Contents\IntunePackage.intunewin'
INFO Calculated size for folder 'C:\IntuneAppMigrationTool\CMAppContent\ZIC-ENG-VisualStudioProfessional2017W10-15.7.27703.2042-GCC-R1' is 7884285121 within 120 milliseconds
INFO Removing temporary files
INFO Removed temporary files within 248 milliseconds
ERROR File 'C:\IntuneAppMigrationTool\CMAppContent\ZIC-ENG-VisualStudioProfessional2017W10-15.7.27703.2042-GCC-R1-INT\ZIC-ENG-VisualStudioProfessional2017W10-15.7.27703.2042-GCC-R1_Install.intunewin' has failed to be generated
[============= ] 25% INFO Done!!!
ERROR System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\IntuneAppMigrationTool\CMAppContent\ZIC-ENG-VisualStudioProfessional2017W10-15.7.27703.2042-GCC-R1\Files\Source\Microsoft.Icecap.Collection.Msi.Resources.Targeted,version=15.6.27406.0,chip=x64,language=en-US\Microsoft.Icecap.Collection.Msi.Resources.x64.msi'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Microsoft.Management.Service.IntuneWinAppUtil.ZipUtil.CreateEntryFromFile(ZipArchive destination, String sourceFileName, String entryName, Nullable1 compressionLevel, ReportProgress reportProgress) at Microsoft.Management.Service.IntuneWinAppUtil.ZipUtil.CreateFromDirectory(String sourceDirectoryName, String destinationArchiveFileName, Nullable
1 compressionLevel, Boolean includeBaseDirectory, ReportProgress reportProgress)
at Microsoft.Management.Service.IntuneWinAppUtil.ZipUtil.ZipFolder(String folder, String zipFile, AppContext context, Boolean noCompression, Boolean includeBaseDirectory, Boolean appendFile)
at Microsoft.Management.Service.IntuneWinAppUtil.PackageUtil.CreatePackage(String folder, String setupFile, String outputFolder, String catalogFolder)
at Microsoft.Management.Service.IntuneWinAppUtil.Program.Main(String[] args)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.