Inno设置 - 删除温度文件夹
当我想删除我的应用程序(通过具有Inno设置的安装程序安装)时,应从驱动器中删除与之相关的任何内容。
因此,我的目标是还删除由我的应用程序在运行时创建的临时文件夹。
不幸的是,这条代码无法解决我的问题
[UninstallDelete]
Type: filesandordirs; Name: "{tmp}\MyTempFolder"
,我在调试输出中收到此错误消息:
无法删除目录(145)。将稍后重试。
When I want to delete my application (that was installed through an installer with Inno Setup), anything related to it should be removed from my drive.
So my goal is to also delete a temp folder that was created at runtime by my application.
Unfortunately, this line of code was not able to solve my problem
[UninstallDelete]
Type: filesandordirs; Name: "{tmp}\MyTempFolder"
I get this error message in the Debug Output:
Failed to delete directory (145). Will retry later.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论