Page 1 of 1

Add 7zip support

Posted: Fri Feb 16, 2007 6:16 pm
by brahman
Hi Igor,

I have another request. Should be easy ... :)

Can you add the open source 7zip compression support (read/write) to your programs? It is becoming more and more the standard. All mozilla distributions f.e. are packed by it.

I think you only need to add the open source file and support it in your archive file, right?

Zip's compression really doesn't cut it any more.

Thanks.

B

Posted: Fri Feb 16, 2007 6:42 pm
by grigsoft
It's possible to support any external archiver with command line tool - I think I have already created 7z support, I will search for configuration.

Posted: Sat Feb 17, 2007 3:23 pm
by brahman
That would be great, thank you.

Why not include the library and config in your distribution? Then you could advertise SI as supporting 7zip archives.

I think it would be a good selling point.

Ciao,

B

Posted: Mon Feb 19, 2007 11:00 am
by grigsoft
It doesn't use library - SynchronizeIt can use any archive with command line tools. Currently configuration is only available through special file: wndsync.arc. You should already have it.
Add following section:

Code: Select all

[7zip]
ext=7z
p=J:\Program Files\7-Zip\7za.exe 
u=J:\Program Files\7-Zip\7za.exe
list=%u l -r %A
lstart=------
lend=------
lformat=yy-mm-dd|hh:mm:ss|X|L|X|N!
add=%p a -r %A %F
delete=%p d %A %F
get=%u e -y %A %F
and

Code: Select all

7z=7Zip
under [Ext] section.

Also, you better get latest build from http://www.grigsoft.com/wndsyncb.zip - I did some changes to support it correctly.

Posted: Tue Feb 20, 2007 10:15 am
by brahman
Thank you.

May I suggest to start a "Tips & Tricks" Forum, where you can collect the tips you give.

I think it would add a lot of value to your users visiting this forum.

They can inform themselves quickly about these gems of wisdom which you give out how to use your programs.

It can also assist you in collecting items that you eventually want to add to an updated help file in your next version.

This advice of yours re. 7zip should definitely be copied into such a thread.

Kind Regards,

Brahman

Posted: Tue Feb 20, 2007 10:31 am
by grigsoft
Thank you, may be I will create such forum section. But does it work after all? :)

Posted: Tue Feb 20, 2007 12:17 pm
by brahman
Yes works fine.

Thank you.

Do you have any idea, when I use SI on an USB stick, how to write the paths to the packer programs when drive letters are changing?

Kind Regards,

Brahman

Posted: Tue Feb 20, 2007 2:52 pm
by grigsoft
If you have archiver in the folder with wndsync.exe, try skipping path completely. It should work - if it wont, I can fix this. Also, you have pushed me to idea of some %:\path syntax, so I could replace % with drive letter of the drive where wndsync.exe is.
This can be used in archivers, tools, even in sessions - to keep backup folder on flash.

Posted: Tue Feb 20, 2007 10:48 pm
by brahman
Your idea is excellent.

Archivers in SI folder works well.

Kind Regards,

Brahman

Posted: Fri Feb 23, 2007 12:22 am
by brahman
Password Protected 7Z Archives do not work.

Regards,

B

Posted: Fri Feb 23, 2007 6:07 am
by grigsoft
That's true - you can change command line in wndsync.arc to work with same password allways, and it should work.

Posted: Sat Mar 10, 2007 1:06 pm
by EeOe
Cool. Thanks Igor. :D