帮助解压缩.exe文件的问题 [英] Help with problem unzipping .exe files

查看:170
本文介绍了帮助解压缩.exe文件的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的软件需要频繁更新可执行文件(.exe)。我们在XP,WIN 7和WIN 8上运行。



多年前,我们开发了将更新打包在.ZIP文件中并将该文件与安装程序一起分发的技术程序。安装程序调用PKZIP25(DOS)的副本,我们被许可与我们的软件一起分发并存放在目标机器上。



该解决方案的工作方式类似于魅力至少10年。



在上个月我们发现.EXE不再被提取。文件干净地滚动到DOS框,即没有错误消息。



防病毒已关闭。



用户有权访问该驱动器。



.ZIP文件可以使用Windows资源管理器轻松手动提取。



我们很难过。



我们不能使用补丁MSI,因为程序可以驻留在任何地方,我们的用户通常也是不熟练,无法找到它们。



有人对我们能做什么有任何想法吗?



谢谢!



Murray

Our software requires frequent updates to the executable file (.exe). We run on XP, WIN 7 and WIN 8.

Years ago we developed the technique of packaging the updates in a .ZIP file and distributing that file along with an installer program. The installer program calls a copy of PKZIP25 (DOS) that we are licensed to distribute with our software and which resides on the target machine.

That solution has worked like a charm for at least 10 years.

In the last month we are finding that the .EXE is no longer being extracted. The files scroll through the DOS box cleanly, i.e. there are no error messages.

Antivirus is off.

Users do have rights to access the drive.

The .ZIP file can easily be extracted by hand using Windows Explorer.

We are stumped.

We can''t use patch MSI''s because the programs can reside anywhere and our users are generally too unskilled to be able to find them.

Anybody have any ideas on what we can do?

Thanks!

Murray

推荐答案

这些天使用像PKZIP25这样的挖掘文物看起来很奇怪,说至少。而且,我甚至不会考虑使用任何单独的申请。您可以轻松地在代码中嵌入一个使用ZIP的库。第一个想到的是开源7-ZIP:

http:// en .wikipedia.org / wiki / 7-zip [ ^ ],

http://www.7-zip.org/ [< a href =http://www.7-zip.org/target =_ blanktitle =New Window> ^ ]。



根据您使用的平台和语言,您可以找到它们的绑定。特别是,这是一个.NET包装器:

http://sevenzipsharp.codeplex.com/ [ ^ ]。



更好的是,您可以切换到Microsoft技术进行修补和升级。请从这里开始:

http://msdn.microsoft.com/en-us/library/windows/desktop/aa370579%28v=vs.85%29.aspx [ ^ ]。







OP对语言的澄清:即使使用VB6,也可以使用ZIP库:

http://www.codeguru.com/vb/gen/vb_graphics/fileformats/article.php/c6743/Zip-and-Unzip-Using-VB5-or-VB6.htm [ ^ ]。



-SA
Using any excavated artifacts like PKZIP25 these days looks quite weird, to say the least. Moreover, I would not even consider using any separate application. You can easily embed one of the libraries working with ZIP in your code. The first one which comes to mind is open-source 7-ZIP:
http://en.wikipedia.org/wiki/7-zip[^],
http://www.7-zip.org/[^].

Depending on the platform and language you use, chances are, you can find bindings for them. In particular, this is a .NET wrapper:
http://sevenzipsharp.codeplex.com/[^].

Even better, you could switch to Microsoft technology for Patching and Upgrades. Please start here:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa370579%28v=vs.85%29.aspx[^].



After OP''s clarification on the language: even with VB6, you can use the ZIP library:
http://www.codeguru.com/vb/gen/vb_graphics/fileformats/article.php/c6743/Zip-and-Unzip-Using-VB5-or-VB6.htm[^].

—SA


这篇关于帮助解压缩.exe文件的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆