NewsArchive
04-11-2009, 03:15 AM
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
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