简体   繁体   English

Inno Setup-卸载多个应用程序

[英]Inno Setup - Uninstallation of several applications

Our software is delivered with several additional applications. 我们的软件随附其他一些应用程序。 These are installed with an Inno Setup routine. 这些随Inno Setup例程一起安装。

At installation Inno Setup installs all programs one after another that are listed in [Run] -section. 在安装时,Inno Setup会依次安装[Run]节中列出的所有程序。 So far so good. 到现在为止还挺好。

Problem begins at uninstallation. 问题始于卸载。 I can't control the moment when an uninstaller is started. 我无法控制启动卸载程序的时间。 All uninstallers are started one after one without waiting until the previous has finished. 所有卸载程序都一个接一个地启动,而无需等到前一个卸载程序完成。 Even flags eg waituntilterminated don't work. 甚至标志,例如waituntilterminated也不起作用。 Any suggestions? 有什么建议么?

The waituntilterminated works (I assume you use [UninstallRun] , right?) waituntilterminated工作(我假设您使用[UninstallRun] ,对吧?)

The problem might be that the uninstallers spawn a separate process for the uninstallation and exit. 问题可能在于,卸载程序会为卸载和退出生成单独的过程。 Inno Setup cannot detect that. Inno Setup无法检测到。

To solve this you have to code some custom solution. 为了解决这个问题,您必须编写一些自定义解决方案。 But without knowing details about the specific uninstallers, we can hardly help you further. 但是,在不了解有关特定卸载程序的详细信息的情况下,我们几乎无法为您提供进一步的帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM