Indigo Rose Software
  #1  
Old 01-02-2008
vsrprasad16 vsrprasad16 is offline
Forum Member
 
Join Date: Jan 2008
Posts: 4
error while patching dll file

Hi,
Am gettng error while patching a dll file.
gettng error msg as
"Failed patching xxxxx.dll" with msgbox caption "Error (111)".
i enabled logging in project settngs. the log file just showing line as

"Error Patch File (111): c:\xxxxx.dll (104)"

what are these numbers 111 and 104 ?


This information is not sufficient to find out whats the mistake in the patch file.
Any clue to get more error messages for these kind of errors.

i appreciate for your time.

Thanks

vsr
Reply With Quote
  #2  
Old 09-03-2008
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,899
From the help file:

Code:
104
Patch failed during application.
111 is not defined, but I think it's a directory not found (or no rights to the directory) issue.
__________________
Reply With Quote
  #3  
Old 09-03-2008
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
vsrprasad16, what version of Visual Patch was that patch built with? That looks like an error message from a slightly older version.

111 is a DeltaMAX error code that means "unable to read data from diff file." It generally indicates a folder permissions issue or (in rare cases) a failure during diff file extraction (e.g. hard drive corruption).
__________________
--[[ Indigo Rose Software Developer ]]
Reply With Quote
  #4  
Old 03-15-2009
radix radix is offline
Forum Member
 
Join Date: Mar 2009
Posts: 1
Try this solution:

Code:
-- Location method: Registry key
-- Read a folder path from the Registry.
if not g_InstalledVersion then
	local MainKey = HKEY_CURRENT_USER;
	local SubKey = SessionVar.Expand("Software\\My Comp");
	local ValueName = "InstallPath";
	local FolderPath = Registry.GetValue(MainKey, SubKey, ValueName);
	g_InstalledVersion = VisualPatch.CheckFolderVersion("%AppFolder%", FolderPath);
	if g_InstalledVersion then
		Folder.SetCurrent(FolderPath);
		SessionVar.Set("%AppFolder%", Folder.GetCurrent());	
         end
end
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to share custom buttons with the group? mwreyf1 AutoPlay Media Studio 6.0 10 09-03-2009 05:01 AM
error while patching dll file vsrprasad16 Visual Patch 2.0 0 01-02-2008 02:48 PM
Failure when patching single file jlsf2 Visual Patch 3.5 Discussion 7 10-01-2007 01:15 PM
http://yourfilelink.com - 50MB max upload, free! Intrigued General Chat 14 09-26-2006 09:44 AM
Install only into one of several directories with specific existing file? RichardShaw Setup Factory 5.0 0 08-17-2000 03:29 PM


All times are GMT -6. The time now is 03:54 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software