cosmetics

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@822 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
XhmikosR 2011-11-29 21:11:07 +00:00
parent 46a3ae3d98
commit 10373b982a
2 changed files with 14 additions and 24 deletions

View File

@ -31,8 +31,7 @@
#endif
#define installer_build_number "25"
#define app_copyright "Copyright © 2001-2011, Nikse"
#define app_copyright "Copyright © 2001-2011, Nikse"
; If you don't define "localize", i.e. comment out the following line then no translations
; for SubtitleEdit or the installer itself will be included in the installer
#define localize
@ -55,7 +54,6 @@
; The following app_version is for 3 digit releases, one of the two must be uncommented at a time
#define app_version str(VerMajor) + "." + str(VerMinor) + "." + str(VerBuild)
#define installer_build_date GetDateTimeString('mmm, d yyyy', '', '')
#define quick_launch "{userappdata}\Microsoft\Internet Explorer\Quick Launch"
@ -129,7 +127,7 @@ Name: sv; MessagesFile: Languages\Swedish.isl
[Messages]
BeveledLabel=Subtitle Edit {#app_version} by Nikse - Setup v{#installer_build_number} built on {#installer_build_date}
BeveledLabel=Subtitle Edit {#app_version} by Nikse
SetupAppTitle=Setup - Subtitle Edit
SetupWindowTitle=Setup - Subtitle Edit
@ -322,9 +320,9 @@ external 'IsModuleLoaded@{app}\psvince.dll stdcall uninstallonly';
// Check if Subtitle Edit's settings exist
function SettingsExistCheck(): Boolean;
begin
if FileExists(ExpandConstant('{userappdata}\Subtitle Edit\Settings.xml')) then begin
Result := True;
end else
if FileExists(ExpandConstant('{userappdata}\Subtitle Edit\Settings.xml')) then
Result := True
else
Result := False;
end;
@ -379,12 +377,10 @@ end;
function ShouldSkipPage(PageID: Integer): Boolean;
begin
// Hide the license page
if IsUpgrade() and (PageID = wpLicense) then begin
Result := True;
end
else begin
if IsUpgrade() and (PageID = wpLicense) then
Result := True
else
Result := False;
end;
end;
@ -455,9 +451,8 @@ begin
iMsgBoxResult := SuppressibleMsgBox(CustomMessage('msg_AppIsRunning'), mbError, MB_OKCANCEL, IDCANCEL);
end;
if iMsgBoxResult = IDCANCEL then begin
if iMsgBoxResult = IDCANCEL then
Result := False;
end;
// Check if .NET Framework 2.0 is installed and if not offer to download it
try
@ -495,9 +490,8 @@ begin
iMsgBoxResult := SuppressibleMsgBox(CustomMessage('msg_AppIsRunningUninstall'), mbError, MB_OKCANCEL, IDCANCEL);
end;
if iMsgBoxResult = IDCANCEL then begin
if iMsgBoxResult = IDCANCEL then
Result := False;
end;
// Unload the psvince.dll in order to be uninstalled
UnloadDLL(ExpandConstant('{app}\psvince.dll'));

View File

@ -22,22 +22,18 @@
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="asInvoker"
uiAccess="false"
/>
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
</application>
</compatibility>
<asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<asmv3:windowsSettings
xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>true</dpiAware>
</asmv3:windowsSettings>
</asmv3:application>