Installing MSP file with user interaction

I am trying to deploy an (InstallShield) MSP file that displays a notification prompting the user to create a backup before installing the patch. The app is being deployed in Intune under the System context, using -DeployMode Interactive in the command line. and set to 'available' in Company portal for the user to install.
However, I cannot see the UI when testing, below is the code I am using:

Install patch

$mspFile = Join-Path -Path $adtSession.DirFiles -ChildPath 'application.msp'

Execute the Patch

Start-ADTMsiProcess -Action 'Patch' -FilePath $mspFile -AdditionalArgumentList 'REINSTALL=ALL REINSTALLMODE=omus /QR'

Could you please help me identify what I am missing to make the gui visible in the user session so they can interact with the backup prompt and then continue with the install?

Intune will NOT display any GUIs generated from installers when installing in the system context.

Use PSADT's Show-ADTInstallationPrompt to show a message to prompting the user to create a backup before installing the patch.

I think ejay is saying the patch has the notification, not that he's necessarily wanting the toolkit to show one from our dialog. You can either edit the MSP to remove that dialog from it, or if you're adamant about displaying it, use something like ServiceUI, which we don't recommend if you can avoid it.

@ejay
As you are using Start-ADTMsiProcess, I can only assume you are using PSADT 4.1.x?
What you haven't said is what your Intune install command line is?
I'm assuming here, but I guess it is possibly (default / simple command line):

Invoke-AppDeployToolkit.exe -DeploymentType "Install"

Unsure if you are aware of all the install parameters:

Does the following Intune install command line display the create a backup dialog for you?

Invoke-AppDeployToolkit.exe -DeploymentType "Install" -DeployMode "Interactive"

If this doesn't work, then @mjr4077au's solution above is probably the only way to achieve this

Let us know either way.

Hi @Adrian_Scott
I am using the command Invoke-AppDeployToolkit.exe -DeploymentType "Install" --DeployMode "Interactive" in Intune.
I'll probably will need go back to the vendor as the msp was provided by a 3rd party and as @mjr4077au mentioned,'m trying to avoid using serviceui.
Anyway thanks for your responses..

3 Likes