Sign in with
Sign up | Sign in
Your question

Create ZIP file that auto extracts to C: drive

Last response: in Apps General Discussion
Share
May 14, 2012 5:57:42 PM

Hello All,

Anyone know how to create a zip file that will automatically extract to the C: drive so that the end-user doesn't have to specify the location?

I plan to use 7-Zip or WinZip...

Thanks!
May 15, 2012 12:36:22 PM

I'd be amazed if you can actually do this for security reasons.

You might be able to specify a default path though.

Maybe you'd want to consider writing an installer instead?
m
0
l
May 15, 2012 6:40:18 PM

Hmmmm...only issue might be the end users don't have permissions to install sotware and an installer would probably be an executable wouldn't it?

Thanks!
m
0
l
Related resources
May 15, 2012 6:51:24 PM

Have a look here: http://www.chilkatsoft.com/chilkatsfx.asp . It says the software allows you to pre-determine the destination of the extracted files.

Edit: Sorry, I've just seen that that facility is only available in the pro version at $249. It shows that it can be done but not, I'm guessing, at that price.
m
0
l
May 15, 2012 11:55:42 PM

You need to purchase a "self-extractor program" such as Win-Zip. I've not used that app since the 90's, but I'm sure it still does that in the paid version. The user will have to click and allow "admin rights" to let in continue, but you need either WinZip or something very similar. (several solutions out there)
m
0
l
June 5, 2012 7:13:18 PM

smedley63 said:
Hmmmm...only issue might be the end users don't have permissions to install sotware and an installer would probably be an executable wouldn't it?

Thanks!


The installer will have the necessary code to install properly, using UAC if needed. The auto-extractor would simply try to copy/move files to a folder.
m
0
l
!