473,416 Members | 1,769 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

Automate WinZip self-extract

Hi all,

I regularly use FTP to place Self Extracting Zip files on the web for
remote users to update their datafiles. Works very nicely.

I have automated the creation of the initial zip file ( update.zip ),
and can automate the FTP'ing of the SE zip file to the update site.

I have, as yet, been unable to find a way of automating the creation of
a SE zip file from the initial update.zip. I have performed a rather
exhaustive search and have come up with nothing.

Has anyone had experience with this?

Thanks in advance.

Karl

Dec 1 '05 #1
15 11093
Look here:
http://www.access-programmers.co.uk/forums/index.php?
and look in the Code Repository for "Zip Files Within Access"
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com

Over 1000 Access users have come to me for help. My Fees are very
reasonable.

"Karl" <ka******@hotmail.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
Hi all,

I regularly use FTP to place Self Extracting Zip files on the web for
remote users to update their datafiles. Works very nicely.

I have automated the creation of the initial zip file ( update.zip ),
and can automate the FTP'ing of the SE zip file to the update site.

I have, as yet, been unable to find a way of automating the creation of
a SE zip file from the initial update.zip. I have performed a rather
exhaustive search and have come up with nothing.

Has anyone had experience with this?

Thanks in advance.

Karl

Dec 1 '05 #2

"PC Datasheet" <no****@nospam.spam> wrote in message
news:n2******************@newsread2.news.atl.earth link.net...
Look here:
http://www.access-programmers.co.uk/forums/index.php?
and look in the Code Repository for "Zip Files Within Access"
--
PC Datasheet
[garbage snipped]


The CDMA charter prohibits advertising and PC Datasheet is the only
consultant that refuses to adhere to that charter. There are literally
hundreds of competent Access consultants available, that are ethical. Many
post regularly in this newsgroup, others can easily be located by googling
or visiting the new braintrade.biz or guru.com.

Either Steve's advertising should be stopped or the CDMA charter should be
amended to permit it. Permitting Steve to continue his spamming punishes the
many scrupulous consultants who contribute here but don't advertise.

Dec 1 '05 #3
Hi Steve,

Thanks for that.

I am unable to find the thread for " Zip Files Within Access " within
the Code Repository.
I can recall following this same link a few weeks ago - I think it was
from a different posting in this group.

Any further ideas?

Karl

PC Datasheet wrote:
Look here:
http://www.access-programmers.co.uk/forums/index.php?
and look in the Code Repository for "Zip Files Within Access"
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com

Over 1000 Access users have come to me for help. My Fees are very
reasonable.

"Karl" <ka******@hotmail.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
Hi all,

I regularly use FTP to place Self Extracting Zip files on the web for
remote users to update their datafiles. Works very nicely.

I have automated the creation of the initial zip file ( update.zip ),
and can automate the FTP'ing of the SE zip file to the update site.

I have, as yet, been unable to find a way of automating the creation of
a SE zip file from the initial update.zip. I have performed a rather
exhaustive search and have come up with nothing.

Has anyone had experience with this?

Thanks in advance.

Karl


Dec 1 '05 #4
Karl wrote:
Hi all,

I regularly use FTP to place Self Extracting Zip files on the web for
remote users to update their datafiles. Works very nicely.

I have automated the creation of the initial zip file ( update.zip ),
and can automate the FTP'ing of the SE zip file to the update site.

I have, as yet, been unable to find a way of automating the creation of
a SE zip file from the initial update.zip. I have performed a rather
exhaustive search and have come up with nothing.

Has anyone had experience with this?

Thanks in advance.

Karl


I bought the full version of WinZip 10.0 for my laptop recently and
noticed a command line support add-on. The link is:

http://www.winzip.com/prodpagecl.htm

I have not used it.

James A. Fortune

Dec 2 '05 #5
See Jim Fortune's response.

The winzip command line package contains full documentation on command line
parameters.

You can use the WinZip command line extensions to zip and unzip your file.
For example, you can unzip
your file to a known location with wzunzip.exe, do whatever with it , and
then rezip it by shelling to wzzip.exe:
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com

Over 1000 Access users have come to me for help. My fees are very
reasonable.

"Karl" <ka******@hotmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
Hi Steve,

Thanks for that.

I am unable to find the thread for " Zip Files Within Access " within
the Code Repository.
I can recall following this same link a few weeks ago - I think it was
from a different posting in this group.

Any further ideas?

Karl

PC Datasheet wrote:
Look here:
http://www.access-programmers.co.uk/forums/index.php?
and look in the Code Repository for "Zip Files Within Access"
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com

Over 1000 Access users have come to me for help. My Fees are very
reasonable.

"Karl" <ka******@hotmail.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
> Hi all,
>
> I regularly use FTP to place Self Extracting Zip files on the web for
> remote users to update their datafiles. Works very nicely.
>
> I have automated the creation of the initial zip file ( update.zip ),
> and can automate the FTP'ing of the SE zip file to the update site.
>
> I have, as yet, been unable to find a way of automating the creation of
> a SE zip file from the initial update.zip. I have performed a rather
> exhaustive search and have come up with nothing.
>
> Has anyone had experience with this?
>
> Thanks in advance.
>
> Karl
>

Dec 2 '05 #6
Hi Steve,

Thanks again.

I feel I have a reasonable handle on the creation of zip files within
an app thanks to the many helpful individuals in this group. The tricky
bit is making that zip file into a self-extracting file from within a
code module.

You see, the remote users simply download the SE file and run it to
update their datafiles. I've tried using plain zip files in the past,
but it exposes the ability for them to change unzip paths etc. which
caused issues.

I'll keep looking, but in the mean time, I'll have another look at the
WinZip site in case I've missed something there.

Karl

PC Datasheet wrote:
See Jim Fortune's response.

The winzip command line package contains full documentation on command line
parameters.

You can use the WinZip command line extensions to zip and unzip your file.
For example, you can unzip
your file to a known location with wzunzip.exe, do whatever with it , and
then rezip it by shelling to wzzip.exe:
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com

Over 1000 Access users have come to me for help. My fees are very
reasonable.

"Karl" <ka******@hotmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
Hi Steve,

Thanks for that.

I am unable to find the thread for " Zip Files Within Access " within
the Code Repository.
I can recall following this same link a few weeks ago - I think it was
from a different posting in this group.

Any further ideas?

Karl

PC Datasheet wrote:
Look here:
http://www.access-programmers.co.uk/forums/index.php?
and look in the Code Repository for "Zip Files Within Access"
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com

Over 1000 Access users have come to me for help. My Fees are very
reasonable.

"Karl" <ka******@hotmail.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...
> Hi all,
>
> I regularly use FTP to place Self Extracting Zip files on the web for
> remote users to update their datafiles. Works very nicely.
>
> I have automated the creation of the initial zip file ( update.zip ),
> and can automate the FTP'ing of the SE zip file to the update site.
>
> I have, as yet, been unable to find a way of automating the creation of
> a SE zip file from the initial update.zip. I have performed a rather
> exhaustive search and have come up with nothing.
>
> Has anyone had experience with this?
>
> Thanks in advance.
>
> Karl
>


Dec 2 '05 #7
Ok is that ironic or what, the idea of WinZip was to get a way from the
command line run PKZip et al and now they bring out command line support for
winzip.

--
Terry Kreft

<ji********@compumarc.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
Karl wrote:
Hi all,
<SNIP> Karl


I bought the full version of WinZip 10.0 for my laptop recently and
noticed a command line support add-on. The link is:

http://www.winzip.com/prodpagecl.htm

I have not used it.

James A. Fortune

Dec 2 '05 #8
Terry Kreft wrote:
Ok is that ironic or what, the idea of WinZip was to get a way from the
command line run PKZip et al and now they bring out command line support for
winzip.

--
Terry Kreft


Yeah. What it really needs is an object model and an automation
interface so that Access can control it. zlib.dll is good for having
Access compress or uncompress programmatically but I don't think it can
handle creating a self-extracting archive.

James A. Fortune

Dec 2 '05 #9
"Terry Kreft" <te*********@mps.co.uk> wrote in
news:Cm********************@karoo.co.uk:
Ok is that ironic or what, the idea of WinZip was to get a way
from the command line run PKZip et al and now they bring out
command line support for winzip.


Hmm. I don't think that was the justification for WinXip. It was to
provide a GUI to something that could be fairly opaque at the
command line, even for people like me who are no strangers to the
CLI.

I use WinZip for unzipping files because it has an Explorer-like UI,
which is simply easier than doing it from the command line.

Providing a commandline interface just makes WinZip scriptable.

I see no contradiction here at all.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Dec 2 '05 #10

"Terry Kreft" <te*********@mps.co.uk> wrote in message
news:Cm********************@karoo.co.uk...
Ok is that ironic or what, the idea of WinZip was to get a way from the
command line run PKZip et al and now they bring out command line support for winzip.

--
Terry Kreft


Ironic indeed. Phil Katz (PKzip) owned the market for years, long before
WinZip or even Windows. But they were very slow to put a GUI on it when
people began to become accustomed to Windows. That opened the door for
WinZip.

The WinZip command line tools are not new, however. They have never bundled
them with WinZip but have been available for licensed WinZip users for
years.

The tool that the OP needs has been included with PKzip almost from the
beginning. It's called zip2exe. It runs from the command line and simply
creates a self extracting zip from a zip file.

Note to OP - there are some "freeware" versions of zip2exe floating around.
I'm not certain if they are really freeware or zip2exe PKzip rip-offs.

Randy

Dec 2 '05 #11

"PleaseStopAdvertising" <no****@pcdatasheet.com> wrote in message
news:gR*****************@newssvr19.news.prodigy.co m...

"Terry Kreft" <te*********@mps.co.uk> wrote in message
news:Cm********************@karoo.co.uk...
Ok is that ironic or what, the idea of WinZip was to get a way from the
command line run PKZip et al and now they bring out command line support for
winzip.

--
Terry Kreft


Ironic indeed. Phil Katz (PKzip) owned the market for years, long before
WinZip or even Windows. But they were very slow to put a GUI on it when
people began to become accustomed to Windows. That opened the door for
WinZip.

The WinZip command line tools are not new, however. They have never

bundled them with WinZip but have been available for licensed WinZip users for
years.

The tool that the OP needs has been included with PKzip almost from the
beginning. It's called zip2exe. It runs from the command line and simply
creates a self extracting zip from a zip file.

Note to OP - there are some "freeware" versions of zip2exe floating around. I'm not certain if they are really freeware or zip2exe PKzip rip-offs.

Randy


Oops. I don't seem to know one account from another. Sorry.
Randy Harris

Dec 2 '05 #12
So, in other words, you use Winzip to get away from the command line PKZip.

What contradiction were you referring to (that you say doesn't exist) ?
--
Terry Kreft

"David W. Fenton" <dX********@bway.net.invalid> wrote in message
news:Xn**********************************@216.196. 97.142...
"Terry Kreft" <te*********@mps.co.uk> wrote in
news:Cm********************@karoo.co.uk:
Ok is that ironic or what, the idea of WinZip was to get a way
from the command line run PKZip et al and now they bring out
command line support for winzip.


Hmm. I don't think that was the justification for WinXip. It was to
provide a GUI to something that could be fairly opaque at the
command line, even for people like me who are no strangers to the
CLI.

I use WinZip for unzipping files because it has an Explorer-like UI,
which is simply easier than doing it from the command line.

Providing a commandline interface just makes WinZip scriptable.

I see no contradiction here at all.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc

Dec 3 '05 #13
"Terry Kreft" <te*********@mps.co.uk> wrote in
news:Ss********************@karoo.co.uk:
So, in other words, you use Winzip to get away from the command
line PKZip.
No, I use it because it's faster and easier, and provides
functionality that is opaque in PKZip. In other words, it's a better
program.
What contradiction were you referring to (that you say doesn't
exist) ?


There is no contradiction in WinZip adding a commandline interface.
They are extending a program to make it scriptable.

PKZip was scriptable, but had a UI that few people today can
understand. Adding a commandline interface is not being done to
serve those people. It's being done to serve the people who would
still use PKZip for the scripting.

There is no condtradiction here at all.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Dec 3 '05 #14
So you repeat that you use Winzip to get away from the command line PKZip.

Oh right, only I didn't say it was a contradiction I said it was ironic.
--
Terry Kreft

"David W. Fenton" <dX********@bway.net.invalid> wrote in message
news:Xn**********************************@216.196. 97.142...
"Terry Kreft" <te*********@mps.co.uk> wrote in
news:Ss********************@karoo.co.uk:
So, in other words, you use Winzip to get away from the command
line PKZip.


No, I use it because it's faster and easier, and provides
functionality that is opaque in PKZip. In other words, it's a better
program.
What contradiction were you referring to (that you say doesn't
exist) ?


There is no contradiction in WinZip adding a commandline interface.
They are extending a program to make it scriptable.

PKZip was scriptable, but had a UI that few people today can
understand. Adding a commandline interface is not being done to
serve those people. It's being done to serve the people who would
still use PKZip for the scripting.

There is no condtradiction here at all.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc

Dec 4 '05 #15
OK.

I had a thorough look at PKzip and a few others - thanks for the leads.
I ended up purchasing a licence for WinZip Self-Extractor 2.2. The help
file has a rather handy list of command line options to choose from.
Works like a charm.

............there's a bloke I know in Sydney saying to himself " I told
you so ".

Thanks again

Karl
Randy Harris wrote:
"PleaseStopAdvertising" <no****@pcdatasheet.com> wrote in message
news:gR*****************@newssvr19.news.prodigy.co m...

"Terry Kreft" <te*********@mps.co.uk> wrote in message
news:Cm********************@karoo.co.uk...
Ok is that ironic or what, the idea of WinZip was to get a way from the
command line run PKZip et al and now they bring out command line support

for
winzip.

--
Terry Kreft


Ironic indeed. Phil Katz (PKzip) owned the market for years, long before
WinZip or even Windows. But they were very slow to put a GUI on it when
people began to become accustomed to Windows. That opened the door for
WinZip.

The WinZip command line tools are not new, however. They have never

bundled
them with WinZip but have been available for licensed WinZip users for
years.

The tool that the OP needs has been included with PKzip almost from the
beginning. It's called zip2exe. It runs from the command line and simply
creates a self extracting zip from a zip file.

Note to OP - there are some "freeware" versions of zip2exe floating

around.
I'm not certain if they are really freeware or zip2exe PKzip rip-offs.

Randy


Oops. I don't seem to know one account from another. Sorry.
Randy Harris


Dec 7 '05 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: James Baker | last post by:
I'm using ASP and I need to generate a ZIP file that contains a list of files that I'm pulling from a database. I've determined WinZip's command line parameters so that I can use it, the problem...
4
by: EdB | last post by:
Has anyone ever interfaced with winZip from inside a VB.Net app? I'm looking to automatically zip up some files then delete them.
10
by: Steve | last post by:
Is there anyone with experience using the Winzip command line add-in? I can't get it to create the zip file with a space in the file name. Using: RetValue = Shell("C:\winzip\wzzip.exe...
2
by: Jim | last post by:
I all, I have a database on a user's network drive with the following path: E:\NewDB\StatsData.mdb I want to create a small "Utilities" database that the user can launch which will run WinZip...
2
by: Katie | last post by:
So I am Microsoft Access User, learning as I go. I need to send a database back to its author for some adjustments. For security and due to the size of this database I need to send it as a winzip...
2
by: Derrick | last post by:
Is there any core assembly class that can compress/decompress files similar to winzip? I found how to create custom actions. What I would like to do is write something that decompresses winzip...
3
by: Rob | last post by:
No way this should be that difficult... I have a program that does a file watch on a folder. When a file is created in this folder, I simply want to zip it up using WinZip (with the command...
1
by: hannahg | last post by:
I am trying to incorparate the win zip command line processor in my code on an Access 2003 database form. The code that I downloaded made a call to the windows api. It requires that you use short...
11
by: Killer42 | last post by:
Hi all. Has anyone else noticed this? In the Add dialogue, WinZip no longer allows you to follow a shortcut. Instead it simply selects the shortcut file itself to add to the archive. This is...
0
by: yugho | last post by:
I'm sorry if I post Winzip question here, but I met a problem. I was running Winzip command by using process in VB.Net, but I had error that I don't know how to trace. 1. I create a batch file:...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.