blob: 71632b13cf69999ef445df826da7aec8e5509344 [file] [log] [blame]
DRC180c0162010-10-27 07:20:27 +00001[Setup]
2#ifdef WIN64
3ArchitecturesInstallIn64BitMode=x64
4AppName=TigerVNC 64-bit
5AppVerName=TigerVNC 64-bit @VERSION@ (@BUILD@)
6#else
7AppName=TigerVNC
8AppVerName=TigerVNC v@VERSION@ (@BUILD@)
9#endif
10AppVersion=@VERSION@
11AppPublisher=TigerVNC project
12AppPublisherURL=http://tigervnc.org
13DefaultDirName={pf}\TigerVNC
14#ifdef WIN64
15DefaultGroupName=TigerVNC 64-bit
16#else
17DefaultGroupName=TigerVNC
18#endif
19LicenseFile=@CMAKE_SOURCE_DIR@\LICENCE.txt
20
21[Files]
22#ifdef BUILD_WINVNC
23Source: "@CMAKE_CURRENT_BINARY_DIR@\win\winvnc\{#BUILD_DIR}winvnc4.exe"; DestDir: "{app}"; Flags: ignoreversion restartreplace;
24Source: "@CMAKE_CURRENT_BINARY_DIR@\win\winvnc\{#BUILD_DIR}wm_hooks.dll"; DestDir: "{app}"; Flags: ignoreversion restartreplace;
25Source: "@CMAKE_CURRENT_BINARY_DIR@\win\vncconfig\{#BUILD_DIR}vncconfig.exe"; DestDir: "{app}"; Flags: ignoreversion restartreplace;
26#endif
DRC65a4cc42011-06-24 05:25:43 +000027Source: "@CMAKE_CURRENT_BINARY_DIR@\vncviewer\{#BUILD_DIR}vncviewer.exe"; DestDir: "{app}"; Flags: ignoreversion restartreplace;
DRCe72b8052011-06-28 03:02:38 +000028Source: "@CMAKE_SOURCE_DIR@\README.txt"; DestDir: "{app}"; Flags: ignoreversion
29Source: "@CMAKE_SOURCE_DIR@\LICENCE.TXT"; DestDir: "{app}"; Flags: ignoreversion
DRC180c0162010-10-27 07:20:27 +000030
31
32[Icons]
33Name: "{group}\TigerVNC Viewer"; FileName: "{app}\vncviewer.exe";
34Name: "{group}\Listening TigerVNC Viewer"; FileName: "{app}\vncviewer.exe"; Parameters: "-listen";
35
36#ifdef BUILD_WINVNC
37Name: "{group}\VNC Server (User-Mode)\Run VNC Server"; FileName: "{app}\winvnc4.exe"; Parameters: "-noconsole";
38Name: "{group}\VNC Server (User-Mode)\Configure VNC Server"; FileName: "{app}\vncconfig.exe"; Parameters: "-user";
39
40Name: "{group}\VNC Server (Service-Mode)\Configure VNC Service"; FileName: "{app}\vncconfig.exe"; Parameters: "-noconsole -service";
41Name: "{group}\VNC Server (Service-Mode)\Register VNC Service"; FileName: "{app}\winvnc4.exe"; Parameters: "-register";
42Name: "{group}\VNC Server (Service-Mode)\Unregister VNC Service"; FileName: "{app}\winvnc4.exe"; Parameters: "-unregister";
43Name: "{group}\VNC Server (Service-Mode)\Start VNC Service"; FileName: "{app}\winvnc4.exe"; Parameters: "-noconsole -start";
44Name: "{group}\VNC Server (Service-Mode)\Stop VNC Service"; FileName: "{app}\winvnc4.exe"; Parameters: "-noconsole -stop";
45#endif
DRCe72b8052011-06-28 03:02:38 +000046Name: "{group}\License"; FileName: "write.exe"; Parameters: "LICENCE.TXT"; WorkingDir: "{app}"; Flags: "useapppaths"
47Name: "{group}\Read Me"; FileName: "write.exe"; Parameters: "README.txt"; WorkingDir: "{app}"; Flags: "useapppaths"
DRC180c0162010-10-27 07:20:27 +000048Name: "{group}\Uninstall TigerVNC"; FileName: "{uninstallexe}"; WorkingDir: "{app}";
49
50#ifdef BUILD_WINVNC
51[Tasks]
52Name: installservice; Description: "&Register new TigerVNC Server as a system service"; GroupDescription: "Server configuration:";
53Name: startservice; Description: "&Start or restart TigerVNC service"; GroupDescription: "Server configuration:";
54
55[Run]
56Filename: "{app}\winvnc4.exe"; Parameters: "-register"; Tasks: installservice
57Filename: "net"; Parameters: "start winvnc4"; Tasks: startservice
58#endif