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

Add Configfiles to the Install

Started by CarstenKochems, October 24, 2024, 01:37:49 AM

Previous topic - Next topic

CarstenKochems

Hello,

i already read
https://patchmypc.com/advanced-pre-post-scripts
and
https://patchmypc.com/forum/index.php?topic=6844.0

but i got a Problem:

I want to install JavaWebstart and give it a config.varfile with the Install.
java.exe -q -varfile "where do it save this one here.varfile"

Do i put the varefile in that folder my webstart.setup is stored or somewhere else?
What happend then after the auto-update?
Can i use the pre/post install Script only for the "Additiional Files" Part, use the commandline option to reference to (what path?) and save the config somewhere on my server with UNC-path?

You see i am a bit confused, to something most of you already did :-)
thanks

Antony (Patch My PC)

Good Morning,

Thanks for reaching out.

To add the varfile you should be able to add it as an additional file under the pre/post scripts option, then use the -varfile parameter to call tthe file. As the varfile will be wrapped up with the package there's no need to specify a filepath, just specify the filename.

I hope this helps, let me know if you have any other questions.

CarstenKochems

Quote from: Antony (Patch My PC) on October 24, 2024, 03:47:38 AMGood Morning,

Thanks for reaching out.

To add the varfile you should be able to add it as an additional file under the pre/post scripts option, then use the -varfile parameter to call tthe file. As the varfile will be wrapped up with the package there's no need to specify a filepath, just specify the filename.

I hope this helps, let me know if you have any other questions.

thank sounds great, let me try :)

CarstenKochems