Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: ,

Sponsored Links



how to create automatic self extracting zip file in vbscript

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 03-09-2009
Member
 
Join Date: Jun 2009
Posts: 18
Post how to create automatic self extracting zip file in vbscript

hi all

i am having Zip file(location of Zip file is unknown) when user want to unzip the file it automatically extracted to C:\Targetfolder

this is kind of .exe file when i click on the .exe file the content of the file should automatically extracted to C:\Targetfolder

how can i do in vbscript
Reply With Quote
  #2  
Old 03-09-2009
absolute55's Avatar
Member
 
Join Date: Nov 2005
Posts: 1,238
Re: how to create automatic self extracting zip file in vbscript

Hello , check this Code it might be useful to you


Create Self-Extracting Executable

Quote:
set zip = CreateObject("ChilkatZip2.ChilkatZip2")
zip.UnlockComponent "anything for 30-day trial"

zip.NewZip "thisFilenameNotUsed.zip"

recurseDirectories = 0
zip.AppendFiles "myFiles/*",recurseDirectories

zip.WriteExe "test.exe"
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "how to create automatic self extracting zip file in vbscript"
Thread Thread Starter Forum Replies Last Post
Error extracting wii iso file ‘file may be corrupt’ Damned 2 Windows Software 6 26-02-2011 10:26 AM
How to create self-extracting exe? Kshaunish Software Development 5 28-05-2010 07:04 PM
Extracting data from XML file Remedy Software Development 4 08-03-2010 10:58 PM
Vbscript Installing automatic software Din_the1 Software Development 4 20-01-2010 12:45 AM
Create self extracting archives in Windows XP TheGreatOne Tips & Tweaks 1 14-11-2008 06:53 PM


All times are GMT +5.5. The time now is 03:52 AM.