Intune Win32 App Troubleshooting - Create 7-Zip package (1/3)

Описание к видео Intune Win32 App Troubleshooting - Create 7-Zip package (1/3)

In this first video of three, we create a #win32 app #7zip package.
By purpose, we create some problems so we will get some logs files to look at in the following videos.

Working PowerShell Script to install 7-Zip 22.01 x64
Install 7-Zip 22.01 64-bit
John Bryntze 26th September 2022

Variable
$JBNLogs = "c:\programdata\JBNLogs"
$JBNScriptRoot = Split-Path -Path $MyInvocation.MyCommand.Path
$JBNInstallFile = "$JBNScriptRoot\7z2201-x64.msi"
$JBNArguments = "/qn /l $JBNLogs\Install-7Zip22.01x64.log /norestart"

check if log folder exists
if(!(test-path $JBNLogs))
{
new-item -ItemType Directory -Path $JBNLogs -Force
}

Install 7-Zip
Start-Process -FilePath $JBNInstallFile -ArgumentList $JBNArguments -wait

Links:
7-Zip Download https://www.7-zip.org/download.html
Microsoft Win32 Content Prep Tool (to create the .intunewin file) https://github.com/Microsoft/Microsof...

Playlist:    • Intune - Win32 App Troubleshooting  

Комментарии

Информация по комментариям в разработке