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

Patch My PC Home Updater: Command-Lines, Silent-Switches And More Info

Started by Justin Chalfant (Patch My PC), August 20, 2011, 09:06:29 PM

Previous topic - Next topic

MerlinTheGreat

These findings indicate that PatchMyPC in fact isn't actually "portable" since it writes in the registry...  :o  ;D

ChuckM6421

And you're correct!
I hope my attachment screen shot is visible.
Thanks very much and great detective work.
(And yes, it would appear this negates the portability, but it works for me)

samglasses

It should update anything that's currently installed when using the silent switch including other updates.

trading10

Is there a way to pre-select all the apps I want installed the first time (during Windows initial setup) via a script or just copying a .ini file to wherever patchmypc stores the list of apps to install for the first time?

So far, the only cmd information I've found has to do with systems where patchmypc has already been run at least once and installed the manually selected applications.  I don't want manual selection - I need pre-selected.

Any ideas?  What am I missing?

MerlinTheGreat

@trading10: Yes you can.
Check if in the folder of PatchMyPC an ini file exists.
If not: Launch PatcMyPC and goto Options. Click the Export settings to PatchMyPC.ini button
At this moment PatchMyPC creates an ini file.
Exit PatchMyPC.
Now open the ini file in an editor.
You'll find a lot of lines that start with ;Chk_
Remove the ; in front of the apps you want to have installed.
Save the ini file. Of course it needs to be saved in the folder of PatchMyPC.
Now when you start PatchMyPC these apps will be checked so they will be installed when you run the update/install.

trading10

This is great!

What I'm doing for anyone who might be interested, is using a free 'answer file generator' online to create a Sysprep 'answer file', saved to the flash drive, which the Windows installer uses to configure the system during the installation.  There is a way to execute a program this way, which now that I know about the ini file and removing the ';' to make each application install, after that initial install, the system is much farther along without having to install a ton of programs manually.  So what I get is a clean install of Windows 10 with all the applications installed upon first login.  Nice.

Thanks for sharing this info about the .ini file editing technique.  Much appreciated.