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: Damian on January 23, 2025, 08:19:27 AM

Title: Custom App - Additional Arguments
Post by: Damian on January 23, 2025, 08:19:27 AM
Hello,

I am trying to deploy a custom app and make it available to users of the Company Portal app. However, I need to ensure that the parameter "ALLUSERS=1" is used during the installation. When I set the assignment to "Required," the app installs correctly for all users. However, if I uninstall the app, change the assignment to "Required," and then manually trigger the installation from the Company Portal, the parameter is not applied. As a result, the app does not appear in "Add & Remove Programs," and the shortcuts on the Start Menu and Desktop are missing. I am doing something wrong?

Thanks for your help.
Title: Re: Custom App - Additional Arguments
Post by: Michael (Patch My PC) on January 23, 2025, 09:14:35 AM
QuoteWhen I set the assignment to "Required," the app installs correctly for all users. However, if I uninstall the app, change the assignment to "Required," and then manually trigger the installation from the Company Portal,

I assume you mean changing the assignment from "Required" to "Available"?

Either way, changing the assignment type shouldn't change the defined installation parameters.

Did you apply the 'ALLUSERS=1' parameter to the Custom Apps 'Silent Install Parameters' field? Or did you define it in the Deployments 'Install Parameters' field?

I would suggest submitting a support case and uploading the below logs for both Installation attempts so we can verify what parameters are getting used during each installation attempt.

Title: Re: Custom App - Additional Arguments
Post by: Damian on January 23, 2025, 09:53:25 AM
Hi Michael,

QuoteI assume you mean changing the assignment from "Required" to "Available"?

Yes, correct.

QuoteDid you apply the 'ALLUSERS=1' parameter to the Custom Apps 'Silent Install Parameters' field? Or did you define it in the Deployments 'Install Parameters' field?

I did right-click on the Software Name within Publisher, then I used the "Modify command line" option and typed "ALLUSERS=1" under "Additional Argument". Is there a better way of doing it? Sorry, I'm new to this and I've just recently been involved in Deploying & Patching apps and I'm trying to get slightly better at it  ;D .

Thanks.
Title: Re: Custom App - Additional Arguments
Post by: Michael (Patch My PC) on January 23, 2025, 09:58:58 AM
You can disregard the logs I listed, I was assuming Intune for some reason.

The way you did it should be fine. Open a support ticket for sure as we'll need to look at the logs to see what is going on.

https://patchmypc.com/technical-support (https://patchmypc.com/technical-support)