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

SoapUI - custom command line - targeting file

Started by PaulKlerkx, April 21, 2024, 10:44:08 PM

Previous topic - Next topic

PaulKlerkx

Hi, I am going through the initial setup of our PMPC apps. 
I need to install SoapUI using the answer file method as we need to put the tutorials in a custom location. 

Our current command line is "SoapUI-x64-5.7.0.exe -q -overwrite -varfile response.varfile" and the varfile contains the info instructing the tutorials to be redirected to another drive. 

question is, how do I configure PMPC to target that varfile. 

I'm guessing I drop it in a set / never changing network location and use the full path to it.  Is that how it is done or is there a different preferred method?  I have another app with a similar setup as well.  VSCode - requires this addition" /LOADINF="VSCode.inf"

Adam Cook (Patch My PC)

#1
    Quote from: PaulKlerkx on April 21, 2024, 10:44:08 PMHi, I am going through the initial setup of our PMPC apps. 
    I need to install SoapUI using the answer file method as we need to put the tutorials in a custom location. 

    Our current command line is "SoapUI-x64-5.7.0.exe -q -overwrite -varfile response.varfile" and the varfile contains the info instructing the tutorials to be redirected to another drive. 

    question is, how do I configure PMPC to target that varfile. 

    I'm guessing I drop it in a set / never changing network location and use the full path to it.  Is that how it is done or is there a different preferred method?  I have another app with a similar setup as well.  VSCode - requires this addition" /LOADINF="VSCode.inf"

    Hello

    Using the Patch My PC Publisher you can add your own arguments and include additional files within the packages. I'll show you how to do this below. Once you include the .varfile file as an additional file, you'll just need to reference the file relatively as it will be in the same directory as the .exe itself when it is stored server -side (and also in the cache folder when downloaded by the client, too.)

    • Right-click on SoapUI in the Patch My PC Publisher
    • Choose Modify command line and enter: -overwrite -varfile response.varfile (note I have omitted the -q parameter as this is applied by default, in this window we're supplying additional custom parameters.)
    • Right-click on the product again and choose Add custom pre/post script
    • Within the Additional files section, browse out and choose your response.varfile and click OK
    • If this is for an Intune package, I recommend deleting the package in Intune and syncing the Patch My PC Publisher (via the Sync Schedule tab > Run Publishing Service Sync). For anything else (i.e. SCCM or WSUS), I recommend right-clicking on the product again, before synchronising, and select Republish during next sync schedule

    Here are a couple of useful reference articles relevant to my suggestions:


    I hope this helps![/list]


    CaseyGraham

    Quote from: Adam Cook (Patch My PC) on April 22, 2024, 01:56:07 AM
      Quote from: PaulKlerkx on April 21, 2024, 10:44:08 PMHi, I am going through the initial setup of our PMPC apps. 
      I need to install SoapUI using the answer file method as we need to put the tutorials in a custom location. 

      Our current command line is "SoapUI-x64-5.7.0.exe -q -overwrite -varfile response.varfile" and the varfile contains the info instructing the tutorials to be redirected to another drive. 

      question is, how do I configure PMPC to target that varfile. 

      I'm guessing I drop it in a set / never changing network location and use the full path to it.  Is that how it is done or is there a different preferred method?  I have another app with a similar setup as well.  VSCode - requires this addition" /LOADINF="VSCode.inf"

      Hello

      Using the Patch My PC Publisher you can add your own arguments and include additional files within the packages. I'll show you how to do this below. Once you include the .varfile file as an additional file, you'll just need to reference the file relatively as it will be in the same directory as the .exe itself when it is stored server -side (and also in the cache folder when downloaded by the client, too.)

      • Right-click on SoapUI in the Patch My PC Publisher
      • Choose Modify command line and enter: -overwrite -varfile response.varfile (note I have omitted the -q parameter as this is applied by default, in this window we're supplying additional custom parameters.)
      • Right-click on the product again and choose Add custom pre/post script
      • Within the Additional files section, browse out and choose your response.varfile and click OK
      • If this is for an Intune package, I recommend deleting the package in Intune and syncing the Patch My PC Publisher (via the Sync Schedule tab > Run Publishing Service Sync). For anything else (i.e. SCCM or WSUS), I recommend right-clicking on the product again, before synchronising, and select Republish during next sync schedule

      Here are a couple of useful reference articles relevant to my suggestions:


      I hope this helps![/list]

      Thanks for helping me out as well, you made my day. If I want to know more, I will ask by starting my own thread.