]> git.lyx.org Git - features.git/blobdiff - development/Win32/packaging/AltInstaller/specials/Launcher/lyxLauncher.dpr
installer:
[features.git] / development / Win32 / packaging / AltInstaller / specials / Launcher / lyxLauncher.dpr
index f91d1b91cd525c27275f391b92fc3a847b7f01fe..4a5bef85350a1e09abba19b5dc83a45f8ba53448 100644 (file)
@@ -12,6 +12,8 @@ program lyxLauncher;
 uses
   Windows, SysUtils, ShellApi, Dialogs;
 
+{$R *.res}
+
 var Path,FileName : string;
     hConsole : THandle;
 
@@ -25,7 +27,7 @@ begin
 
  // if a filename is given, convert it to a PChar; needed for the ShellExecute
  if FileName <> '' then
-  Params:= PChar(FileName)
+  Params:= PChar('"' + FileName + '"')
  else
   Params:= nil;