PDA

View Full Version : Error when using relative paths


jdmwood
10-26-2009, 05:24 AM
Hi,

I'm trying to get Visual Update to use relative paths.

I changed all the paths to relative (e.g. "..\1.1\somefile.exe", "..\1.2\somefile.exe").

The files seem to appear correctly in the UI.

When I build a patch, it all works up until the last bit where it fails with the following error:

--------- Errors ---------
Creating diff files
Error 3210: Could not make copy of target file: 1

--------------------------

Any ideas?

John

Ulrich
10-26-2009, 09:37 AM
I changed all the paths to relative (e.g. "..\1.1\somefile.exe", "..\1.2\somefile.exe").

So your paths are relative to what, exactly?

You could use full paths, or perhaps make them relative to something known, like for example, the folder where your project file is stored:

#PROJECTFILEDIR#\1.1\somefile.exe

Ulrich

jdmwood
10-26-2009, 10:16 AM
I assumed they'd be relative to the project file.

I couldn't see any documentation for how to use relative paths in the project so I had no way of knowing.

Thanks for the suggestion, I'll try that and let you know if it works.

John