Limitation: Cannot add attributes to existing file in projecSolved

Per your advice, I tried to make wyUpdate automatically execute (resume) our application after applying a successful update.

To do that, I use the following .xml:

<?xml version="1.0" encoding="utf-8"?><Versions> <AddVersion overwrite="true"> <Version>TARGET_VERSION</Version> <Changes>CHANGE_TEXT</Changes> <InheritPrevRegistry /> <InheritPrevActions /> <Files dir="basedir"> <Folder source="INSTALL_PROGRAM_FILES" insideonly="true" /> </Files> <Files dir="basedir\Bin"> <File source="INSTALL_PROGRAM_FILES\Bin\EXECUTABLE.exe" execute="after" startstyle="normal" waitforexit="false" retrollback="false" /> </Files> </AddVersion> <RemoveVersion ver="1.0" /></Versions>

But wyBuild complains : An error occured [sic] while trying to add versions from the file "wyBuild.xml":The file "app.exe" already exists in the target folder "Bin".

I wondered if the xml would handle this properly, and it does not. Basically, the second files= containing EXECUTABLE.exe needs to be allowed (should overwrite the existing entry for "app.exe" in the .wyp).

Additional <file source=...> should not error, just replace existing entries.

Make sense?

---PS: "occured" -> "occurred"

PS: "occured" -> "occurred"

These typos are always embarrassing. Thanks for spotting it; we'll fix it.

I wondered if the xml would handle this properly, and it does not. Basically, the second files= containing EXECUTABLE.exe needs to be allowed (should overwrite the existing entry for "app.exe" in the .wyp).

This make sense. You don't want to explicitly include every files, but rather include files in a folder and override the defaults of certain files. We'll add this ability.

In the meantime you'll have to explicitly add the files.

wyBuild 2.6.16 is now out -- we've added this.