←  AutoPatcher Bug Reports

AutoPatcher Forum

»

Run Time Error 0

PsiMoon314's Photo PsiMoon314 03 Dec 2007

Hi,

I am downloading a fresh install of AP using APUP and I get as far as downloading the .list and .script files.

As this point I get a Runtime Error 0 message and APUP then quits.

Running again gives the same error.

The APUP.txt log file contains the following:

AutoPatcher Updater starting.
List file HTTP location: [url="http://www.autopatcher.com/releases.list"]http://www.autopatcher.com/releases.list[/url]
Download queue status: 1 files waiting.
releases.list: Download complete.
Download queue status: 0 files waiting.
Download queue status: 3 files waiting.
autopatcher_directx_nov07.script: Download complete.
Download queue status: 2 files waiting.
autopatcher_xp_x86_enu_nov07.script: Download complete.
Download queue status: 1 files waiting.
apengine.script: Download complete.
Download queue status: 0 files waiting.
Executing shell command: del "D:\New Folder\apup\modules\Components\__dotnet\dotnet1.1_enu.apm"
Executing shell command: del "D:\New Folder\apup\modules\Components\WinLiveMsngr_xp_x86_enu.apm"

As a suggestion those delete commands may be incorrect. Those files do not exist in the folder I am downloading too so would that cause an error?

Should those commands be more like:

if exist "D:\New Folder\apup\modules\Components\__dotnet\dotnet1.1_enu.apm" del "D:\New Folder\apup\modules\Components\__dotnet\dotnet1.1_enu.apm"

if exist "D:\New Folder\apup\modules\Components\WinLiveMsngr_xp_x86_enu.apm" del "D:\New Folder\apup\modules\Components\WinLiveMsngr_xp_x86_enu.apm"

This doesn't take account of issues where these files might be marked as read-only or on a UNC path.

You may need to have proper .CMD files which cope will error situations to ensure this works better.

Kind Regards

Simon
Quote

Cyrus's Photo Cyrus 03 Dec 2007

Although several people have the same problem that you do, I am unable to re-create it. Antonis is working on a new version of apup.exe which should be out in the next few days, and hopefully that will solve the problem.
Quote