Skip to content

Commit

Permalink
Added support for New Delphi Versions
Browse files Browse the repository at this point in the history
Reamed units
Fix installer bug
  • Loading branch information
RRUZ committed Mar 29, 2019
1 parent b9d4a2b commit e4c9997
Show file tree
Hide file tree
Showing 82 changed files with 709 additions and 698 deletions.
2 changes: 1 addition & 1 deletion Build_x86Release.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
call "C:\Program Files (x86)\Embarcadero\RAD Studio\11.0\bin\rsvars.bat"
call "C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\rsvars.bat"
msbuild.exe "WDCC.dproj" /target:clean;build /p:Platform=Win32 /p:config=release

pause
6 changes: 3 additions & 3 deletions Installer.iss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName 'Wmi Delphi Code Creator'
#define MyAppName 'WMI Delphi Code Creator'
#define MyAppVersion GetFileVersion('WDCC.exe')

[Files]
Expand Down Expand Up @@ -303,7 +303,7 @@ SetupIconFile=Images\Icon.ico
DefaultGroupName=WMI Delphi Code Creator
;MinVersion=
[Run]
Filename: {app}\WDCC.exe; Description: {cm:LaunchProgram,{#MyAppName}}; Flags: nowait postinstall skipifsilent
Filename: {app}\WDCC.exe; Description: {cm:LaunchProgram,{#MyAppName}}; Flags: nowait postinstall skipifsilent runascurrentuser
[Languages]
Name: english; MessagesFile: compiler:Default.isl
;Name: basque; MessagesFile: compiler:Languages\Basque.isl
Expand Down Expand Up @@ -372,7 +372,7 @@ procedure BitmapImageOnClick(Sender: TObject);
var
ErrorCode : Integer;
begin
ShellExec('open', 'https://code.google.com/p/wmi-delphi-code-creator/', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode);
ShellExec('open', 'https://github.com/RRUZ/wmi-delphi-code-creator', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode);
end;
procedure CreateWizardPages;
Expand Down
30 changes: 15 additions & 15 deletions Main.pas
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ interface

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

Expand Down Expand Up @@ -103,23 +103,23 @@ TFrmMain = class(TForm)
implementation

uses
uStdActionsPopMenu,
uMisc,
WDCC.StdActions.PopMenu,
WDCC.Misc,
uWmi_Metadata,
uLog,
uGlobals,
uSqlWMIContainer,
uWMIClassesContainer,
uWmiDatabase,
uWmiClassTree,
uWMIEventsContainer,
uWMIMethodsContainer,
uWmiTree,
uWmiInfo,
WDCC.Log,
WDCC.Globals,
WDCC.Sql.WMI.Container,
WDCC.WMI.Classes.Container,
WDCC.WMI.Database,
WDCC.WMI.Classes.Tree,
WDCC.WMI.Events.Container,
WDCC.WMI.Methods.Container,
WDCC.WMI.Tree,
WDCC.WMI.Info,
Vcl.Styles.FormStyleHooks,
Vcl.Styles.Ext,
Vcl.Themes,
uWmi_About;
WDCC.About;

Const
HostCIMStr = 'CIM Repository (%s)';
Expand Down
6 changes: 3 additions & 3 deletions Units/Misc/uComboBox.pas → Units/Misc/WDCC.ComboBox.pas
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// **************************************************************************************************
//
// Unit uComboBox
// Unit WDCC.ComboBox
// unit for the WMI Delphi Code Creator
// https://github.com/RRUZ/wmi-delphi-code-creator
//
Expand All @@ -12,15 +12,15 @@
// ANY KIND, either express or implied. See the License for the specific language governing rights
// and limitations under the License.
//
// The Original Code is uComboBox.pas.
// The Original Code is WDCC.ComboBox.pas.
//
// The Initial Developer of the Original Code is Rodrigo Ruz V.
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
// All Rights Reserved.
//
// **************************************************************************************************

unit uComboBox;
unit WDCC.ComboBox;

interface

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// **************************************************************************************************
//
// Unit uCustomImageDrawHook
// Unit WDCC.CustomImage.DrawHook
// unit for the WMI Delphi Code Creator
// https://github.com/RRUZ/wmi-delphi-code-creator
//
Expand All @@ -12,15 +12,15 @@
// ANY KIND, either express or implied. See the License for the specific language governing rights
// and limitations under the License.
//
// The Original Code is uCustomImageDrawHook.pas.
// The Original Code is WDCC.CustomImage.DrawHook.pas.
//
// The Initial Developer of the Original Code is Rodrigo Ruz V.
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
// All Rights Reserved.
//
// **************************************************************************************************

unit uCustomImageDrawHook;
unit WDCC.CustomImage.DrawHook;

interface

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// **************************************************************************************************
//
// Unit uListView_Helper
// Unit WDCC.ListView.Helper
// unit for the WMI Delphi Code Creator
// https://github.com/RRUZ/wmi-delphi-code-creator
//
Expand All @@ -12,15 +12,15 @@
// ANY KIND, either express or implied. See the License for the specific language governing rights
// and limitations under the License.
//
// The Original Code is uListView_Helper.pas.
// The Original Code is WDCC.ListView.Helper.pas.
//
// The Initial Developer of the Original Code is Rodrigo Ruz V.
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
// All Rights Reserved.
//
// **************************************************************************************************

unit uListView_Helper;
unit WDCC.ListView.Helper;

interface

Expand Down
6 changes: 3 additions & 3 deletions Units/Misc/uMisc.pas → Units/Misc/WDCC.Misc.pas
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// **************************************************************************************************
//
// Unit uMisc
// Unit WDCC.Misc
// unit for the WMI Delphi Code Creator
// https://github.com/RRUZ/wmi-delphi-code-creator
//
Expand All @@ -12,15 +12,15 @@
// ANY KIND, either express or implied. See the License for the specific language governing rights
// and limitations under the License.
//
// The Original Code is uMisc.pas.
// The Original Code is WDCC.Misc.pas.
//
// The Initial Developer of the Original Code is Rodrigo Ruz V.
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
// All Rights Reserved.
//
// **************************************************************************************************

unit uMisc;
unit WDCC.Misc;

interface

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// **************************************************************************************************
//
// Unit uOleVariantEnum
// Unit WDCC.OleVariant.Enum
// unit for the WMI Delphi Code Creator
// https://github.com/RRUZ/wmi-delphi-code-creator
//
Expand All @@ -12,15 +12,15 @@
// ANY KIND, either express or implied. See the License for the specific language governing rights
// and limitations under the License.
//
// The Original Code is uOleVariantEnum.pas.
// The Original Code is WDCC.OleVariant.Enum.pas.
//
// The Initial Developer of the Original Code is Rodrigo Ruz V.
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
// All Rights Reserved.
//
// **************************************************************************************************

unit uOleVariantEnum;
unit WDCC.OleVariant.Enum;

interface

Expand Down
6 changes: 3 additions & 3 deletions Units/Misc/uRegistry.pas → Units/Misc/WDCC.Registry.pas
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// **************************************************************************************************
//
// Unit uRegistry
// Unit WDCC.Registry
// unit for the WMI Delphi Code Creator
// https://github.com/RRUZ/wmi-delphi-code-creator
//
Expand All @@ -12,15 +12,15 @@
// ANY KIND, either express or implied. See the License for the specific language governing rights
// and limitations under the License.
//
// The Original Code is uRegistry.pas.
// The Original Code is WDCC.Registry.pas.
//
// The Initial Developer of the Original Code is Rodrigo Ruz V.
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
// All Rights Reserved.
//
// **************************************************************************************************

unit uRegistry;
unit WDCC.Registry;

interface

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// **************************************************************************************************
//
// Unit uStdActionsPopMenu
// Unit WDCC.StdActions.PopMenu
// unit for the WMI Delphi Code Creator
// https://github.com/RRUZ/wmi-delphi-code-creator
//
Expand All @@ -12,15 +12,15 @@
// ANY KIND, either express or implied. See the License for the specific language governing rights
// and limitations under the License.
//
// The Original Code is uStdActionsPopMenu.pas.
// The Original Code is WDCC.StdActions.PopMenu.pas.
//
// The Initial Developer of the Original Code is Rodrigo Ruz V.
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
// All Rights Reserved.
//
// **************************************************************************************************

unit uStdActionsPopMenu;
unit WDCC.StdActions.PopMenu;

interface

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// **************************************************************************************************
//
// Unit uSynEditPopupEdit
// Unit WDCC.SynEdit.PopupEdit
// unit for the WMI Delphi Code Creator
// https://github.com/RRUZ/wmi-delphi-code-creator
//
Expand All @@ -12,15 +12,15 @@
// ANY KIND, either express or implied. See the License for the specific language governing rights
// and limitations under the License.
//
// The Original Code is uSynEditPopupEdit.pas.
// The Original Code is WDCC.SynEdit.PopupEdit.pas.
//
// The Initial Developer of the Original Code is Rodrigo Ruz V.
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
// All Rights Reserved.
//
// **************************************************************************************************

unit uSynEditPopupEdit;
unit WDCC.SynEdit.PopupEdit;

interface

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// **************************************************************************************************
//
// Unit uUpdatesChanges
// Unit WDCC.UpdatesChanges
// unit for the WMI Delphi Code Creator
// https://github.com/RRUZ/wmi-delphi-code-creator
//
Expand All @@ -12,14 +12,14 @@
// ANY KIND, either express or implied. See the License for the specific language governing rights
// and limitations under the License.
//
// The Original Code is uUpdatesChanges.pas.
// The Original Code is WDCC.UpdatesChanges.pas.
//
// The Initial Developer of the Original Code is Rodrigo Ruz V.
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
// All Rights Reserved.
//
// **************************************************************************************************
unit uUpdatesChanges;
unit WDCC.UpdatesChanges;

interface

Expand Down
6 changes: 3 additions & 3 deletions Units/Misc/uWinInet.pas → Units/Misc/WDCC.WinInet.pas
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// **************************************************************************************************
//
// Unit uWinInet
// Unit WDCC.WinInet
// unit for the WMI Delphi Code Creator
// https://github.com/RRUZ/wmi-delphi-code-creator
//
Expand All @@ -12,15 +12,15 @@
// ANY KIND, either express or implied. See the License for the specific language governing rights
// and limitations under the License.
//
// The Original Code is uWinInet.pas.
// The Original Code is WDCC.WinInet.pas.
//
// The Initial Developer of the Original Code is Rodrigo Ruz V.
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
// All Rights Reserved.
//
// **************************************************************************************************

unit uWinInet;
unit WDCC.WinInet;

interface

Expand Down
File renamed without changes.
12 changes: 6 additions & 6 deletions Units/uWmi_About.pas → Units/WDCC.About.pas
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// **************************************************************************************************
//
// Unit uWmi_About
// Unit WDCC.About
// unit for the WMI Delphi Code Creator
// https://github.com/RRUZ/wmi-delphi-code-creator
//
Expand All @@ -12,15 +12,15 @@
// ANY KIND, either express or implied. See the License for the specific language governing rights
// and limitations under the License.
//
// The Original Code is uWmi_About.pas.
// The Original Code is WDCC.About.pas.
//
// The Initial Developer of the Original Code is Rodrigo Ruz V.
// Portions created by Rodrigo Ruz V. are Copyright (C) 2011-2019 Rodrigo Ruz V.
// All Rights Reserved.
//
// **************************************************************************************************

unit uWmi_About;
unit WDCC.About;

interface

Expand Down Expand Up @@ -57,10 +57,10 @@ TFrmAbout = class(TForm)
implementation

uses
uSettings,
uWmiGenCode,
WDCC.Settings,
WDCC.WMI.GenCode,
uWmi_Metadata,
uMisc,
WDCC.Misc,
ShellApi;

{$R *.dfm}
Expand Down
Loading

0 comments on commit e4c9997

Please sign in to comment.