Support Forum: Get Support for Patch My PC Products and Services

Commercial Products: Support for Our Enterprise Product for Microsoft ConfigMgr and Intune => Commercial/Paid Products: Support and General Questions (ConfigMgr and Intune) => Topic started by: jkirby on October 11, 2022, 04:28:37 AM

Title: PulseSecure
Post by: jkirby on October 11, 2022, 04:28:37 AM
Hi All,

Does anyone know how I can add this command msiexec /i PulseSecure.x86.msi CONFIGFILE="c:\temp\my configuration.pulsepreconfig " to the Application that PatchMyPc pushes to intune?

Thanks
James.
Title: Re: PulseSecure
Post by: Ben Whitmore (Patch My PC) on October 11, 2022, 04:43:03 AM
Hey,

Have you tried using "Modify Command Line" and "Pre/Post Scripts" Right Click Options?

You can try the additional argument CONFIGFILE="configuration.pulsepreconfig" in the "Modify Command Line" Right Click Option and then add your custom config file as an additional file in the "Pre/Post Scripts" Right Click Option.

https://patchmypc.com/custom-options-available-for-third-party-updates-and-applications
Title: Re: PulseSecure
Post by: Adam Cook (Patch My PC) on October 11, 2022, 04:48:26 AM
Hey James,

To achieve this, you'll be looking at using the Modify command line (https://patchmypc.com/custom-options-available-for-third-party-updates-and-applications#modify-command-line) right click option to add the custom MSI arg CONFIGFILE. And you may want to use the 'Additional file(s)' option in the Add custom pre/post script (https://patchmypc.com/custom-options-available-for-third-party-updates-and-applications#custom-scripts) right click option to include your pulsepreconfig file within the same package once uploaded to Intune. However if your pulsepreconfig is on C:\temp for all your devices, then you won't need to do that.

For instance, if you entered the below value in Modify command line (see 1.png). Then browsed out to choose the pulsepreconfig file as an additional file (see 2.png). At the time of publishing and uploading to Intune, myconfiguration.pulsepreconfig will be bundled altogether at the same time in the same package, hence why it's relevatively referenced in the CONFIGFILE parameter.
Title: Re: PulseSecure
Post by: jkirby on October 11, 2022, 08:43:57 AM
Gents thank you both for your help, I had to make one slight change to the additional argument line CONFIGFILE="%CurrentDir%\configuration.pulsepreconfig" but once added it all works.

Thanks Again
James.