Changes for the Beta version: ============================ - Fixed bug in DoCheckServerRegistrySettings were the wrong string constant was written to the log file. - Bugfix. If earlier than Server 2008 the SMB value was retrieved/changed, which they should not have. - Changed the order in DoCheckRegistrySettings so that service packs are checked before registry settings. This is because an installation of a service pack can change the registry. - Changed the info & button texts in the RegCheck2_View.vw. - Changed the coloring of the service pack field to Red/Lime. - Cleaned up unused local variables. - Added documentation for the cRegCheck2 class as an html file. Removed some author comments for properties that obscured the documentation. Also updated property texts in Construct_Object and grouped together properties that belongs together. - Polished on the texts and tooltips of the RegCheck2_View.vw test view. - Added textobject above the grid to make it clearer what the values represent. Also added text 'Client Settings:' and 'Server Settings:' to the grid items to make it clearer what the properties belongs to. - Added functionality to reset all registry settings to their Windows default settings. Changes were made both to RegCheck2.pkg and RegCheck2_View.vw. The new property to control this is pbRevertRegistryValues. - Added the IsLicenseSingleUser global function to enable programmers to test if the current VDF license is single-user only, in case there is no point in checking the registry. Sample usage is included. - Added new csHostWillReboot text constant that is used by the RebootMachine message. - The old logic in RebootMachine was thrown out and replaced with a much simplier solution. It was just to complicated trying to do it with the Win32 API. It now works to reboot the machine. - Translated new RegCheck2.inc text constants to Swedish. NOTE: Translation help is needed for other languages! - Removed some of the old text constansts from RegCheck2.inc that are no longer used. - Polished on the RegCheck2 header text. - Added the EmbedManifestFile.bat file to the program folder along with the Microsoft program 'Mt.exe'. The .bat file can be run after a recompile of the RegCheck2Changer program to embed the manifest file into the executable. That makes it unneccessary to deploy the RegCheck2Changer manifest file. - It turned out that I was misinformed when starting with the registry keys. ALL of them are of type Dword! Fixed. - Added support for disabling SMB3 which is introduced with Windows 8 and Windows Server 2012. Open Issues: - In the header there is some text on how to disabling caching when using the SAMBA protocol. Where is the SAMBA ini file kept? Could/should we try to update the ini file as well? Changes between Alpha 1 and Alpha 2: =================================== - The list object in the RegCheck2_view.vw was replaced with the Grid class. This made it possible to use red & green colors to denote if the current registry settings are invalid or correct. - Changed the coloring of the two checkboxes "Registry Change Needed" and "Service Pack Upgrade Needed" in the RegCheck2_view.vw view using the same logic as the list object. Other cosmetic changes were also done. - Changed the params for the RebootMachine function & added some additional constants in RegCheck2.inc - Removed the CodeJock menu system from the test program so it can be compiled on earlier VDF versions than 12.1 (The RegCheck2 package supports VDF 11 and up). - The cToolTipController was introduced in VDF 15 and is used by the test program. It now works if you compile with earlier VDF versions, although (of course) no tooltips are shown - but you don't get compile errors. - Bug fix. Added checking if the current Windows version is earlier than XP. - Added to and improved the multi-language text constant strings in RegCheck2.inc - Changed the RegCheck2_View.vw (Test program) so that when the DoCheckRegistrySettings is run with the pbReportOnlyState = True This means that no changes are done by the RegCheck2.pkg when run from the test program, unless the 'Run Change Program' button is pressed. - Addes .sws files for VDF 12.0 and up. - Fixed a bug where the ptRegChangesToDo struct property didn't get set on XP machines. - Fixed a bug in the RegCheck2_View.vw "Run Change Program", where program wouldn't start correctly. - Changed the order of testing in Function WriteRegistryValue. - Changed Function WriteRegistryValue so that if a subkey doesn't exist it will get created. It was wrongly assumed that it wouldn't be necessary to create keys - but it is. - Added the IsAdministrator function if not already defined (it is in later VDF versions 14?) - Fixed a bug when writing the OplocksDisabled setting. The wrong key was passed. - The two properties; pbRegistryChangesNeeded and pbServicePackUpdateNeeded were not set to false when DoCheckRegistrySettings was called. Fixed. - Fixed bugs in DoCheckRegistrySettings where the pbReportOnlyState property wasn't respected. - Changed how the version checking is done. It now uses the peOSVersion property. - Added handling of unknown Windows versions. - Changed how Home versions are handled. - Added service checking logic for servers. - Added checking and handling of Server versions. The RegCheck2 package should now be complete. Actually server changes are done unconditionally; Even if running on a client machine it could still be used to store embedded DataFlex data files on a small network (pier-to-pier) and thus server registry settings apply. To not do any "server registry changes" set the pbDoServerRegistryChanges property to False (Default = True). Known bugs: ========== - None