unit MyWizard2;
interface
uses Windows,Classes,SysUtils,ToolsAPI,Menus,Registry, Unit1CCNato;
type TMywizardIdeMenu2 = class( TNotifierObject,IOTAWizard,IOTAMenuWizard)
private
public
function GetIDString : String;
function GetName : String;
function GetState : TWizardState;
procedure Execute;
function GetMenuText : String;
end;
{ TMywizardIdeMenu2 }
procedure Register;
implementation
uses Dialogs;
procedure Register;
begin
RegisterPackageWizard(TMywizardIdeMenu2.Create);
end;
procedure TMywizardIdeMenu2.Execute;
begin
ShowMessage('hello');
end;
function TMywizardIdeMenu2.GetIDString: String;
begin
result := 'SoftCon
interface
uses Windows,Classes,SysUtils,ToolsAPI,Menus,Registry, Unit1CCNato;
type TMywizardIdeMenu2 = class( TNotifierObject,IOTAWizard,IOTAMenuWizard)
private
public
function GetIDString : String;
function GetName : String;
function GetState : TWizardState;
procedure Execute;
function GetMenuText : String;
end;
{ TMywizardIdeMenu2 }
procedure Register;
implementation
uses Dialogs;
procedure Register;
begin
RegisterPackageWizard(TMywizardIdeMenu2.Create);
end;
procedure TMywizardIdeMenu2.Execute;
begin
ShowMessage('hello');
end;
function TMywizardIdeMenu2.GetIDString: String;
begin
result := 'SoftCon