PDA

View Full Version : List of files to patch


jdrescher
12-06-2007, 04:19 AM
Hello!!

Is there any chance to get the names of all files which will be patched?

Lorne
12-06-2007, 12:01 PM
At build time, or at run time? (When building the patch or when applying the patch?)

jdrescher
12-10-2007, 01:49 AM
I need the filenames at runtime. I need to check if they are already in use by an other program. The solution I currently have is the following: I use the variable e_CurrentItemText of the progress screen to get the filenames. But at the time i get the filenames, they are already patched.

Lorne
12-14-2007, 10:30 AM
I don't think there isn't any built-in way to get that information.

Is it possible you could approach the problem from a different direction? For example, if the files you're patching can only be used by a specific program, you could just check whether that program is running.

Guybrush
12-19-2007, 02:18 AM
I understand that this feature (list of files to patch available at runtime) is currently not available. But i suggest to put it on the feature list for an upcoming release. In my case i urgently need it to remove pre-compiled .net assemblies from the cache, patch and re-compile them. In this case it is not an option to remove all assemblies and then patch and re-compile because it takes too much time.

Guybrush
12-20-2007, 03:23 AM
Note: One way to get a list after the patching is accomplished is to use the hidden function "g_OnFileProcessed".

Lorne
12-20-2007, 02:08 PM
Thanks for the suggestion Guybrush. I've added it to our database so it gets considered for future releases. REF: 17086