将文件添加到exe文件,然后提取它们 [英] Add files to exe and then extract them
本文介绍了将文件添加到exe文件,然后提取它们的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想提出一个Windows安装程序,我需要把一些文件在我的计划,然后程序运行时提取到某个文件夹,可以说,我打算把3个文件中的一个exe文件。
i am making a windows installer , i need to put some files in my program and then extract them to some folder when program runs , lets say i am going to put 3 files in single exe file .
在此先感谢了很多的帮助,爱你的StackOverflow成员:)
thanks a lot for your help in advance , love ya Stackoverflow members :)
推荐答案
有一个在这里阅读: http://support.microsoft.com/kb/319292
这显示了如何提取资源到一个流,你就可以写这个流盘。
This shows how to extract the resource into a Stream, you can then write this stream to disk.
这篇关于将文件添加到exe文件,然后提取它们的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文