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

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - CarstenKochems

#2
Quote from: CarstenKochems on October 24, 2024, 01:39:54 AM
Quote from: Pete (Patch My PC) on July 16, 2023, 08:00:04 PM
Quote from: PC096 on July 14, 2023, 01:23:24 AM-i "PATH_TO_CONFIG_FILE"


You could add that to the right click option modify command line

will this UNC-Path to configfile then copyed by pmpc to the client within the deployment?

yes it will for alle that ask later,

user command line to write the parameters and use then the pre/post script to only add a file, and thats it :)
#3
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 :)
#4
Quote from: Pete (Patch My PC) on July 16, 2023, 08:00:04 PM
Quote from: PC096 on July 14, 2023, 01:23:24 AM-i "PATH_TO_CONFIG_FILE"


You could add that to the right click option modify command line

will this UNC-Path to configfile then copyed by pmpc to the client within the deployment?
#5
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