14 - 安装脚本Section - [Icons]

[Icons] section in Inno Setup defines shortcuts created for the Start menu and desktop. This section includes parameters like Name, Filename, Parameters, WorkingDir, HotKey, Comment, IconFilename, IconIndex, and Flags. Each parameter has its specific purpose, such as specifying shortcut name, target file, command-line arguments, icon, and more." 80461327,7726932,解决机器学习环境配置中的Tensorflow导入错误与Ubuntu登录循环问题,"['机器学习', '环境配置', 'Ubuntu', 'Tensorflow', 'NVIDIA驱动']

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

安装脚本Section

[Icons] section

此可选section定义安装程序要在“开始”菜单和/或其他位置(例如桌面)中创建的所有快捷方式。

这是[Icons]部分的示例:

[Icons]
Name: "{group}\My Program"; Filename: "{app}\MYPROG.EXE"; WorkingDir: "{app}"
Name: "{group}\Uninstall My Program"; Filename: "{uninstallexe}"

以下是受支持的参数的列表:

Name(必填)

要创建的快捷方式的名称和位置。此参数中可以使用任何Shell文件夹常量或目录常量。

请记住,快捷方式存储为文本文件,因此此处不能使用普通文件名中不允许的任何字符。另外,由于不可能有两个具有相同名称的文件,因此也就不可能有两个具有相同名称的快捷方式。

举例:

[Dirs]
Name: "{group}\My Program"
Name: "{group}\Subfolder\My Program"
Name: "{com
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值