installer:

- fix problem with path with spaces in the Launcher
  (thanks to Martin Rauscher for testing)
- add icons and version info to the launcher and the PDF viewer


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18434 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-05-20 20:35:35 +00:00
parent f2ccc2af03
commit 99e966daa0
8 changed files with 19 additions and 12 deletions

View File

@ -110,7 +110,7 @@ ActiveLang=
ProjectLang= ProjectLang=
RootDir= RootDir=
[Version Info] [Version Info]
IncludeVerInfo=0 IncludeVerInfo=1
AutoIncBuild=0 AutoIncBuild=0
MajorVer=1 MajorVer=1
MinorVer=0 MinorVer=0
@ -124,13 +124,13 @@ DLL=0
Locale=1031 Locale=1031
CodePage=1252 CodePage=1252
[Version Info Keys] [Version Info Keys]
CompanyName= CompanyName=LyX Team
FileDescription= FileDescription=Launcher for LyX
FileVersion=1.0.0.0 FileVersion=1.0.0.0
InternalName= InternalName=
LegalCopyright= LegalCopyright=Uwe Stöhr
LegalTrademarks= LegalTrademarks=
OriginalFilename= OriginalFilename=lyxLauncher.exe
ProductName= ProductName=
ProductVersion=1.0.0.0 ProductVersion=1.0.0.0
Comments= Comments=

View File

@ -12,6 +12,8 @@ program lyxLauncher;
uses uses
Windows, SysUtils, ShellApi, Dialogs; Windows, SysUtils, ShellApi, Dialogs;
{$R *.res}
var Path,FileName : string; var Path,FileName : string;
hConsole : THandle; hConsole : THandle;
@ -25,7 +27,7 @@ begin
// if a filename is given, convert it to a PChar; needed for the ShellExecute // if a filename is given, convert it to a PChar; needed for the ShellExecute
if FileName <> '' then if FileName <> '' then
Params:= PChar(FileName) Params:= PChar('"' + FileName + '"')
else else
Params:= nil; Params:= nil;

View File

@ -95,7 +95,7 @@ UnitOutputDir=
PackageDLLOutputDir= PackageDLLOutputDir=
PackageDCPOutputDir= PackageDCPOutputDir=
SearchPath= SearchPath=
Packages= Packages=vcl;rtl;vclx;vcldb;dbrtl;bdertl;vclshlctrls;vclactnband;adortl;vcldbx;VclSmp;visualclx;visualdbclx;dbexpress;vclie;xmlrtl;inetdbbde;inet;inetdbxpress;teeui;teedb;tee;Rave50CLX;Rave50VCL;IntrawebDB_50_70;Intraweb_50_70;indy;ibxpress;dsnap;soaprtl;dbxcds;inetdb
Conditionals= Conditionals=
DebugSourceDirs= DebugSourceDirs=
UsePackages=0 UsePackages=0
@ -110,7 +110,7 @@ ActiveLang=
ProjectLang= ProjectLang=
RootDir= RootDir=
[Version Info] [Version Info]
IncludeVerInfo=0 IncludeVerInfo=1
AutoIncBuild=0 AutoIncBuild=0
MajorVer=1 MajorVer=1
MinorVer=0 MinorVer=0
@ -124,13 +124,16 @@ DLL=0
Locale=1031 Locale=1031
CodePage=1252 CodePage=1252
[Version Info Keys] [Version Info Keys]
CompanyName= CompanyName=LyX Team
FileDescription= FileDescription=PDF viewing program for LyX
FileVersion=1.0.0.0 FileVersion=1.0.0.0
InternalName= InternalName=
LegalCopyright= LegalCopyright=Uwe Stöhr
LegalTrademarks= LegalTrademarks=
OriginalFilename= OriginalFilename=PDFViewWin.exe
ProductName= ProductName=
ProductVersion=1.0.0.0 ProductVersion=1.0.0.0
Comments= Comments=
[HistoryLists\hlUnitAliases]
Count=1
Item0=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;

View File

@ -19,6 +19,8 @@ program PDFViewWin;
uses uses
Windows, SysUtils, ShellApi; Windows, SysUtils, ShellApi;
{$R *.res}
var Input,InputNew : string; var Input,InputNew : string;
FileTest : boolean; FileTest : boolean;
hConsole : THandle; hConsole : THandle;