所以这可能真的很简单,我一直在寻找一个例子,但似乎找不到。
我只需要添加一个复选框来选择选项,不要在屏幕上创建开始菜单快捷方式,它会显示“选择开始菜单文件夹 - 安装程序应该在哪里放置程序的快捷方式?”。只是不知道该怎么做。帮助将不胜感激。
到目前为止,这是我的代码:
[Setup]
AppName=My Launcher
AppVersion=1.1
DefaultDirName={pf}\My Launcher
DefaultGroupName=My Launcher
UninstallDisplayIcon={app}\myLauncher.exe
Compression=lzma2
SolidCompression=yes
[InstallDelete]
Type: files; Name: "{app}\myLauncher.exe";
[Files]
Source: "myLauncher.exe"; DestDir: "{app}"
Source: "QtCore4.dll"; DestDir: "{app}"
Source: "QtGui4.dll"; DestDir: "{app}"
Source: "QtNetwork4.dll"; DestDir: "{app}"
Source: "QtSql4.dll"; DestDir: "{app}"
Source: "Readme.txt"; DestDir: "{app}"
[Icons]
Name: "{group}\My Launcher"; Filename: "{app}\myLauncher.exe"