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: dipla65 on January 16, 2025, 09:51:50 AM

Title: need to add extra file
Post by: dipla65 on January 16, 2025, 09:51:50 AM
Hi,

I am installing an application called Endpoint and it requires a .dat file.  Need to add both files together for installation as .dat contains license..etc.  Whats the best way of doing this. 

Title: Re: need to add extra file
Post by: Michael (Patch My PC) on January 16, 2025, 09:56:48 AM
Hey dipla65,
 
You can include the 'dat' file as an additional file in the package using the 'Add custom pre/post scripts' right-click option.
https://patchmypc.com/custom-options-available-for-third-party-updates-and-applications#custom-scripts (https://patchmypc.com/custom-options-available-for-third-party-updates-and-applications#custom-scripts)

Do you just need the dat file as part of the package, or do you need to move the dat file somewhere local on the machine? If you need to move it, you can then run a 'Post Script' to copy the dat file to where you need.
Title: Re: need to add extra file
Post by: dipla65 on January 16, 2025, 10:01:43 AM
Thanks, Just needed it as an additional file in the pacakge.  Do i need to write any script out or can i just put the link to the .dat file  in additional files.
Title: Re: need to add extra file
Post by: Michiel (Patch My PC) on January 21, 2025, 02:17:54 AM
Hi, if you're adding an additional file to the package, you'll probably also have to add a script that performs the necessary actions for this additional file (i.e. copy it to the correct location).