• Welcome to Support Forum: Get Support for Patch My PC Products and Services.
 

Custom App - Additional Arguments

Started by Damian, January 23, 2025, 08:19:27 AM

Previous topic - Next topic

Damian

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.

Michael (Patch My PC)

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.

  • %ProgramData%\PatchMyPC\*
    • This folder contains User based installation logs as well as notification settings
  • %ProgramData%\PatchMyPCInstallLogs\*
    • This will contain logs from individual application installers
  • %ProgramData%\PatchMyPCIntuneLogs\*
    • PatchMyPC-CustomSoftwareDetectionScript*.log
    • PatchMyPC-CustomSoftwareUpdateDetectionScript*.log
    • PatchMyPC-ScriptRunner*.log
      • This may be found in [%ProgramData%\PatchMyPC\] if the Install was initiated by the user from Company Portal.
    • PatchMyPC-SoftwareDetectionScript*.log
    • PatchMyPC-SoftwareUpdateDetectionScript*.log
  • %ProgramData%\Microsoft\IntuneManagementExtension\Logs\*
    • AgentExecutor*.log
    • AppActionProcessor*.log
    • AppWorkload*.log
    • IntuneManagementExtension*.log
    • Win32AppInventory*.log

Damian

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.

Michael (Patch My PC)

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