Is there an environmental variable or equivalent for WinZip32.exe I can use to find it’s location path?
EDIT – This is an in house tool for a controlled system.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The installers usually store useful information under
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstallbut the actual key it’s not always easy to find and the information stored varies from installer to installer.It looks like WinZip (at least 14.5) is using an MSI based installer so you’ll need to find it’s key (in my case {CD95F661-A5C4-44F5-A6AA-ECDD91C240BD}) then read the
InstallLocationkey (full pathHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CD95F661-A5C4-44F5-A6AA-ECDD91C240BD}\InstallLocation).P.S. If WinZip is too much trouble you can always go for one of it’s many free alternatives that offer command line versions, like 7-Zip for instance, that you can install/copy in known location.