You are here

My project needs 7-Zip Portable

8 posts / 0 new
Last post
wrobel-cwirek
Offline
Last seen: 17 years 3 weeks ago
Joined: 2007-10-09 16:10
My project needs 7-Zip Portable

Hi

I'm writing an application which needs 7-Zip. Currently I have the path to the executable I need kind of hard coded (which means it is environment variable send to Java using -D option.

But since not everyone are familiar with changing the path is it possible to detect location of the 7-Zip during starting the application? Is there any 'repository' where there are data about all installed applications (name,directory etc.)?

Other solution is to add the 7-Zip files to distribution of my application so that it will work even when there is no 7-Zip on USB drive - but I'm not sure if it is OK - it will require some additional space plus it is not very nice solution - versioning, updates etc.

Thanks in advance.

Espreon
Espreon's picture
Offline
Last seen: 12 years 3 months ago
Joined: 2006-09-29 18:23
I might be able to help if you can

Explain in simpler words, please

Lurking_Biohazard
Lurking_Biohazard's picture
Offline
Last seen: 6 years 3 months ago
Joined: 2006-02-18 18:06
Huh?

Made sense to me. Too bad I don't have the answer... Sad

Ok, I will try to explain it.

They need the functionality of 7zip (compress, uncompress, whatever) in/for their program and need a way to call to 7zip to do those functions when needed.

Does that help any or did I confuse it more?

@wrobel-cwirek: I think it would be a mistake to hope there is a copy already there. If you are allowed I would include it. Command line only (no GUI) would cut down a tad on size(about 500 KB). http://www.7-zip.org/download.html

~Lurk~

BuddhaChu
BuddhaChu's picture
Offline
Last seen: 5 months 6 days ago
Joined: 2006-11-18 10:26
UPX FTW!

UPX the exe/dll file(s) for some more space-savings too.

Cancer Survivors -- Remember the fight, celebrate the victory!
Help control the rugrat population -- have yourself spayed or neutered!

Lurking_Biohazard
Lurking_Biohazard's picture
Offline
Last seen: 6 years 3 months ago
Joined: 2006-02-18 18:06
Good Point

Very true! LMFAO!!

~Lurk~

Ph4n70m
Ph4n70m's picture
Offline
Last seen: 2 years 5 months ago
Joined: 2007-01-12 19:22
LOL... Simple use the

LOL... Simple use the commandline version of 7zip...

Lurking_Biohazard
Lurking_Biohazard's picture
Offline
Last seen: 6 years 3 months ago
Joined: 2006-02-18 18:06
?

Um, yep. Just like I said...

~Lurk~

wrobel-cwirek
Offline
Last seen: 17 years 3 weeks ago
Joined: 2007-10-09 16:10
Thanks, I will do like you

Thanks, I will do like you advised so that installation of the 7-Zip will not be required.

Log in or register to post comments