Forum Discussion
oryxway
Dec 28, 2023Iron Contributor
Install.ps1
I packaged an application to intunewin and now I want to execute this application using powershell script. For example - DellUpdateCommand.intunewin I have the powershell script in install co...
oryxway
Dec 28, 2023Iron Contributor
Start-Process -FilePath ".\Dell-Command-Update.exe" -ArgumentList "/s" -Wait
Should I use this as the install.ps1
Should I use this as the install.ps1
rahuljindal
Dec 28, 2023Bronze Contributor
Sounds about right. You shouldn’t be required to extract the contents of the Win32 app as part of script execution. Intune will do the extraction anyway. Just call the installer with relevant switches in your ps1 file and wrap that together with the installer file. Import it, call ps1 in cmd and add the detection logic.
- Dec 29, 2023Yes. As mentioned above, Intune will decrypt, unzip the file on the local machine. Just make sure that your install commando is equal to install.ps1 in Intune itself.