Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 237
  • Last Modified:

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 Brown
Andy Brown
  • 2
  • 2
1 Solution
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 BrownAuthor 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.
Andy BrownAuthor Commented:
That's a great idea.  Thank you everyone.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now