7Zip action

No matter what i do, i am not able to create an archive having the file only at root level. Always the relative path is added, even if i use the absolut path in the files area (as on the command line).

I also tried copying all files to a directory an archive that one.

I simply want to create an archive containing some files (without paths). HELP!

Hi Christian,

7-Zip stores paths relative to the working directory (or, in Continua, the Root Directory). So after copying all the files to a single folder, set the Root Directory to that folder. 

e.g. 

RootDirectory = $Workspace$\Source\Care4\Code\FilesToArchive

File Names / Patterns =

 Liesmich.*
*.pdf
*.msi


Ok, it seems my 7zip action is correct but when copying files (so the copy action is the evil one ) the paths are preserved. The is kind of unnatural behavior i think. So i need to have a Copy Files action for each source directory to have a flat list of files in the end.

We'll look into adding an option to the Copy action (and Move action) to allow you specify whether the directory structure should be preserved or not.

Thank you very much.