From bfea6fd11e1bb89786c8655a2ec6c0dfa74c29d5 Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Mon, 14 Jan 2008 20:53:57 +0000 Subject: [PATCH] Made the installer compile, but now I'm not sure if it's still installing the runtimes. Originally committed to SVN as r1722. --- installer/aegisub2.iss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/aegisub2.iss b/installer/aegisub2.iss index 37d4fe7b7..d1a389bef 100644 --- a/installer/aegisub2.iss +++ b/installer/aegisub2.iss @@ -171,7 +171,7 @@ Name: {commonprograms}\{#MyAppName}; Filename: {app}\Aegisub.exe; WorkingDir: {a [Run] Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#MyAppName}}; Flags: nowait postinstall skipifsilent -Filename: {tmp}\vcredist_x86.exe; StatusMsg: Installing runtime libraries...; Components: main/runtime; Parameters: /Q +;Filename: {tmp}\vcredist_x86.exe; StatusMsg: Installing runtime libraries...; Components: main/runtime; Parameters: /Q [Components] Name: main; Description: Aegisub; Types: compact full custom; Languages: ; Flags: fixed @@ -220,7 +220,7 @@ WelcomeLabel2=This will install {#MyAppVerName} on your computer.%n%n{#MyAppName function LoadLibrary(lpFileName: string): LongInt; external 'LoadLibraryA@kernel32.dll stdcall'; function FreeLibrary(hModule: LongInt): Boolean; external 'FreeLibrary@kernel32.dll stdcall'; -procedure CurStepChanged(CurStep: TSetupStep) +procedure CurStepChanged(CurStep: TSetupStep); var LibHandle: LongInt; ExecResult: Integer; @@ -233,7 +233,7 @@ begin ExtractTemporaryFile('vcredist_x86.exe'); if not Exec(ExpandConstant('{tmp}\vcredist_x86.exe'), '/Q', '', SW_SHOW, ewWaitUntilTerminated, ExecResult) then begin - MsgBox('Installation of runtime libraries failed. Aegisub will probably not work. The error was: ' + SysErrorMessage(ExecResult)); + MsgBox('Installation of runtime libraries failed. Aegisub will probably not work. The error was: ' + SysErrorMessage(ExecResult), mbInformation, MB_OK); end; end else