如何在 Inno Setup 的桌面上生成 URL Link
How to generate a URL Link on the desktop in Inno Setup
我正在寻找在桌面上使用 Inno Setup 创建 URL link 的选项。
我需要使用一些参数调用我的网络应用程序。到目前为止,我只能为我的应用程序文件夹创建一个快捷方式,但是如何创建 URL link?
我觉得一定要在Icons
部分解决?
[Icons]
Name: "{group}\MyAPP"; Filename: "{app}\MYPROG.EXE"; WorkingDir: "{app}"
Name: "{group}\App Logs"; Filename:"{commonappdata}\Foo\App\logfiles"; \
WorkingDir: "{commonappdata}\Foo\App\logfiles"
Name: "{group}\Uninstall"; Filename: "{uninstallexe}"
只需将 Filename
parameter 设置为 URL:
Filename (Required)
...
In addition to file and folder names, URLs (web site addresses) may also be specified. When a URL is specified, Setup will create an "Internet Shortcut" (.url) file, and ignore the Parameters
, WorkingDir
, HotKey
, and Comment
parameters.
示例:
[Icons]
Name: "{userdesktop}\Web"; Filename: "https://www.example.com/"
我正在寻找在桌面上使用 Inno Setup 创建 URL link 的选项。
我需要使用一些参数调用我的网络应用程序。到目前为止,我只能为我的应用程序文件夹创建一个快捷方式,但是如何创建 URL link?
我觉得一定要在Icons
部分解决?
[Icons]
Name: "{group}\MyAPP"; Filename: "{app}\MYPROG.EXE"; WorkingDir: "{app}"
Name: "{group}\App Logs"; Filename:"{commonappdata}\Foo\App\logfiles"; \
WorkingDir: "{commonappdata}\Foo\App\logfiles"
Name: "{group}\Uninstall"; Filename: "{uninstallexe}"
只需将 Filename
parameter 设置为 URL:
Filename (Required)
...
In addition to file and folder names, URLs (web site addresses) may also be specified. When a URL is specified, Setup will create an "Internet Shortcut" (.url) file, and ignore theParameters
,WorkingDir
,HotKey
, andComment
parameters.
示例:
[Icons]
Name: "{userdesktop}\Web"; Filename: "https://www.example.com/"