Skip to content

Commit e4c9997

Browse files
committed
Added support for New Delphi Versions
Reamed units Fix installer bug
1 parent b9d4a2b commit e4c9997

File tree

82 files changed

+709
-698
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+709
-698
lines changed

Build_x86Release.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
call "C:\Program Files (x86)\Embarcadero\RAD Studio\11.0\bin\rsvars.bat"
1+
call "C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\rsvars.bat"
22
msbuild.exe "WDCC.dproj" /target:clean;build /p:Platform=Win32 /p:config=release
33

44
pause

Installer.iss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; Script generated by the Inno Setup Script Wizard.
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3-
#define MyAppName 'Wmi Delphi Code Creator'
3+
#define MyAppName 'WMI Delphi Code Creator'
44
#define MyAppVersion GetFileVersion('WDCC.exe')
55

66
[Files]
@@ -303,7 +303,7 @@ SetupIconFile=Images\Icon.ico
303303
DefaultGroupName=WMI Delphi Code Creator
304304
;MinVersion=
305305
[Run]
306-
Filename: {app}\WDCC.exe; Description: {cm:LaunchProgram,{#MyAppName}}; Flags: nowait postinstall skipifsilent
306+
Filename: {app}\WDCC.exe; Description: {cm:LaunchProgram,{#MyAppName}}; Flags: nowait postinstall skipifsilent runascurrentuser
307307
[Languages]
308308
Name: english; MessagesFile: compiler:Default.isl
309309
;Name: basque; MessagesFile: compiler:Languages\Basque.isl
@@ -372,7 +372,7 @@ procedure BitmapImageOnClick(Sender: TObject);
372372
var
373373
ErrorCode : Integer;
374374
begin
375-
ShellExec('open', 'https://code.google.com/p/wmi-delphi-code-creator/', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode);
375+
ShellExec('open', 'https://github.com/RRUZ/wmi-delphi-code-creator', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode);
376376
end;
377377
378378
procedure CreateWizardPages;

Main.pas

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ interface
2626

2727
uses
2828
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
29-
Dialogs, StdCtrls, ComCtrls, ExtCtrls, Rtti, Generics.Collections, uHostsAdmin,
30-
SynEdit, ImgList, ToolWin, uSettings, Menus, Buttons, Vcl.Styles.ColorTabs,
29+
Dialogs, StdCtrls, ComCtrls, ExtCtrls, Rtti, Generics.Collections, WDCC.HostsAdmin,
30+
SynEdit, ImgList, ToolWin, WDCC.Settings, Menus, Buttons, Vcl.Styles.ColorTabs,
3131
Vcl.PlatformDefaultStyleActnCtrls, Vcl.ActnPopup, Vcl.ActnList, Vcl.ActnMan,
3232
System.Actions, System.ImageList;
3333

@@ -103,23 +103,23 @@ TFrmMain = class(TForm)
103103
implementation
104104

105105
uses
106-
uStdActionsPopMenu,
107-
uMisc,
106+
WDCC.StdActions.PopMenu,
107+
WDCC.Misc,
108108
uWmi_Metadata,
109-
uLog,
110-
uGlobals,
111-
uSqlWMIContainer,
112-
uWMIClassesContainer,
113-
uWmiDatabase,
114-
uWmiClassTree,
115-
uWMIEventsContainer,
116-
uWMIMethodsContainer,
117-
uWmiTree,
118-
uWmiInfo,
109+
WDCC.Log,
110+
WDCC.Globals,
111+
WDCC.Sql.WMI.Container,
112+
WDCC.WMI.Classes.Container,
113+
WDCC.WMI.Database,
114+
WDCC.WMI.Classes.Tree,
115+
WDCC.WMI.Events.Container,
116+
WDCC.WMI.Methods.Container,
117+
WDCC.WMI.Tree,
118+
WDCC.WMI.Info,
119119
Vcl.Styles.FormStyleHooks,
120120
Vcl.Styles.Ext,
121121
Vcl.Themes,
122-
uWmi_About;
122+
WDCC.About;
123123

124124
Const
125125
HostCIMStr = 'CIM Repository (%s)';

Units/Misc/uComboBox.pas renamed to Units/Misc/WDCC.ComboBox.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// **************************************************************************************************
22
//
3-
// Unit uComboBox
3+
// Unit WDCC.ComboBox
44
// unit for the WMI Delphi Code Creator
55
// https://github.com/RRUZ/wmi-delphi-code-creator
66
//
@@ -12,15 +12,15 @@
1212
// ANY KIND, either express or implied. See the License for the specific language governing rights
1313
// and limitations under the License.
1414
//
15-
// The Original Code is uComboBox.pas.
15+
// The Original Code is WDCC.ComboBox.pas.
1616
//
1717
// The Initial Developer of the Original Code is Rodrigo Ruz V.
1818
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
1919
// All Rights Reserved.
2020
//
2121
// **************************************************************************************************
2222

23-
unit uComboBox;
23+
unit WDCC.ComboBox;
2424

2525
interface
2626

Units/Misc/uCustomImageDrawHook.pas renamed to Units/Misc/WDCC.CustomImage.DrawHook.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// **************************************************************************************************
22
//
3-
// Unit uCustomImageDrawHook
3+
// Unit WDCC.CustomImage.DrawHook
44
// unit for the WMI Delphi Code Creator
55
// https://github.com/RRUZ/wmi-delphi-code-creator
66
//
@@ -12,15 +12,15 @@
1212
// ANY KIND, either express or implied. See the License for the specific language governing rights
1313
// and limitations under the License.
1414
//
15-
// The Original Code is uCustomImageDrawHook.pas.
15+
// The Original Code is WDCC.CustomImage.DrawHook.pas.
1616
//
1717
// The Initial Developer of the Original Code is Rodrigo Ruz V.
1818
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
1919
// All Rights Reserved.
2020
//
2121
// **************************************************************************************************
2222

23-
unit uCustomImageDrawHook;
23+
unit WDCC.CustomImage.DrawHook;
2424

2525
interface
2626

Units/Misc/uListView_Helper.pas renamed to Units/Misc/WDCC.ListView.Helper.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// **************************************************************************************************
22
//
3-
// Unit uListView_Helper
3+
// Unit WDCC.ListView.Helper
44
// unit for the WMI Delphi Code Creator
55
// https://github.com/RRUZ/wmi-delphi-code-creator
66
//
@@ -12,15 +12,15 @@
1212
// ANY KIND, either express or implied. See the License for the specific language governing rights
1313
// and limitations under the License.
1414
//
15-
// The Original Code is uListView_Helper.pas.
15+
// The Original Code is WDCC.ListView.Helper.pas.
1616
//
1717
// The Initial Developer of the Original Code is Rodrigo Ruz V.
1818
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
1919
// All Rights Reserved.
2020
//
2121
// **************************************************************************************************
2222

23-
unit uListView_Helper;
23+
unit WDCC.ListView.Helper;
2424

2525
interface
2626

Units/Misc/uMisc.pas renamed to Units/Misc/WDCC.Misc.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// **************************************************************************************************
22
//
3-
// Unit uMisc
3+
// Unit WDCC.Misc
44
// unit for the WMI Delphi Code Creator
55
// https://github.com/RRUZ/wmi-delphi-code-creator
66
//
@@ -12,15 +12,15 @@
1212
// ANY KIND, either express or implied. See the License for the specific language governing rights
1313
// and limitations under the License.
1414
//
15-
// The Original Code is uMisc.pas.
15+
// The Original Code is WDCC.Misc.pas.
1616
//
1717
// The Initial Developer of the Original Code is Rodrigo Ruz V.
1818
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
1919
// All Rights Reserved.
2020
//
2121
// **************************************************************************************************
2222

23-
unit uMisc;
23+
unit WDCC.Misc;
2424

2525
interface
2626

Units/Misc/uOleVariantEnum.pas renamed to Units/Misc/WDCC.OleVariant.Enum.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// **************************************************************************************************
22
//
3-
// Unit uOleVariantEnum
3+
// Unit WDCC.OleVariant.Enum
44
// unit for the WMI Delphi Code Creator
55
// https://github.com/RRUZ/wmi-delphi-code-creator
66
//
@@ -12,15 +12,15 @@
1212
// ANY KIND, either express or implied. See the License for the specific language governing rights
1313
// and limitations under the License.
1414
//
15-
// The Original Code is uOleVariantEnum.pas.
15+
// The Original Code is WDCC.OleVariant.Enum.pas.
1616
//
1717
// The Initial Developer of the Original Code is Rodrigo Ruz V.
1818
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
1919
// All Rights Reserved.
2020
//
2121
// **************************************************************************************************
2222

23-
unit uOleVariantEnum;
23+
unit WDCC.OleVariant.Enum;
2424

2525
interface
2626

Units/Misc/uRegistry.pas renamed to Units/Misc/WDCC.Registry.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// **************************************************************************************************
22
//
3-
// Unit uRegistry
3+
// Unit WDCC.Registry
44
// unit for the WMI Delphi Code Creator
55
// https://github.com/RRUZ/wmi-delphi-code-creator
66
//
@@ -12,15 +12,15 @@
1212
// ANY KIND, either express or implied. See the License for the specific language governing rights
1313
// and limitations under the License.
1414
//
15-
// The Original Code is uRegistry.pas.
15+
// The Original Code is WDCC.Registry.pas.
1616
//
1717
// The Initial Developer of the Original Code is Rodrigo Ruz V.
1818
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
1919
// All Rights Reserved.
2020
//
2121
// **************************************************************************************************
2222

23-
unit uRegistry;
23+
unit WDCC.Registry;
2424

2525
interface
2626

Units/Misc/uStdActionsPopMenu.pas renamed to Units/Misc/WDCC.StdActions.PopMenu.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// **************************************************************************************************
22
//
3-
// Unit uStdActionsPopMenu
3+
// Unit WDCC.StdActions.PopMenu
44
// unit for the WMI Delphi Code Creator
55
// https://github.com/RRUZ/wmi-delphi-code-creator
66
//
@@ -12,15 +12,15 @@
1212
// ANY KIND, either express or implied. See the License for the specific language governing rights
1313
// and limitations under the License.
1414
//
15-
// The Original Code is uStdActionsPopMenu.pas.
15+
// The Original Code is WDCC.StdActions.PopMenu.pas.
1616
//
1717
// The Initial Developer of the Original Code is Rodrigo Ruz V.
1818
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
1919
// All Rights Reserved.
2020
//
2121
// **************************************************************************************************
2222

23-
unit uStdActionsPopMenu;
23+
unit WDCC.StdActions.PopMenu;
2424

2525
interface
2626

Units/Misc/uSynEditPopupEdit.pas renamed to Units/Misc/WDCC.SynEdit.PopupEdit.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// **************************************************************************************************
22
//
3-
// Unit uSynEditPopupEdit
3+
// Unit WDCC.SynEdit.PopupEdit
44
// unit for the WMI Delphi Code Creator
55
// https://github.com/RRUZ/wmi-delphi-code-creator
66
//
@@ -12,15 +12,15 @@
1212
// ANY KIND, either express or implied. See the License for the specific language governing rights
1313
// and limitations under the License.
1414
//
15-
// The Original Code is uSynEditPopupEdit.pas.
15+
// The Original Code is WDCC.SynEdit.PopupEdit.pas.
1616
//
1717
// The Initial Developer of the Original Code is Rodrigo Ruz V.
1818
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
1919
// All Rights Reserved.
2020
//
2121
// **************************************************************************************************
2222

23-
unit uSynEditPopupEdit;
23+
unit WDCC.SynEdit.PopupEdit;
2424

2525
interface
2626

File renamed without changes.

Units/Misc/uUpdatesChanges.pas renamed to Units/Misc/WDCC.UpdatesChanges.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// **************************************************************************************************
22
//
3-
// Unit uUpdatesChanges
3+
// Unit WDCC.UpdatesChanges
44
// unit for the WMI Delphi Code Creator
55
// https://github.com/RRUZ/wmi-delphi-code-creator
66
//
@@ -12,14 +12,14 @@
1212
// ANY KIND, either express or implied. See the License for the specific language governing rights
1313
// and limitations under the License.
1414
//
15-
// The Original Code is uUpdatesChanges.pas.
15+
// The Original Code is WDCC.UpdatesChanges.pas.
1616
//
1717
// The Initial Developer of the Original Code is Rodrigo Ruz V.
1818
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
1919
// All Rights Reserved.
2020
//
2121
// **************************************************************************************************
22-
unit uUpdatesChanges;
22+
unit WDCC.UpdatesChanges;
2323

2424
interface
2525

Units/Misc/uWinInet.pas renamed to Units/Misc/WDCC.WinInet.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// **************************************************************************************************
22
//
3-
// Unit uWinInet
3+
// Unit WDCC.WinInet
44
// unit for the WMI Delphi Code Creator
55
// https://github.com/RRUZ/wmi-delphi-code-creator
66
//
@@ -12,15 +12,15 @@
1212
// ANY KIND, either express or implied. See the License for the specific language governing rights
1313
// and limitations under the License.
1414
//
15-
// The Original Code is uWinInet.pas.
15+
// The Original Code is WDCC.WinInet.pas.
1616
//
1717
// The Initial Developer of the Original Code is Rodrigo Ruz V.
1818
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
1919
// All Rights Reserved.
2020
//
2121
// **************************************************************************************************
2222

23-
unit uWinInet;
23+
unit WDCC.WinInet;
2424

2525
interface
2626

File renamed without changes.

Units/uWmi_About.pas renamed to Units/WDCC.About.pas

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// **************************************************************************************************
22
//
3-
// Unit uWmi_About
3+
// Unit WDCC.About
44
// unit for the WMI Delphi Code Creator
55
// https://github.com/RRUZ/wmi-delphi-code-creator
66
//
@@ -12,15 +12,15 @@
1212
// ANY KIND, either express or implied. See the License for the specific language governing rights
1313
// and limitations under the License.
1414
//
15-
// The Original Code is uWmi_About.pas.
15+
// The Original Code is WDCC.About.pas.
1616
//
1717
// The Initial Developer of the Original Code is Rodrigo Ruz V.
1818
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
1919
// All Rights Reserved.
2020
//
2121
// **************************************************************************************************
2222

23-
unit uWmi_About;
23+
unit WDCC.About;
2424

2525
interface
2626

@@ -57,10 +57,10 @@ TFrmAbout = class(TForm)
5757
implementation
5858

5959
uses
60-
uSettings,
61-
uWmiGenCode,
60+
WDCC.Settings,
61+
WDCC.WMI.GenCode,
6262
uWmi_Metadata,
63-
uMisc,
63+
WDCC.Misc,
6464
ShellApi;
6565

6666
{$R *.dfm}

0 commit comments

Comments
 (0)