Indigo Rose Software
  #1  
Old 01-28-2007
zebra zebra is offline
Forum Member
 
Join Date: Jan 2007
Posts: 2
delete legacy files

Hi,

I don't know since when, my visual patch exe file deletes all the files in the destination folder after patching it up. I just found it a couple days ago. I noticed the last step was to delete legacy files, so I went into project settings advanced, checked Delete Legacy Files off. It seems ok now. But I looked the old project files I have saved, they all had Delete Legacy Files checked on. Why it worked for me before but not any more? Could that be something else other than Delete Legacy Files that caused the problem?

Thanks a lot,
  #2  
Old 01-29-2007
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Hmmm...do you have a log from when that happened? Or if you can reproduce it with logging enabled, could you send us the resulting log file?

The "Remove legacy files" option removes any files that were in a previous version but are no longer in the current version.

If all of your files are being deleted, then that part of the patch has determined that none of the files in your application folder are in your current version. Hmmm.

I'd almost suggest checking that you don't have an empty version in your project, but you shouldn't be able to build without at least a key file in each version.

Are all of the files being deleted?

Have you made any modifications to the scripts?
__________________
--[[ Indigo Rose Software Developer ]]
  #3  
Old 01-29-2007
zebra zebra is offline
Forum Member
 
Join Date: Jan 2007
Posts: 2
I have four folders in each build that I need to patch up. The files in the first three folders are fine, only the last folder that all the files in all the sub folders are deleted after patch. I compared two builds, they have the same folder structure with the same file names except the new build has more files in it. The good thing is I found an old project file that works fine with Delete Legacy Files checked on. I will do some kind of comparison between these two project files see why the new one deletes all the files. Is there an effective way to compare the two project files?

Thanks,
  #4  
Old 01-30-2007
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Quote:
Originally Posted by zebra View Post
I have four folders in each build that I need to patch up. The files in the first three folders are fine, only the last folder that all the files in all the sub folders are deleted after patch. I compared two builds, they have the same folder structure with the same file names except the new build has more files in it.
I would make triple sure that the folder is named the same in all versions, inside Visual Patch.

My next step would be to enable the patch log (at its most verbose setting) and see exactly what is happening behind the scenes.

Keep in mind what the delete legacy files option does, too: it removes any files that it finds in the application folder that, according to your project file, are not in the version you're patching the target to.
Quote:
The good thing is I found an old project file that works fine with Delete Legacy Files checked on. I will do some kind of comparison between these two project files see why the new one deletes all the files. Is there an effective way to compare the two project files?
The project files are plain text XML, so you could use any XML or text compare tool to compare them.
__________________
--[[ Indigo Rose Software Developer ]]
 

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
Close Acrobat and delete files before close autorun lepinski General Chat 0 01-24-2006 11:57 AM
Delete all files in folder using wildcard SGW AutoPlay Media Studio 6.0 28 12-06-2005 08:52 AM
Unable to find software? NigelLacey Visual Patch 2.0 4 10-11-2005 11:35 AM
%ApplicationData% command trying to delete files before install adpro Setup Factory 6.0 1 04-25-2004 12:11 AM
SUF 6.0 - Action, Delete files Romahe Setup Factory 6.0 4 04-03-2002 04:08 PM


All times are GMT -6. The time now is 04:26 AM.


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