Skip to content

Commit 13b5a4b

Browse files
New Setup for 1.1.0
1 parent fe3cff6 commit 13b5a4b

File tree

8 files changed

+10
-43
lines changed

8 files changed

+10
-43
lines changed

SVGShellExtensions.dll

0 Bytes
Binary file not shown.
5.48 KB
Binary file not shown.

Setup/SVGShellExtensions.iss

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,28 @@
33
#define MyAppName 'SVG Shell Extensions and Text Editor'
44
#define MyAppVersion '1.1.0'
55

6-
;Andrà ripristinato
7-
;Source: Updater\DownloadInfo.xml; DestDir: {app}
8-
;Source: Updater\libeay32.dll; DestDir: {app}
9-
;Source: Updater\ssleay32.dll; DestDir: {app}
10-
;Source: Updater\updater.exe; DestDir: {app}
11-
126
[Setup]
137
UsePreviousLanguage=no
148
AppName={#MyAppName}
159
AppPublisher=Ethea S.r.l.
1610
AppVerName={#MyAppName} {#MyAppVersion}
1711
VersionInfoVersion={#MyAppVersion}
1812
AppPublisherURL=https://www.ethea.it/
19-
AppSupportURL=https://www.ethea.it/supporto/
13+
AppSupportURL=https://github.com/EtheaDev/SVGShellExtensions/issues
2014
DefaultDirName={pf}\Ethea\SVGShellExtensions
2115
OutputBaseFileName=SVGShellExtensionsSetup
2216
DisableDirPage=true
17+
DefaultGroupName=SVG Shell Extensions
2318
Compression=lzma
2419
SolidCompression=true
2520
UsePreviousAppDir=false
26-
AppendDefaultDirName=true
21+
AppendDefaultDirName=false
2722
PrivilegesRequired=admin
2823
WindowVisible=false
2924
WizardImageFile=WizEtheaImage.bmp
3025
WizardSmallImageFile=WizEtheaSmallImage.bmp
3126
AppContact=info@ethea.it
32-
SetupIconFile=..\Source\EtheaMultires.ico
33-
DisableProgramGroupPage=true
27+
SetupIconFile=..\Icons\logo.ico
3428
AppID=SVGShellExtensions
3529
UsePreviousSetupType=false
3630
UsePreviousTasks=false
@@ -50,7 +44,6 @@ Name: ita; MessagesFile: compiler:Languages\Italian.isl; LicenseFile: .\Licenza_
5044

5145
[Tasks]
5246
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
53-
Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
5447

5548
[Files]
5649
Source: ..\SVGTextEditor.exe; DestDir: {app}; Flags: ignoreversion; Components: Editor
@@ -59,9 +52,8 @@ Source: ..\SVGShellExtensions.dll; DestDir: {app}; Flags : regserver sharedfile
5952
;Source: Register64Bit.bat; DestDir: {app}
6053

6154
[Icons]
62-
Name: {group}\SVGTextEditor; Filename: {app}\SVGTextEditor.exe
63-
Name: {userdesktop}\SVGTextEditor; Filename: {app}\SVGTextEditor.exe; Tasks: desktopicon
64-
Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\SVG Text Editor; Filename: {app}\SVGTextEditor.exe; Tasks: quicklaunchicon
55+
Name: "{group}\SVGTextEditor"; Filename: "{app}\SVGTextEditor.exe"; WorkingDir: "{app}"; IconFilename: "{app}\SVGTextEditor.exe"; Components: Editor
56+
Name: "{userdesktop}\SVGTextEditor"; Filename: "{app}\SVGTextEditor.exe"; Tasks: desktopicon; Components: Editor
6557

6658
[Run]
6759
Filename: {app}\SVGTextEditor.exe; Description: {cm:LaunchProgram,'SVG Text Editor'}; Flags: nowait postinstall skipifsilent

Source/SVGPreviewForm.dfm

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,6 @@ object FrmPreview: TFrmPreview
215215
AutoSize = False
216216
Proportional = True
217217
Align = alClient
218-
ExplicitLeft = 1
219-
ExplicitTop = 41
220-
ExplicitWidth = 529
221-
ExplicitHeight = 147
222218
end
223219
object panelPreview: TPanel
224220
Left = 0
@@ -229,9 +225,6 @@ object FrmPreview: TFrmPreview
229225
ParentBackground = False
230226
ShowCaption = False
231227
TabOrder = 1
232-
ExplicitLeft = 1
233-
ExplicitTop = 1
234-
ExplicitWidth = 529
235228
object BackgroundGrayScaleLabel: TLabel
236229
Left = 10
237230
Top = 6
@@ -255,7 +248,6 @@ object FrmPreview: TFrmPreview
255248
TabOrder = 0
256249
TabStop = False
257250
OnChange = BackgroundTrackBarChange
258-
ExplicitWidth = 444
259251
end
260252
end
261253
end

Source/SVGShellExtensions.dproj

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,6 @@
5252
<Cfg_2>true</Cfg_2>
5353
<Base>true</Base>
5454
</PropertyGroup>
55-
<PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Cfg_2)'=='true') or '$(Cfg_2_Win64)'!=''">
56-
<Cfg_2_Win64>true</Cfg_2_Win64>
57-
<CfgParent>Cfg_2</CfgParent>
58-
<Cfg_2>true</Cfg_2>
59-
<Base>true</Base>
60-
</PropertyGroup>
6155
<PropertyGroup Condition="'$(Base)'!=''">
6256
<SanitizedProjectName>SVGShellExtensions</SanitizedProjectName>
6357
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;System.Win;Winapi;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;$(DCC_Namespace)</DCC_Namespace>
@@ -116,8 +110,6 @@
116110
<DCC_MapFile>3</DCC_MapFile>
117111
<DCC_LocalDebugSymbols>true</DCC_LocalDebugSymbols>
118112
</PropertyGroup>
119-
<PropertyGroup Condition="'$(Cfg_2_Win64)'!=''">
120-
</PropertyGroup>
121113
<ItemGroup>
122114
<DelphiCompile Include="$(MainSource)">
123115
<MainSource>MainSource</MainSource>

Source/SVGTextEditor.dproj

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -165,18 +165,6 @@
165165
<VersionInfo Name="Locale">1033</VersionInfo>
166166
<VersionInfo Name="CodePage">1252</VersionInfo>
167167
</VersionInfo>
168-
<VersionInfoKeys>
169-
<VersionInfoKeys Name="CompanyName">Ethea</VersionInfoKeys>
170-
<VersionInfoKeys Name="FileDescription">InstantXMLEditor: XSL-&gt;HTML and XSL-FO processing</VersionInfoKeys>
171-
<VersionInfoKeys Name="FileVersion">2.11.0.0</VersionInfoKeys>
172-
<VersionInfoKeys Name="InternalName"/>
173-
<VersionInfoKeys Name="LegalCopyright">Copyright © 2005-2010 - Ethea</VersionInfoKeys>
174-
<VersionInfoKeys Name="LegalTrademarks"/>
175-
<VersionInfoKeys Name="OriginalFilename"/>
176-
<VersionInfoKeys Name="ProductName"/>
177-
<VersionInfoKeys Name="ProductVersion">2.10</VersionInfoKeys>
178-
<VersionInfoKeys Name="Comments"/>
179-
</VersionInfoKeys>
180168
<Source>
181169
<Source Name="MainSource">SVGTextEditor.dpr</Source>
182170
</Source>

Source/uCommonPreviewHandler.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ procedure TBasePreviewHandler.DoPreview(const FilePath: string);
109109
TLogPreview.Add('TGlobalPreviewHandler TFrmPreview.Create');
110110
Editor := TFrmPreview.Create(nil);
111111
Editor.Align := alClient;
112-
Editor.Parent := TPreviewContainer(TFrmPreview.AParent).ClientPanel;
112+
Editor.Parent := TPreviewContainer(TFrmPreview.AParent);
113113
Editor.BorderStyle := bsNone;
114114

115115
TLogPreview.Add('DoPreview Visible');

Source/uSVGThumbnailHandler.pas

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,11 @@ function TComSVGThumbnailProvider.GetThumbnail(cx: uint; out hBitmap: HBITMAP;
141141
end;
142142
except
143143
on E: Exception do
144+
begin
144145
TLogPreview.Add(Format('Error in TComSVGThumbnailProvider.GetThumbnail - Message: %s: Trace %s',
145146
[E.Message, E.StackTrace]));
147+
Result := E_FAIL;
148+
end;
146149
end;
147150
Result := S_OK;
148151
end;

0 commit comments

Comments
 (0)