Results 1 to 4 of 4

Thread: SB Created Zip - Blank Root Folder

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default SB Created Zip - Blank Root Folder

    I am using the Zip function(recursive) in SB to zip up my install folder
    before installing a new version of my app. The following line is copied
    from my SB Script.

    Zip Files from "%_SB_INSTALLDIR%\*.*" to
    "%_CSIDL_COMMON_DOCUMENTS%\MyApp\InstallBK-%CURRENT_DATE%"

    Problem: this is creating a zip file where the first folder inside the zip
    has no name. Windows Explored can not even see the "no name" folder. If I
    use a zip program, like 7Zip, then I can see the blank folder and then move
    into it and see the actual zip data.

    I have attached a image that has 2 screenshots. The first screenshot is to
    show that the zip file does exist with the name I gave it. The 2nd
    screenshot shows what the 1st level of the zip looks like via 7Zip.

    What am I not doing right with the zip command?

    David Ault
    Attached Images Attached Images  

  2. #2

    Default Re: SB Created Zip - Blank Root Folder

    David,

    Neither the built-in Windows ZIP nor 7Zip follow 100% the 2.04g ZIP
    industry-standard for recursive added files/folders. That's why you do not
    see the first folder (or no files/folders at all in Explorer). If you use
    WinZip (or PKZIP) to open your perfectly valid ZIP then I am sure you'll see
    all files and folders.

    BTW, ZIP de-/compression is done using LSZip (100% compatible with the 2.04g
    ZIP archive industry-standard, LSZip introduced recursive zip-compression in
    1997).

    --
    Friedrich Linder
    Lindersoft
    www.lindersoft.com
    +1.954.252.3910

    SetupBuilder "point. click. ship"
    Create Windows Vista ready installations in minutes

    -- Official Comodo Code Signing and SSL Certificate Partner

  3. #3

    Default Re: SB Created Zip - Blank Root Folder

    That is also why when needing to create empty folder trees I always add there an empty txt file called 'delete.me' ... thus creating the folder and seing it in Windows explorer

    Cordialement - Best regards
    Jean-Pierre GUTSATZ

    CGF

    DMC - Data Management Center
    A tool to let you Migrate Import Export Transfer your Data
    www.dmc-fr.com
    Certified by Microsoft : "Works with Vista" &
    "Works with Windows Server 2008"

  4. #4

    Default Re: SB Created Zip - Blank Root Folder

    Thank you for the explanation.

    David Ault

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •