DRC | 180c016 | 2010-10-27 07:20:27 +0000 | [diff] [blame] | 1 | [Setup] |
| 2 | #ifdef WIN64 |
| 3 | ArchitecturesInstallIn64BitMode=x64 |
| 4 | AppName=TigerVNC 64-bit |
| 5 | AppVerName=TigerVNC 64-bit @VERSION@ (@BUILD@) |
| 6 | #else |
| 7 | AppName=TigerVNC |
| 8 | AppVerName=TigerVNC v@VERSION@ (@BUILD@) |
| 9 | #endif |
| 10 | AppVersion=@VERSION@ |
| 11 | AppPublisher=TigerVNC project |
| 12 | AppPublisherURL=http://tigervnc.org |
| 13 | DefaultDirName={pf}\TigerVNC |
| 14 | #ifdef WIN64 |
| 15 | DefaultGroupName=TigerVNC 64-bit |
| 16 | #else |
| 17 | DefaultGroupName=TigerVNC |
| 18 | #endif |
| 19 | LicenseFile=@CMAKE_SOURCE_DIR@\LICENCE.txt |
| 20 | |
| 21 | [Files] |
| 22 | #ifdef BUILD_WINVNC |
| 23 | Source: "@CMAKE_CURRENT_BINARY_DIR@\win\winvnc\{#BUILD_DIR}winvnc4.exe"; DestDir: "{app}"; Flags: ignoreversion restartreplace; |
| 24 | Source: "@CMAKE_CURRENT_BINARY_DIR@\win\winvnc\{#BUILD_DIR}wm_hooks.dll"; DestDir: "{app}"; Flags: ignoreversion restartreplace; |
| 25 | Source: "@CMAKE_CURRENT_BINARY_DIR@\win\vncconfig\{#BUILD_DIR}vncconfig.exe"; DestDir: "{app}"; Flags: ignoreversion restartreplace; |
| 26 | #endif |
DRC | 65a4cc4 | 2011-06-24 05:25:43 +0000 | [diff] [blame^] | 27 | Source: "@CMAKE_CURRENT_BINARY_DIR@\vncviewer\{#BUILD_DIR}vncviewer.exe"; DestDir: "{app}"; Flags: ignoreversion restartreplace; |
DRC | 180c016 | 2010-10-27 07:20:27 +0000 | [diff] [blame] | 28 | Source: "@CMAKE_SOURCE_DIR@\win\README_BINARY.txt"; DestDir: "{app}"; Flags: ignoreversion |
| 29 | Source: "@CMAKE_SOURCE_DIR@\LICENCE.txt"; DestDir: "{app}"; Flags: ignoreversion |
Adam Tkac | ed2ab6d | 2011-04-27 11:07:57 +0000 | [diff] [blame] | 30 | #ifdef HAVE_GNUTLS |
| 31 | Source: "@GNUTLS_INCLUDE_DIRS@\..\bin\libgnutls-*.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 32 | Source: "@GNUTLS_INCLUDE_DIRS@\..\bin\libgcrypt-*.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 33 | Source: "@GNUTLS_INCLUDE_DIRS@\..\bin\libtasn1-*.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 34 | Source: "@GNUTLS_INCLUDE_DIRS@\..\bin\libgpg-error-*.dll"; DestDir: "{app}"; Flags: ignoreversion |
| 35 | #endif |
DRC | 180c016 | 2010-10-27 07:20:27 +0000 | [diff] [blame] | 36 | |
| 37 | |
| 38 | [Icons] |
| 39 | Name: "{group}\TigerVNC Viewer"; FileName: "{app}\vncviewer.exe"; |
| 40 | Name: "{group}\Listening TigerVNC Viewer"; FileName: "{app}\vncviewer.exe"; Parameters: "-listen"; |
| 41 | |
| 42 | #ifdef BUILD_WINVNC |
| 43 | Name: "{group}\VNC Server (User-Mode)\Run VNC Server"; FileName: "{app}\winvnc4.exe"; Parameters: "-noconsole"; |
| 44 | Name: "{group}\VNC Server (User-Mode)\Configure VNC Server"; FileName: "{app}\vncconfig.exe"; Parameters: "-user"; |
| 45 | |
| 46 | Name: "{group}\VNC Server (Service-Mode)\Configure VNC Service"; FileName: "{app}\vncconfig.exe"; Parameters: "-noconsole -service"; |
| 47 | Name: "{group}\VNC Server (Service-Mode)\Register VNC Service"; FileName: "{app}\winvnc4.exe"; Parameters: "-register"; |
| 48 | Name: "{group}\VNC Server (Service-Mode)\Unregister VNC Service"; FileName: "{app}\winvnc4.exe"; Parameters: "-unregister"; |
| 49 | Name: "{group}\VNC Server (Service-Mode)\Start VNC Service"; FileName: "{app}\winvnc4.exe"; Parameters: "-noconsole -start"; |
| 50 | Name: "{group}\VNC Server (Service-Mode)\Stop VNC Service"; FileName: "{app}\winvnc4.exe"; Parameters: "-noconsole -stop"; |
| 51 | #endif |
| 52 | Name: "{group}\License"; FileName: "{app}\LICENCE.txt"; |
| 53 | Name: "{group}\Uninstall TigerVNC"; FileName: "{uninstallexe}"; WorkingDir: "{app}"; |
| 54 | |
| 55 | #ifdef BUILD_WINVNC |
| 56 | [Tasks] |
| 57 | Name: installservice; Description: "&Register new TigerVNC Server as a system service"; GroupDescription: "Server configuration:"; |
| 58 | Name: startservice; Description: "&Start or restart TigerVNC service"; GroupDescription: "Server configuration:"; |
| 59 | |
| 60 | [Run] |
| 61 | Filename: "{app}\winvnc4.exe"; Parameters: "-register"; Tasks: installservice |
| 62 | Filename: "net"; Parameters: "start winvnc4"; Tasks: startservice |
| 63 | #endif |