Results 1 to 2 of 2

Thread: how to create automatic self extracting zip file in vbscript

  1. #1
    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

  2. #2
    Join Date
    Nov 2005
    Posts
    1,323

    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

    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"

Similar Threads

  1. Replies: 6
    Last Post: 26-02-2011, 10:26 AM
  2. How to create procedures in VBScript
    By Betelgeuse in forum Software Development
    Replies: 4
    Last Post: 30-11-2010, 01:45 AM
  3. How to create self-extracting exe?
    By Kshaunish in forum Software Development
    Replies: 5
    Last Post: 28-05-2010, 06:04 PM
  4. Vbscript Installing automatic software
    By Din_the1 in forum Software Development
    Replies: 4
    Last Post: 20-01-2010, 12:45 AM
  5. Create self extracting archives in Windows XP
    By TheGreatOne in forum Tips & Tweaks
    Replies: 1
    Last Post: 14-11-2008, 06:53 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,715,661,938.41120 seconds with 17 queries