←  AutoPatcher Bug Reports

AutoPatcher Forum

»

Yikes! AutoPatcher is confused

thunder's Photo thunder 09 Sep 2010

I downloaded apup and ran it. I downloaded updates for Windows XP and Office XP. I have Windows XP Pro SP3 and Office XP SP2. After apup got finished, I run AutoPatcher. I updated Windows and Autopatcher updated my Office XP SP2 to Office XP SP3. I restarted the computer and ran AutoPatcher again. There was some more updates for Windows and Office XP. I unchecked everything but the Office XP updates. AutoPatcher was installing 13 of 13 I think not sure on the number. AutoPatcher crashed with the error "Yikes! AutoPatcher is confused". I restarted the computer and tried again and this time it said 12 of 13 I think, but it crashed again.

I looked around this forum and fount this post Confused Autopatcher. I had the same or similar problem. I fount the file to make a log file. I got the file and ran it and this time it said 11 of 11. Everything installed with no problems. So I have nothing to really post besides a picture of it and the simple log error from the normal AutoPatcher file.

Attempting to initialize common controls.
Accessing filesystem...
AutoPatcher 5.6 loaded the filesystem.

Detected 
English (1033) Windows XP Professional Service Pack 3
System Components:
 Internet Explorer: 8.0.6001.18939
 Windows Media Player: 11.0.5721.5268
 .NET Framework: 1.1.4322|1.1SP1|2.0.50727.3053|2.0SP2|3.2.30729.01|3.2SP2|3.5|3.5SP1
 Windows Installer: 4.5.6001.22159
 DirectX: 4.09.00.0904
 MSN/Live Messenger: 

Office Components:
 Microsoft Word: 10.0.6612.0
 Microsoft Excel: 10.0.6501.0
 Microsoft PowerPoint: 10.0.6501.0
 Microsoft Outlook: 10.0.6626.0
 Microsoft Access: 10.0.6771.0
 Microsoft Project: 
 Microsoft Publisher: 
 Microsoft OneNote: 
 Microsoft FrontPage: 10.0.6308.0
 Microsoft InfoPath: 
 Microsoft Visio: 
 Microsoft SharePoint Designer: 
 Microsoft Groove: 

Attached File  autopatcher error.jpg (31.38K)
downloads: 20


Why autopatcherLOG.exe did not have any problems I do not know. I suggest you make a sticky to point out this AutoPatcher file that can log or add that ability to the normal AutoPatcher file. Have it as a option to log or not to log. I also have a question about autopatcherLOG.exe. Does it make a log file if there is no errors? If so where does it store the log file?

I forgot to mention that after I got autopatcherLOG.zip, I ran apup again and got all English updates. I did that in case I ever needed it for a different computer. Just stick the files on a USB drive. I do not know if running apup again after the error made a difference or not.
Edited by thunder, 09 September 2010 - 07:49 PM.
Quote

Cristiano's Photo Cristiano 09 Sep 2010

that error seems to be related to an component file that was updated at first autopatcher run, when you was updating office xp, but i'm not sure

> I do not know if running apup again after the error made a difference or not
apup? it cleans the errors in apup.log only. the same happens with autopatcher

but i will point this to antony. he probably knows a lot more about those kind of errors than me

thanks

[]s
Quote

_def_x_'s Photo _def_x_ 09 Sep 2010

If the error message is correct it looks as if a .apm file in the Office XP release is having an issue with an 'installation command' and needs an edit, may also be the script, maybe a download link for the executable is missing and no file is found in the folder the .apm file is pointing to.

...What AutoPatcher was trying to do -> execute a module's installation/removal commands.
...Where: - mdlModuleInstallation.executeCommand()
...Error Code: - 0x35: File not found

I would first run AutoPatcher, don't install anything, and look at the log - \Windows\autopatcher.log - is there an error that points to a problem apm file for Office XP.

I would then check every folder for Office XP, is there a missing executable (file not found) in a folder.

I would look at every apm file for Office XP, it may have been copied as a template and a reference to the old file is still in the apm - meaning - Office XP is trying to install KB123456 but the install routine is pointing to,

[Installation]
"Module:\OfficeXP-KB654321-x86-ENU.exe" /quiet /norestart

This might explain why you had 13 files selected for install the first run, and only 12 the second. Again, this is assuming the error message is accurate - File not found.

There are a few other possibilities but the main issue is the .apm can't find either the correct folder or file to install the update.
Quote

Cristiano's Photo Cristiano 10 Sep 2010

> .apm can't find either the correct folder or file to install the update
perhaps. but i did an test in here, removing the adobe air installer from his folder, then i've started autopatcher. the module was loaded, selected to be installed, but no yikies. but you are right, it probably be related to something that is missing. i will do an download test with this one, just to be sure that all files are in place. but it's an download of 235MB and probably it will take some time to complete

[]s
Quote

_def_x_'s Photo _def_x_ 10 Sep 2010

Just a quick look at the .apm files I found this... Re: KB949005_pro_enu.apm

...Title=Security Update for Microsoft Office Project 2002 (KB949005)

...UniqueID=OFFICE_2K2_948692_ENU

..."module:\project2002-KB949005-FullFile-ENU.exe" /Q:A /R:N
Quote

Cristiano's Photo Cristiano 10 Sep 2010

good catch. that probably is half of the way done, if not all. at least, that can be fix just changing the UniqueID to any other thing (is duped, at least)

[]s
Quote

Antony's Photo Antony 10 Sep 2010

Yes, the guess about problems in APM files - it's a really good catch))
I just will add my five coins in this chat ;)

'   Create a temp file to execute.'
    outName = "modulecode.bat"
    Set outFile = FSOTemp.CreateTextFile(outName)
    outFile.Write whichCommand
    outFile.Close
    Set outFile = Nothing

'   Execute it and wait for it to end.'
    idProg = Shell(FSOTemp & "\" & outName, vbHide)
    iExit = waitForProcess(idProg)

FSOTemp - is a path to a system's defined temp directory.

this is what happen in 'mdlModuleInstallation.executeCommand()'
So - not found file - it can be only OR wrong file from APM file, which is using inside newly created BAT file. OR the "modulecode.bat" file itself. IF Access to this file was temporarily restricted by some antivirus program - when definitely Shell couldn't execute this file at all.
Quote

Cristiano's Photo Cristiano 10 Sep 2010

948692 isn't duped inside of any modules, so no problem at all. the download test was completed without any warnings and is official. there's no missing files into the folders and no warnings was registered into autopatcher.log (duped uniqueids should be pointed in there). i will try look later in the install command for missing characters or things that shouldn't be in there

[]s
Quote

_def_x_'s Photo _def_x_ 10 Sep 2010

This is like detective work, trying to piece together the whole by a bunch of parts. :wacko:

I would ask the OP,

...is your release Official?
...are there any Office XP updates still listed as uninstalled (black) - please list them?
...did you try to update while your AV, firewall, any security software was running - not a good idea?
Quote

_def_x_'s Photo _def_x_ 10 Sep 2010

Not sure, just a thought. Normally long install lines wrap correctly but this line didn't.

Re: KB833858_enu.apm

This is the installation command line as written, does not wrap properly - is there a space that shouldn't be - /T:"temp:\" msiexec.

[Installation]
"module:\officexp-kb833858-fullfile-enu.exe" /q /c /T:"temp:\"
msiexec /update "temp:\VSDEBUGff.msp" /quiet /norestart

--------------------------------------------------------

Again, just by looking at other commands with 'msiexec.exe', it looks like this... no spaces -> /T:"temp:\"msiexec

Is this correct?
[Installation]
..."module:\officexp-kb833858-fullfile-enu.exe" /q /c /T:"temp:\"msiexec /update "temp:\VSDEBUGff.msp" /quiet /norestart

I'm going line by line for every install, this is all I see different from other msiexec.exe installs so far.

Here's an example from !SP3KB832671_enu.apm
[Installation]
..."module:\OfficeXpSp3-kb832671-fullfile-enu.exe" /Q:A /R:N /c:"msiexec /update MAINSP3ff.msp /quiet /norestart"
Quote

thunder's Photo thunder 10 Sep 2010

I will uninstall it all and reinstall and try it again to get a log.
Quote

Cristiano's Photo Cristiano 10 Sep 2010

please, before do that, try check if there's something showing as not installed

[]s
Quote

_def_x_'s Photo _def_x_ 10 Sep 2010

OK, I looked at every .apm file and the link from the script to see if anything stood out. These are just my musings, don't know if any of it matters or not. I used the .apm - [Behavior], [Installation], and 'DetectFile=' from the script. The ...QUESTION? note is something I noticed - do with it as you see fit.

Spoiler
Quote

Anssi's Photo Anssi 18 Sep 2010

i got that window too : S

"What AutoPatcher was trying to do
It appears that the error occured while AutoPatcher was trying to execute a module's installation/removal commands.

Where: mdlModuleInstallation.executeCommand()
Error Code: 0x35: File not found"
Quote

Cristiano's Photo Cristiano 18 Sep 2010

just a question: are you updating your system with your antivirus enabled? if is, can you please state the name and version of it?

[]s
Quote

thunder's Photo thunder 19 Sep 2010

 Cristiano, on 10 September 2010 - 03:04 PM, said:

please, before do that, try check if there's something showing as not installed

[]s

Sorry but right after I made that post I tried to reinstall and did not get any error.


 Cristiano, on 18 September 2010 - 09:51 PM, said:

just a question: are you updating your system with your antivirus enabled? if is, can you please state the name and version of it?

[]s

If you mean me I was using Kaspersky Internet Security version 2010 I think. It might have been 2011 though.

Sorry about not posting back earlier. After I tried the reinstall I got busy with other business. I do not know what left over files and/or registry entries are left over from uninstalling office, so I am going to try installing office again in VirtualBox.
Quote

Cristiano's Photo Cristiano 19 Sep 2010

i can't test it with kas right now, but i know someone that can. he is watching this topic :)

[]s
Quote