--- /dev/null
+\r
+[Setup]\r
+OutputDir=.\r
+AppName=TigerVNC\r
+AppVerName=TigerVNC 0.0.90\r
+AppVersion=0.0.90\r
+AppPublisher=TigerVNC project\r
+AppPublisherURL=http://tigervnc.org\r
+DefaultDirName={pf}\TigerVNC\r
+DefaultGroupName=TigerVNC\r
+LicenseFile=LICENCE.txt\r
+\r
+[Files]\r
+Source: "Release\winvnc4.exe"; DestDir: "{app}"; Flags: ignoreversion restartreplace; \r
+Source: "Release\wm_hooks.dll"; DestDir: "{app}"; Flags: ignoreversion restartreplace; \r
+Source: "Release\vncviewer.exe"; DestDir: "{app}"; Flags: ignoreversion restartreplace; \r
+Source: "Release\vncconfig.exe"; DestDir: "{app}"; Flags: ignoreversion restartreplace; \r
+Source: "README_BINARY.txt"; DestDir: "{app}"; Flags: ignoreversion\r
+Source: "LICENCE.txt"; DestDir: "{app}"; Flags: ignoreversion\r
+\r
+\r
+[Icons]\r
+Name: "{group}\TigerVNC Viewer"; FileName: "{app}\vncviewer.exe";\r
+Name: "{group}\Listening TigerVNC Viewer"; FileName: "{app}\vncviewer.exe"; Parameters: "-listen";\r
+\r
+Name: "{group}\VNC Server (User-Mode)\Run VNC Server"; FileName: "{app}\winvnc4.exe"; Parameters: "-noconsole";\r
+Name: "{group}\VNC Server (User-Mode)\Configure VNC Server"; FileName: "{app}\vncconfig.exe"; Parameters: "-user";\r
+\r
+Name: "{group}\VNC Server (Service-Mode)\Configure VNC Service"; FileName: "{app}\vncconfig.exe"; Parameters: "-noconsole -service";\r
+Name: "{group}\VNC Server (Service-Mode)\Register VNC Service"; FileName: "{app}\winvnc4.exe"; Parameters: "-register";\r
+Name: "{group}\VNC Server (Service-Mode)\Unregister VNC Service"; FileName: "{app}\winvnc4.exe"; Parameters: "-unregister";\r
+Name: "{group}\VNC Server (Service-Mode)\Start VNC Service"; FileName: "{app}\winvnc4.exe"; Parameters: "-noconsole -start";\r
+Name: "{group}\VNC Server (Service-Mode)\Stop VNC Service"; FileName: "{app}\winvnc4.exe"; Parameters: "-noconsole -stop";\r
+Name: "{group}\License"; FileName: "{app}\LICENCE.txt";\r
+\r
+[Tasks]\r
+Name: installservice; Description: "&Register new TigerVNC Server as a system service"; GroupDescription: "Server configuration:"; \r
+Name: startservice; Description: "&Start or restart TigerVNC service"; GroupDescription: "Server configuration:";\r
+\r
+[Run]\r
+Filename: "{app}\winvnc4.exe"; Parameters: "-register"; Tasks: installservice\r
+Filename: "net"; Parameters: "start winvnc4"; Tasks: startservice\r