cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Newmarket
Level 4

Code Comments on Feature Event Handlers

When I add feature event handlers for Installing and Installed on a feature in an InstallScript MSI project, the comments automatically added to the code are identical:
//---------------------------------------------------------------------------
// The Installing event is sent after the feature NewFeature1
// is installed.
//---------------------------------------------------------------------------

export prototype NewFeature1_Installing();
function NewFeature1_Installing()
begin
end;
//---------------------------------------------------------------------------
// The Installed event is sent after the feature NewFeature1
// is installed.
//---------------------------------------------------------------------------

export prototype NewFeature1_Installed();
function NewFeature1_Installed()
begin
end;

The InstallShield Help Library states:

OnInstalling
In InstallScript MSI projects: Responds to the Installing event that is generated just before a feature is installed on the target computer.

OnInstalled
In InstallScript MSI projects: Responds to the Installed event that is generated just after a feature is installed on the target computer.


I assume the help is correct not the comment, but am I the only one seeing this?

Thank you!
Labels (1)
0 Kudos
(4) Replies
Christopher_Pai
Level 16

This seems to be a (copy and paste) doco bug in Events.rul

// Category Features
// Event Installing
//---------------------------------------------------------------------------
// The Installing event is sent after the feature %FULL_FEATURE_PATH%
// is installed.
//---------------------------------------------------------------------------
function FFX_Installing()
begin
end;

// Category Features
// Event Installed
//---------------------------------------------------------------------------
// The Installed event is sent after the feature %FULL_FEATURE_PATH%
// is installed.
//---------------------------------------------------------------------------
function FFX_Installed()
begin
end;
0 Kudos
DebbieL
Level 17

Sorry for the confusion. I logged this as issue IOC-000067056.

Thanks,
Debbie Landers
Macrovision Corporation
0 Kudos
Newmarket
Level 4

Thank you, Christopher and Debbie. So should I carefully modify Events.rul in my IS folder?
0 Kudos
Christopher_Pai
Level 16

I wouldn't bother ( take the risk ), as it's just a comments section. Once you override a default event handler you can change it there in your project.
0 Kudos