Hook up the "Load X.509 Cert/Key" dialogs in winvnc
diff --git a/release/tigervnc.iss.in b/release/tigervnc.iss.in
index a27b971..b78b4e5 100644
--- a/release/tigervnc.iss.in
+++ b/release/tigervnc.iss.in
@@ -18,6 +18,11 @@
#endif
LicenseFile=@CMAKE_SOURCE_DIR@\LICENCE.txt
+[Dirs]
+; This directory is necessary to prevent the X509 file chooser from causing
+; an error dialog to appear when GetOpenFileName is called by SYSTEM account.
+Name: "{sys}\config\systemprofile\Desktop"
+
[Files]
#ifdef BUILD_WINVNC
Source: "@CMAKE_CURRENT_BINARY_DIR@\win\winvnc\winvnc4.exe"; DestDir: "{app}"; Flags: ignoreversion restartreplace;