使用innosetup脚本删除以前安装的应用程序文件夹 [英] Use innosetup script to delete previously installed application folder

查看:616
本文介绍了使用innosetup脚本删除以前安装的应用程序文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用反过来称为我的.net应用程序的脚本删除以前的应用程序.我只想从开始菜单(开始->程序->应用程序1->卸载应用程序1)中删除文件夹(整个应用程序1)?

I am deleting the previous application using the script which inturn calls my .net app. All i want is to actually delete the folder(entire app1) from start menu (start->Programs->app1->uninstall app1)?

谢谢 高卢斯

推荐答案

如果您只想从开始"菜单中删除卸载app1"图标,则应该可以进行以下操作:

If you just want to delete the "uninstall app1" icon from the Start menu, the following should work:

[InstallDelete]
Type: files; Name: "{group}\uninstall app1"

如果要从开始菜单中删除整个程序组,请使用以下命令:

If you want to remove the entire program group from the start menu, use the following:

[InstallDelete]
Type: filesandordirs; Name: "{group}"

这假定您的Inno Setup脚本开始"菜单文件夹名称与先前的"app1"应用程序相同.

This assumes that your Inno Setup script Start menu folder name is the same as the previous "app1" application.

这篇关于使用innosetup脚本删除以前安装的应用程序文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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