Method ConvertSFX


Method ConvertSFX

Postby penseweb on Tue Dec 03, 2002 2:02 pm

Can someone post an example of how to use the method ConvertSFX. I just can"t have it work. I have EasyZip 2.0 pro registered and I can"t figure out how to use this method. Every other features worked fine.

Thank you.

Guillaume Fortin
ThinkWeb.ca
penseweb
 
Posts: 1
Joined: Tue Dec 03, 2002 1:54 pm
Location: Canada

Postby John on Tue Dec 03, 2002 3:42 pm

It's very easy to make it work, if you have the zip file then use this code:

<%
set ZIP = server.createobject("aspZip.EasyZIP")
Zip.Debug = 1
Zip.ZipFileName = "ASP_Backup.zip"
Zip.SFXBinPath = "ZIPSFX.BIN"
Zip.ConvertSFX
set ZIP = nothing
%>

This will convert the asp_backup.zip into asp_backup.exe, make sure the SFXBinPath is in the current path with the self extraction code.
Also use the DEBUG property to true to see what is going on.


John Lohmeyer
MITData.com
John
 
Posts: 1313
Joined: Wed Oct 31, 2001 10:23 am
Location: Spain


Return to Zip

Who is online

Users browsing this forum: No registered users and 1 guest

cron

Fatal error: Not able to open ./cache/data_global.php in D:\Hosting\6480136\html\ForosBB3\includes\acm\acm_file.php on line 106