Is it possible to create a switch that forces installation of all the common updates except the one marked as "skip" in the registry?
For example we have a clean install of Windows 7 64Bit;
User runs a small C# exe file (or .bat file) which writes the following to the registry:
RegKeyWrite = RegKeyWrite.CreateSubKey
("SOFTWARE\\Patch My PC");
RegKeyWrite.SetValue("PATH", "C:/PatchMyPC.exe");
RegKeyWrite = RegKeyWrite.CreateSubKey ("Options");
RegKeyWrite.SetValue("Language", "Dutch");
RegKeyWrite.SetValue("LogSaveLocation", @"C:\");
RegKeyWrite.SetValue("SkipAppleiTunes", "1");
RegKeyWrite.SetValue("SkipAppleQuicktime", "1");
RegKeyWrite.SetValue("SkipGoogleChrome", "1");
RegKeyWrite.SetValue("SkipMozillaFirefox", "1");
RegKeyWrite.SetValue("SkipOracleJREx64", "1");
RegKeyWrite.SetValue("SkipPiriformCCleaner", "1");
RegKeyWrite.SetValue("SkipSkype", "1");
So when PatchMyPc runs with the desired switch it will install:
-Adobe air
-Adobe reader
-Flash
-Java
-Shockwave
-Silverlight
But because it's a clean installation none of these programs where installed before PatchMyPc was run, so if User runs the program with the same registry settings as above and the /Auto switch nothing is installed and PatchMyPc say's it's finished.
Any idea's of fixes for this?