安装脚本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: "{commondesktop}\My Program"
Name: "{commonprograms}\My Program"
Name: "{commonstartup}\My Program"
[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驱动']
订阅专栏 解锁全文
187

被折叠的 条评论
为什么被折叠?



