Autopatcher v6.2

In this area, you will find test programs and scripts.
User avatar
TheAPGuy
Site Admin
Site Admin
Posts: 979
Joined: Sun Oct 27, 2013 12:38 am
Location: California
Contact:

Re: Autopatcher v6.1 beta

Post by TheAPGuy »

Updated TODO:
(Fixed)Tree looks like crap. Silly old img files used by original AP didn't translate well to the new .NET code. Created new check box img files in paint.net.
Check boxes do not work properly. The code for propagating changes up and down the tree is broken.
Starting without an ini file causes interesting bugs. AP size is about 20x5 pixels when it starts.
Can't seem to save ini file changes when there is no ini file to save to.
Minimizing to background then bringing it back causes the resize code to go ape shit and resizeing the window does not fix it.
ChrisJ
Posts: 353
Joined: Sun Oct 27, 2013 3:32 am

Re: Autopatcher v6.1 beta

Post by ChrisJ »

TAPG, have you asked for help from other .NET programmers at Stack Overflow or some other site?
User avatar
TheAPGuy
Site Admin
Site Admin
Posts: 979
Joined: Sun Oct 27, 2013 12:38 am
Location: California
Contact:

Re: Autopatcher v6.1 beta

Post by TheAPGuy »

Yes/No, I didn't have to post the problems since a lot of them were already posted in Stack overflow. :) Other problems are just little things that I just couldn't figure out till I did a step by step watching the program execute each step until I saw the error. The issue with the check boxes I just couldn't find anywhere online. The transfer from VB6 to newer VB totally screwed up the check box images stored in the project.

The auto code generated by the project upgrade didn't help some matters either. It generated/converted most functions. Some work better, most had bugs all over them. I couldn't just replace that buggy code with the old code since the old code HAD to be converted since a lot of functions available in VB6 are no longer available as well as using .NET allows me to drop a ton of code for single commands. There is a VB6 comparability dll I could toss in there to use the older functions but, the point of going to .NET is to improve things by using the motto "out with the old and in with the new", which to me translates as "get rid of rusted through crap and install shiny stuff".

Things are improving. I suspect the ini file and the sizing issues are simple issues I could solve in 10 mins a piece. The resizes issue is probably also fairly simple. The checkboxes should be a moderate problem but, only since we are talking about a recursive function that works the first run and successive runs, propagate errors.

There are still a few things to move around graphically as well; for example download numbers and text don't quite line up to where they did before so the math needs to be adjusted a bit.
ChrisJ
Posts: 353
Joined: Sun Oct 27, 2013 3:32 am

Re: Autopatcher v6.1 beta

Post by ChrisJ »

Well, I hope the bugs are squashed and finally a stable 6x version can be released that all can reliably use without issue.

Keep Hope Alive 8-)
older-than-dirt
Posts: 55
Joined: Sun Jan 05, 2014 10:51 pm

Re: Autopatcher v6.1 beta

Post by older-than-dirt »

I was wondering if there's any news regarding a new release that supports the blacklist. Are there any thoughts about when this might be possible? Either a version newer than 6.1.40 (which doesn't seem to work too well, for me, anyways) or the new .NET-based version.

Thanks.
OTD
User avatar
TheAPGuy
Site Admin
Site Admin
Posts: 979
Joined: Sun Oct 27, 2013 12:38 am
Location: California
Contact:

Re: Autopatcher v6.1 beta

Post by TheAPGuy »

Progress was halted for a while. I buried my grandfather 2 weeks ago. I am just sorta just being a lazy good for nothing around at home. I should update the todo list for the .NET code since I did get some progress. I will also get back to the code since I feel I need something to focus on now.
ChrisJ
Posts: 353
Joined: Sun Oct 27, 2013 3:32 am

Re: Autopatcher v6.1 beta

Post by ChrisJ »

TheAPGuy wrote:Progress was halted for a while. I buried my grandfather 2 weeks ago.

Very sorry to hear this, grandparents are special people too in our lives.
TheAPGuy wrote:I should update the todo list for the .NET code since I did get some progress.

Good to hear progress is being made. I kinda assumed AP might be once again coming to a halt due to the various bugs that have been difficult to squash, and life getting in the way.
TheAPGuy wrote:I will also get back to the code since I feel I need something to focus on now.
Aren't you a gamer too? I thought it was you that way way back pointed to a gaming site that you had done some coding on? It's been so long, sorry, I might have you confused with Anthony who did a bit of coding on AP so many moons ago.

I still maintain hope AP will become a much more sophisticated tool like we expressed back in the beginning when you came on board, but I'd settle for stability and reliability with the feature-set as it stands now.
User avatar
TheAPGuy
Site Admin
Site Admin
Posts: 979
Joined: Sun Oct 27, 2013 12:38 am
Location: California
Contact:

Re: Autopatcher v6.1 beta

Post by TheAPGuy »

<sheepish look> I found a game called Space Engineers... I am hooked. Its like Minecraft except... space and tons better graphics and it uses voxels. I won't gush my brains out here but, its great. Its in alpha stages now.

Yes I did some coding for the game. not part of the game mind you. Just a tool to help maintain the mods for the mod of a HL2 game. lol

Also Ya, progress still going. redoing some more code. I couldn't leave well enough alone. So I am reinventing the wheel. Stupid OCD. Stupid brain. Stupid off by one errors. It will bring me more options in how ini files are handled. Right now it just reads in the ini file and stores values for the ones I tell it to "look" for. It will soon store all valid values it finds and be able to modify them while still keeping anything else you put in the ini file... your own notes for example. (As long as there is a # in front of your notes otherwise it will wipe non valid lines.)

Also seriously Direct to CD/DVD/BluRay is able just not enabled so there is that. :)
DesertJerry
Posts: 181
Joined: Sat Feb 22, 2014 7:33 pm

Re: Autopatcher v6.1 beta

Post by DesertJerry »

Win7 w/SP1 64bit > downloaded and extracted Autopatcher v6.1.40 > selected items for downloading > taking awhile (4.89GiB 852 files) (noticed that total time remaining bore no real relationship to actual time elapsing - why was time remaining increasing, in some cases, as the number of files downloaded was also increasing?)

List of available releases - Release Name - all but five checked - not checked:
AutoPatcher Engine 6.1.32 (Replaces Apup) (Red)
AutoPatcher for Windows 8.1 (x64) (Black)
AutoPatcher for Windows 8.1 (x86) (Black)
AutoPatcher for Windows 7 SP1 (x86) (Black)
AutoPatcher for Windows Vista SP2 (x86) (Black)
AutoPatcher Office 2007 SP3 (Black)

Retreived All But 1 > Next > Install Updates > Items to be checked. (Don't know which one was not retreived.)

Started Autopatcher v6.1.40 > Install Updates:

Microsoft Windows - Updated Components
No listing for .Net Framework 1.1 (expected though I have it installed) APMs edited as required and .NET Frameowrk 1.1 listed in blue.
.Net Frameowrk 3.5 and Family - all blue execpt for one:
________ Update for ...(KB28566676) [That's how it's listed - why the underlines?]
.NET Framework 4.6 - all black three checked - unchecked (Standalone Installer) Problem here could be because I have 4.6.2 Preview installed?

Microsoft Windows - Common Files
Two blue items

Microsoft Office Addons
Three blue items

Microsoft Windows Admin
User preferences - two blue here.

Windows Addons
Adobe Software - all blue
Oracle Java Runtime - black - not selected, I have beta versions installed
Microsoft Visual C++ Runtime - top eight blue, four botton black (different versions installed - will check.)
Microsoft Security - black > ...Esentials (4.8.204.1) wrong - have Windows Defender installed
Others blue - OK

Windows Seven x64
... Critical Updates > six black (KB2491683, KB2506212, KB2509553, KB2544893, KB2585542, KB3093513)
... Recommended Updates > four black (KB2515325, KB2834140-V2, User-Mode Driver ...1.11 update, Kernel-Mode Driver ... 1.11 update

Opted to let Critical Updates install and verify > Finished > Reboot >

Autopatcher v6.1.40 Has Started at 12-Apr-16 12:06:23

Starting Autopatcher From W:\AutoPatcher

Detected OS: English (1033) Microsoft Windows 7 Ultimate x64 Service Pack 1
Current Locale: English / Non-Unicode Default: English
Deleting File H:\#AutoPatcher_Temp#\acrobat_reader_en_US.rti
Deleting File H:\#AutoPatcher_Temp#\admintools.rtiz
Deleting File H:\#AutoPatcher_Temp#\adobe_air.rti
Deleting File H:\#AutoPatcher_Temp#\apengine.rtiz
Deleting File H:\#AutoPatcher_Temp#\common.rti
Deleting File H:\#AutoPatcher_Temp#\dotnet_x64.rtiz
Deleting File H:\#AutoPatcher_Temp#\dotnet_x86.rtiz
Deleting File H:\#AutoPatcher_Temp#\extras.rti
Deleting File H:\#AutoPatcher_Temp#\Java_jre_8_x64.rti
Deleting File H:\#AutoPatcher_Temp#\Java_jre_8_x86.rti
Deleting File H:\#AutoPatcher_Temp#\msredist.rti
Deleting File H:\#AutoPatcher_Temp#\mssecurity_enu.rti
Deleting File H:\#AutoPatcher_Temp#\offaddon.rti
Deleting File H:\#AutoPatcher_Temp#\seven_x64_sp1.rtiz
Deleting File H:\#AutoPatcher_Temp#\xp_x64_sp2.rtiz
Installing Security Update for Windows 7 for x64-based Systems (KB2491683)
Installing Security Update for Windows 7 for x64-based Systems (KB2506212)
Installing Security Update for Windows 7 for x64-based Systems (KB2509553)
Installing Security Update for Windows 7 for x64-based Systems (KB2544893)
Installing Security Update for Windows 7 for x64-based Systems (KB2585542)
Installing Security Update for Windows 7 for x64-based Systems (KB3093513)
Silent Error: Attempted to give prgTotalProgress a negative value or a value too high :100

Autopatcher Is Terminating At 12-Apr-16 12:28:43

After reboot same six Critical Updates Listed - Why?

Tried Recommended Updates > Reboot

Partial Log:

Installing Update for Windows 7 for x64-based Systems (KB2515325)
Installing User-Mode Driver Framework version 1.11 update for Windows 7, and Windows Server 2008 R2
Installing Kernel-Mode Driver Framework version 1.11 update for Windows 7, and Windows Server 2008 R2
Installing Update for Windows 7 for x64-based Systems (KB2834140-v2)
Silent Error: Attempted to give prgTotalProgress a negative value or a value too high :100

Autopatcher Is Terminating At 12-Apr-16 12:44:10

After reboot same four Recommended Items Listed - Why?

Booted to Win XP x64 w/SP2 > AutoPatcher v6.1.40 started

Windows XP x64 & 2003 x64
Critical Updates > Nineteen black ... (KB2813345, KB2892076, KBKB2957482, KB304599, KB3045685, KB3046482, KB3061518, KB3045171, KB3072630, KB3068368, KB3072633, KB3067903, KB3070102, KB3077657, KB3067505, KB3069392, KB3074886, KB3068457, KB3065822)

Non-critical Updates > four black ... (KB3013410, KB3020338, KB3000988, KB3065979)
Comnponent Updates > Windows PowerShell 1.0 v2

Opted to allow all Critical Updates to install > Finish > Reboot

Autopatcher v6.1.40 Has Started at 12-Apr-16 14:32:08

Starting Autopatcher From W:\AutoPatcher

Detected OS: Windows Server 2003 Standard 32-bit Service Pack 2 <<< [Really this is XP Pro x64 w/SP2 64bit]
Current Locale: English / Non-Unicode Default: English
Deleting File J:\#AutoPatcher_Temp#\acrobat_reader_en_US.rti
Deleting File J:\#AutoPatcher_Temp#\admintools.rtiz
Deleting File J:\#AutoPatcher_Temp#\adobe_air.rti
Deleting File J:\#AutoPatcher_Temp#\apengine.rtiz
Deleting File J:\#AutoPatcher_Temp#\common.rti
Deleting File J:\#AutoPatcher_Temp#\dotnet_x64.rtiz
Deleting File J:\#AutoPatcher_Temp#\dotnet_x86.rtiz
Deleting File J:\#AutoPatcher_Temp#\extras.rti
Deleting File J:\#AutoPatcher_Temp#\Java_jre_8_x64.rti
Deleting File J:\#AutoPatcher_Temp#\Java_jre_8_x86.rti
Deleting File J:\#AutoPatcher_Temp#\msredist.rti
Deleting File J:\#AutoPatcher_Temp#\mssecurity_enu.rti
Deleting File J:\#AutoPatcher_Temp#\offaddon.rti
Deleting File J:\#AutoPatcher_Temp#\seven_x64_sp1.rtiz
Deleting File J:\#AutoPatcher_Temp#\xp_x64_sp2.rtiz
Module 'Update for Revoked Certificates - March 2015 (KB3050995)' (unique id: 'KB3050995_WIN_ALL') reports 'WINDOWS_COMMON_PARENT' as its parent, but such module does not exist or is not loaded in the right order.
Installing Security Update for Windows XP x64 Edition (KB2813345)
Installing Security Update for Windows XP x64 Edition (KB2892076)
Installing Security Update for Microsoft XML Core Services 6.0 Service Pack 2 for x64-based Systems (KB2957482)
Installing Security Update for Windows Server 2003 x64 Edition (KB3045999)
Installing Security Update for Windows Server 2003 x64 Edition (KB3045685)
Installing Security Update for Windows Server 2003 x64 Edition (KB3046482)
Installing Security Update for Windows Server 2003 x64 Edition (KB3061518)
Installing Security Update for Windows Server 2003 x64 Edition (KB3045171)
Installing Security Update for Windows Server 2003 x64 Edition (KB3072630)
Installing Security Update for Windows XP x64 Edition (KB3068368)
Installing Security Update for Windows XP x64 Edition (KB3072633)
Installing Security Update for Windows Server 2003 x64 Edition (KB3067903)
Installing Security Update for Windows Server 2003 x64 Edition (KB3070102)
Installing Security Update for Windows Server 2003 x64 Edition (KB3077657)
Installing Security Update for Windows XP x64 Edition (KB3067505)
Installing Security Update for Windows Server 2003 x64 Edition (KB3069392)
Installing Cumulative Security Update for Internet Explorer 8 for Windows Server 2003 x64 Edition (KB3074886)
Installing Security Update for Windows Server 2003 x64 Edition (KB3068457)
Installing Cumulative Security Update for Internet Explorer 8 for Windows Server 2003 x64 Edition (KB3065822)
Silent Error: Attempted to give prgTotalProgress a negative value or a value too high :100

Autopatcher Is Terminating At 12-Apr-16 14:43:55

After reboot same nineteen Critical Updates listed - again Why?

Non Critical four updates selected and Finished > rebooted

Installing Update for Windows Server 2003 x64 Edition (KB3013410)
Installing Update for Windows Server 2003 x64 Edition (KB3020338)
Installing Update for Windows Server 2003 (KB3000988)
Installing Update for Windows Server 2003 x64 Edition (KB3065979)
Silent Error: Attempted to give prgTotalProgress a negative value or a value too high :100
Abnormal Exit Via Form's X Button.

Autopatcher Is Terminating At 12-Apr-16 14:57:49

After reboot same four Non Critical updates still shown in black - ?

Microsof tWindows - Updated Components
.Net Framework 1.1 - all items in blue.
.Net Framework 3.5 and Family - all items shown in blue

Microsoft Office Addons
Visual Studio 2005 and 2008 Tools in blue; no listing for Visual Studio 2010 Tools

Windows Addons
Adobe Software - all blue
Oracle Java Runtime - no submenu - JRE8 is NOT compatible with XP - latest for XP is JRE7U77 - add appropriate APM here.
Microsoft Visual C++ Runtime - 2008 to 2012 blue, 2013 and 2015 black (will check versions here) APMs edited for latest versions - all black
Microsoft Security - no submenu
Next three items blue

Microsoft Windows Admin - user options

Later verification:

Win7 w/SP1 64bit

Microsoft Visual C++ Runtime

vcredist_2013_x64.apm sections:
[DetectionRegistry]
RegistryPath=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A749D8E6-B613-3BE3-8F5F-045C84EBA29B}
KeyName=DisplayName
KeyValue=Microsoft Visual C++ 2013 x64 Minimum Runtime - 12.0.21005

RegistryPath=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{929FBD26-9020-399B-9A7A-751D61F0B942}
KeyName=DisplayName
KeyValue=Microsoft Visual C++ 2013 x64 Additional Runtime - 12.0.21005

RegistryPath=HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{050d4fc8-5d48-4b8f-8972-47c82c46020f}
KeyName=DisplayName
KeyValue=Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.30501

Checked my system: KeyValue in all cases should read 12.0.30501 - error above is use of 21005. Same error pertains to vcredist_2013_x86.apm

vcredist_2015_x64.apm
[DetectionRegistry]
RegistryPath=HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x64
KeyName=Version
KeyValue=v14.0.23506.00

RegistryPath=HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{3ee5e5bb-b7cc-4556-8861-a00a82977d6c}
KeyName=DisplayVersion
KeyValue=14.0.23506.00

Checked my system: KeyValue is all cases should read 14.0.23918 - error above is use of 14.0.23506; same error applies to x86 version of APM.
Also, Uninstall\ is incorrect, should be: {2e085fd2-a3e4-4b39-8e10-6b8d35f55244}

The above kept me busy for a couple of days - hope it provides some useful information.
User avatar
TheAPGuy
Site Admin
Site Admin
Posts: 979
Joined: Sun Oct 27, 2013 12:38 am
Location: California
Contact:

Re: Autopatcher v6.1 beta

Post by TheAPGuy »

hmm Seems you can reliably get that error (Silent Error: Attempted to give prgTotalProgress a negative value or a value too high :100) to show up where it almost never shows up for me. It only shows when I am not even paying attention to it. I will see about the rest of the small issues though.
Post Reply