如何在不添加Tesseract文件的情况下运行exe文件。 [英] How to run the exe file without adding Tesseract Files.

查看:226
本文介绍了如何在不添加Tesseract文件的情况下运行exe文件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,



我在我的WPF应用程序中使用了Tesseract OCR,并且从项目文件夹中运行正常。我想在其他系统中运行此应用程序。 exe文件没有添加任何DLL或文件到他们的系统。



但是当我运行.exe文件时,它正在寻找Tesseract.dll,tessdata,X64和我已经在项目文件夹中添加了X86。



我试图从调试和发布模式创建exe文件,但仍然遇到同样的问题。





请任何机构都可以帮助我。



谢谢,



Ashraf



I have used Tesseract OCR in my WPF application and its running fine from the project folder.I wants to run this application in other system with .exe file without adding any dll or files to their system.

But when I am running the .exe file it is looking for the Tesseract.dll,tessdata,X64 and X86 again which I already added in my project folder.

I tried to create the exe file from debug and release mode both but still getting the same problem.


Please any body can help me.

Thanks,

Ashraf

推荐答案

您好

查看此链接。他们使用vs 2010创建安装程序



https://www.youtube.com / watch?v = S-rEZ4Ir_PQ [ ^ ]


这里,他们使用发布模式,所以当在发布文件夹中添加你的dll并根据这个视频创建安装程序时。



所以你的方法是在调试文件夹中添加Tesseract.dll,并在创建安装程序时从调试文件夹中选择所有文件并创建安装程序。
Hi
Check this link.here they use vs 2010 for creating installer

https://www.youtube.com/watch?v=S-rEZ4Ir_PQ[^]

Here,they use release mode,so when add ur dll's in release folder and create installer based on this video.

So ur way is add Tesseract.dll in debug folder and in when create installer select all files from debug folder and create installer.


这篇关于如何在不添加Tesseract文件的情况下运行exe文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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