Inno Setup-询问卸载用户是否要保留设置 [英] Inno Setup - ask user on uninstall if they want to keep settings

查看:230
本文介绍了Inno Setup-询问卸载用户是否要保留设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基本上,标题怎么说.

运行卸载程序时,我希望用户界面在某处具有一个复选框,其中显示:
[X] Keep existing settings
或类似的东西.

我在上看到了类似的问题stackoverflow.com . 可选任务"答案是我正在寻找的东西,除了尝试时,该复选框也显示在 install 上.
我还没有尝试过Delphi代码,但是我想知道是否有更简单的方法.


抱歉,我不喜欢碰碰,但是有人对此有答案吗?我可以找出解决方法,使用自定义代码创建UI选项,然后删除注册表分支(如果该选项如此).但是,我希望有一个更优雅,更轻松的解决方案.

Basically, what the title says.

When the uninstaller is run, i want the UI to have a checkbox somewhere which says:
[X] Keep existing settings
Or something like that.

I have seen a similar question asked on stackoverflow.com. The "optional task" answer was sort of what i am looking for, except that when i tried it, the checkbox was shown on install as well.
I didn''t try the Delphi code yet, but i was wondering if there is an easier way.


Sorry, i don''t like to bump, but does anyone have an answer for this? I could figure out some way to do it, using custom code to create the UI option then deleting the registry branch if the option says so. But i hoped there was a more elegant and easier solution.

推荐答案

如果您从其他站点获得解决方案,则最好的获得答案的方法就是发表评论/网站上的问题本身,因为提供解决方案的人更了解.
If you got the solution from another site, your best way of getting answers would be to post comments/questions on the site itself, as the one who provided the solution knows better.


这篇关于Inno Setup-询问卸载用户是否要保留设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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