Detecting the version of WinZip from within Access

I have a small function in my Access database that allows the client to send me the back end, via a  WinZip file.  It uses the WinZip command line add-on.

I need to find a way through the registry to detect :

1) If Winzip is installed
2) If the command line add-on is installed
3) If it is registered or unregistered

Any help would be appreciated.
Andy BrownDeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
You can read these registry keys:

My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Nico Mak Computing\WinZip\WinIni

There are several values in there you could use:

SN or SN1 - I presume one of these is the Serial Number, obviously if not present you would have a non-registered version
win32_version - this would tell you the version

I'm not sure about the CommandLine utility ... I don't have it installed, so can't tell. You might also contact Nico Mak for this information, and for the legality of using WinZip in this fashion.
Jeffrey CoachmanMIS LiasonCommented:

Also note that this functionality (Zip, compressed files) is built into Windows XP (as a Compressed Folder)

So there is less and less need for anyone to buy/install Winzip.

Andy BrownDeveloperAuthor Commented:
But you can't create a zip file from a command line prompt using XP compression (or can you)?
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
To me, the correct way to do this would be to include some sort of zip utility with your application. Depending on the enduser to have a specific version of a specific program is pretty much a guarantee for failure. Here's a library that can be used with VBA, although the walkthrough here is for VB (should port over directly, however):

There are others out there as well ... Polar Software has a zip component that works with Access, for example.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Andy BrownDeveloperAuthor Commented:
That's a great idea.  Thank you everyone.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.