blob: 18d1c329e0a404d711d51b5cc8892c27b0ddd08f [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
27Source: "@CMAKE_CURRENT_BINARY_DIR@\win\vncviewer\{#BUILD_DIR}vncviewer.exe"; DestDir: "{app}"; Flags: ignoreversion restartreplace;
28Source: "@CMAKE_SOURCE_DIR@\win\README_BINARY.txt"; DestDir: "{app}"; Flags: ignoreversion
29Source: "@CMAKE_SOURCE_DIR@\LICENCE.txt"; DestDir: "{app}"; Flags: ignoreversion
Adam Tkaced2ab6d2011-04-27 11:07:57 +000030#ifdef HAVE_GNUTLS
31Source: "@GNUTLS_INCLUDE_DIRS@\..\bin\libgnutls-*.dll"; DestDir: "{app}"; Flags: ignoreversion
32Source: "@GNUTLS_INCLUDE_DIRS@\..\bin\libgcrypt-*.dll"; DestDir: "{app}"; Flags: ignoreversion
33Source: "@GNUTLS_INCLUDE_DIRS@\..\bin\libtasn1-*.dll"; DestDir: "{app}"; Flags: ignoreversion
34Source: "@GNUTLS_INCLUDE_DIRS@\..\bin\libgpg-error-*.dll"; DestDir: "{app}"; Flags: ignoreversion
35#endif
DRC180c0162010-10-27 07:20:27 +000036
37
38[Icons]
39Name: "{group}\TigerVNC Viewer"; FileName: "{app}\vncviewer.exe";
40Name: "{group}\Listening TigerVNC Viewer"; FileName: "{app}\vncviewer.exe"; Parameters: "-listen";
41
42#ifdef BUILD_WINVNC
43Name: "{group}\VNC Server (User-Mode)\Run VNC Server"; FileName: "{app}\winvnc4.exe"; Parameters: "-noconsole";
44Name: "{group}\VNC Server (User-Mode)\Configure VNC Server"; FileName: "{app}\vncconfig.exe"; Parameters: "-user";
45
46Name: "{group}\VNC Server (Service-Mode)\Configure VNC Service"; FileName: "{app}\vncconfig.exe"; Parameters: "-noconsole -service";
47Name: "{group}\VNC Server (Service-Mode)\Register VNC Service"; FileName: "{app}\winvnc4.exe"; Parameters: "-register";
48Name: "{group}\VNC Server (Service-Mode)\Unregister VNC Service"; FileName: "{app}\winvnc4.exe"; Parameters: "-unregister";
49Name: "{group}\VNC Server (Service-Mode)\Start VNC Service"; FileName: "{app}\winvnc4.exe"; Parameters: "-noconsole -start";
50Name: "{group}\VNC Server (Service-Mode)\Stop VNC Service"; FileName: "{app}\winvnc4.exe"; Parameters: "-noconsole -stop";
51#endif
52Name: "{group}\License"; FileName: "{app}\LICENCE.txt";
53Name: "{group}\Uninstall TigerVNC"; FileName: "{uninstallexe}"; WorkingDir: "{app}";
54
55#ifdef BUILD_WINVNC
56[Tasks]
57Name: installservice; Description: "&Register new TigerVNC Server as a system service"; GroupDescription: "Server configuration:";
58Name: startservice; Description: "&Start or restart TigerVNC service"; GroupDescription: "Server configuration:";
59
60[Run]
61Filename: "{app}\winvnc4.exe"; Parameters: "-register"; Tasks: installservice
62Filename: "net"; Parameters: "start winvnc4"; Tasks: startservice
63#endif