I am trying to package a piece of software and when I attempt to build the project, I receive the following errors:

1) ISDEV : error -1501: Could not compress "C:\Packages\LOCALAPPDATAFOLDER\Microsoft\Windows\WebCache\WebCacheV01.tmp" into "C:\Packages\MSI_Package\Data1.cab"
2) ISDEV : error -6271: File C:\Packages\LOCALAPPDATAFOLDER\Microsoft\Windows\WebCache\WebCacheV01.tmp not found. An error occurred building the MsiFileHash table record for this file. Verify that the file exists in the specified location.
3) ISDEV : error -6103: Could not find file "C:\Packages\LOCALAPPDATAFOLDER\Microsoft\Windows\WebCache\WebCacheV01.tmp"

The build fails and I am unable to move on. Does anyone know what these errors mean, or how to fix? I would really appreciate anyone's input on this.

Thank you!
Answer Summary:
There are some temporary files captured in the snapshot that are no longer present on the system. Remove them from the file list and the build should work.
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0
You have some temporary files captured in your snapshot that are no longer present on your system. Remove them from your file list and the build should work.
Clean up your snapshot and make sure that you only have application files in there - removing temp files and other spurious stuf.

You should look at adding that location into your exclusion list so that these files are not captured in future.

Dunnpy
Answered 03/10/2015 by: dunnpy
Red Belt

  • Thanks! Do you think I should delete the specific files its trying to compress then?
    • Yes - they're temp files and the snapshot monitoring captured them being there - however, when the installer finished it cleaned them up and removed them - which is why they can't be found when you try to build.
      It's a good idea to go through the everything your snapshot captured, and if they're not part of the installed items remove them.
      • This content is currently hidden from public view.
        Reason: Removed by member request
        For more information, visit our FAQ's.
      • This content is currently hidden from public view.
        Reason: Removed by member request
        For more information, visit our FAQ's.
  • The weird thing is, WebCacheV01.tmp doesnt even exist in that folder anyway. Any ideas? Thanks a lot for the help btw.
    • It won't - that's why the build is failing.
      The installer put the file there during the install the snapshot saw it and captured the file in the interface. When it comes to build it looks for the physical file - but it's not there because it was an installer temporary file. You should always clean your snapshot by finding these spurious files and deleting them, same with rogue registry keys that may have been captured as part of the snapshot.
      • I went ahead and excluded it during the build and there were no errors. Thank you for your time and help!
Please log in to comment
Answer this question or Comment on this question for clarity