安装后调用OnBeforeInstall [英] OnBeforeInstall is getting called after Install
本文介绍了安装后调用OnBeforeInstall的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
安装时我必须检查该位置是否存在特定文件并删除它以确保每次都放置一个新副本。所有这些都应该在安装程序复制它的文件之前发生但我发现的是OnBeforeInstall安装后调用。
我应该在哪里编写代码(删除文件),以便在安装程序复制文件之前调用它?
解决方案
< blockquote>推荐这个网站: -
http:// windows -tech.info/3/f19445531da643e0.php [ ^
While installing i have to check if specific file exist at that location and do delete it to make sure a new copy is placed everytime .All these should happens before installer copies it''s files but what i found was OnBeforeInstall was getting called after install.
Where should i write my code(deleting file) so that it gets called before files are being copied by installer?
解决方案
Refer this site:-
http://windows-tech.info/3/f19445531da643e0.php[^]
这篇关于安装后调用OnBeforeInstall的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文