Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 15 of 15
  1. #1
    Join Date
    Jun 2007
    Posts
    101

    Patching Problem

    I created new patches everyday to different programs and hardly ever have problems and I have never had this one before.

    I just created a new program and then went to patch it from v1.0 to v1.1 and i recieve this error when patching.

    Error:
    Failed to extract file from archive:
    diff_000064.dif

    Help Please

  2. #2
    Join Date
    Aug 2008
    Posts
    38
    Use caching for diff files. Some diff files can have system atributes "Hide". Show hiding diff files in some viewer (like Total Commander) and re-set attribs to normal. Recompile patch again.

  3. #3
    Join Date
    Jun 2007
    Posts
    101
    Thank you for your help but I'm not sure what you mean. I tried selecting cache diff files in visual patch and recompiling but that didnt fix it.

    What do you mean by diff files have system attributes Hide? How do i show the diff files and how come i have never had this happen before?

    Also, I'm still building patches and patching other programs and they are working fine. Just one program and I dont recall changing any settings to make it do this.
    Last edited by Dnixon; 08-19-2008 at 02:13 PM.

  4. #4
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728
    It could be a corrupted archive (a data corruption problem affecting the patch.exe file containing the diffs), or it could be a file access issue. Have you contacted our support department through the customer portal?
    --[[ Indigo Rose Software Developer ]]

  5. #5
    Join Date
    Nov 2007
    Location
    SF Bay Area
    Posts
    56
    I'm having the exact same problem, have tried rebuilding multiple times. I'm guessing the problem is with a dat file created by AMS that is hidden (but I can't change that attribute).

    Has anyone found the source of this problem yet?

  6. #6
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    Quote Originally Posted by Canter View Post
    I'm having the exact same problem, have tried rebuilding multiple times. I'm guessing the problem is with a dat file created by AMS that is hidden (but I can't change that attribute).

    Has anyone found the source of this problem yet?
    Why can't you change the attribute?


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  7. #7
    Join Date
    Nov 2007
    Location
    SF Bay Area
    Posts
    56
    Good question, and I don't know why I can't - the ability to do that is grayed out (64 bit Vista). Out of curiosity, I just tried deleting that file to see what happened, and the patch executed without any error messages, and it patched some files, but not the main exe.

    Perhaps the problem is related to the fact that the new version has fewer files than the first - I read on this forum about a bug relating to legacy files that but it was supposedly fixed in 3.02 I've tried various rebuilds of both versions of the target program, and there is no change - the patch is unable to extract one of the diff files, and terminates with an error code of 5.

  8. #8
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    Quote Originally Posted by Canter View Post
    Good question, and I don't know why I can't - the ability to do that is grayed out (64 bit Vista).
    Probably a permissions/uac issue then... Vista is very helpful in protecting you from the evils of yourself... (You didn't know you wanted to do bad things to your computer, did you? ;-) )

    Quote Originally Posted by Canter View Post
    Out of curiosity, I just tried deleting that file to see what happened, and the patch executed without any error messages, and it patched some files, but not the main exe.
    Interesting you could delete the file but not change it's attributes....
    As long as the .dat file wasn't a "key file" then it should have been patched, as long as the main exe was identified in a version...

    Quote Originally Posted by Canter View Post
    Perhaps the problem is related to the fact that the new version has fewer files than the first - I read on this forum about a bug relating to legacy files that but it was supposedly fixed in 3.02
    I've not seen this problem with the current version; we routinenly "exclude" files from a patch becuase we know they haven't changed... VP has no way to know if the file is a 'data file' created after install or an 'obsolete' file that should be deleted -- you would need to code the delete of old files...

    Quote Originally Posted by Canter View Post
    I've tried various rebuilds of both versions of the target program, and there is no change - the patch is unable to extract one of the diff files, and terminates with an error code of 5.
    So the question is why is it failing to extract a diff file? Why is it failing to patch your main file?

    Can you post your .vp2 file? (You'll need to zip it first)

    -josh


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  9. #9
    Join Date
    Nov 2007
    Location
    SF Bay Area
    Posts
    56

    Smile

    Well, I have solved the problem, at least it looks that way. I was able to change the attributes from the command line - removing the r s and h - for some reason AMS creates one of the dat files as a system file. I don't claim to be a Vista expert, but as far as I can tell, the attributes of this type of file can only be changed from the command line.

    So, after removing the system file attributes to the wayward AMS dat file, I rebuilt the patch, and - I'm relieved to say - it works.

    Thanks.


    Larry

  10. #10
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    Quote Originally Posted by Canter View Post
    Well, I have solved the problem, at least it looks that way. I was able to change the attributes from the command line - removing the r s and h - for some reason AMS creates one of the dat files as a system file. I don't claim to be a Vista expert, but as far as I can tell, the attributes of this type of file can only be changed from the command line.

    So, after removing the system file attributes to the wayward AMS dat file, I rebuilt the patch, and - I'm relieved to say - it works.

    Thanks.


    Larry

    Excellent -- including your "failure to extract" the diff file issue? and the crash error?


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  11. #11
    Join Date
    Nov 2007
    Location
    SF Bay Area
    Posts
    56
    Yes, that fixed everything. Why AMS generates a file that requires manual intervention before Visual Patch can Patch it is puzzling, but we'll worry about that some other day.

  12. #12
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    Quote Originally Posted by Canter View Post
    Yes, that fixed everything. Why AMS generates a file that requires manual intervention before Visual Patch can Patch it is puzzling, but we'll worry about that some other day.
    I would file a bug with IR on that... the fact that a file causes the VisualPatch runtime to issue a "Failed to extract DIFF" file would not be unique to ams.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  13. #13
    Join Date
    Jun 2007
    Posts
    101

    Still having problems

    I am still having problems. I still get the "cannot extract diff" from time to time and when it does work now it patches but one of the images that was on my AMS application shows as cannot find file. I only get the problem with "cannot extract diff" when I add an Image to the application. It is completely random when it works and doesnt.

    Also, I would try the fix mentioned above but I am not sure how to change the attributes.

  14. #14
    Join Date
    Nov 2007
    Location
    SF Bay Area
    Posts
    56
    Perhaps your problem is different than mine was - but look to see if any files have attributes listed as HS, which is a hidden system file. If so, you can change the attributes from the Windows command prompt using the command attrib -h -s (followed by the file name, and full path if you aren't already in that directory). That has cured the problem for me.

    Hope that helps. No doubt there is a bug somewhere.

    L Canter

  15. #15
    Join Date
    Jun 2007
    Posts
    101

    How?

    How do i check the attributes? And these are new images that I am creating. Some are logos that I get from internet. I can add files to the application and patch them and changes no problem but if i add an image of any filetype(jpg, png, gif) then it cant extract the diff.

    I thought it was my Registered User Privilege Level but I have changed that to every option available and it is still not working. My other projects patch find but there is two that I just cant add images to.

Similar Threads

  1. Need help with AMS/WGet intergration problem
    By mystica in forum AutoPlay Media Studio 7.5
    Replies: 3
    Last Post: 07-04-2008, 12:40 AM
  2. Problem installing fonts
    By ByronFS in forum Setup Factory 7.0
    Replies: 5
    Last Post: 05-08-2006, 12:23 PM
  3. Video Problem
    By ScottDuncan in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 07-10-2004, 01:38 PM
  4. PROBLEM: Setup Starts and then Crashes
    By Support in forum Setup Factory 5.0
    Replies: 0
    Last Post: 10-15-2002, 03:02 PM
  5. INFO: Tips for Debugging Action Lists in AutoPlay Media Studio 4.0
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-03-2002, 08:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts