This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Code Comments on Feature Event Handlers
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 26, 2007
12:48 PM
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 InstallShield Help Library states:
I assume the help is correct not the comment, but am I the only one seeing this?
Thank you!
//---------------------------------------------------------------------------
// 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!
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 26, 2007
01:25 PM
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;
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 27, 2007
08:10 AM
Sorry for the confusion. I logged this as issue IOC-000067056.
Thanks,
Debbie Landers
Macrovision Corporation
Thanks,
Debbie Landers
Macrovision Corporation
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 27, 2007
10:39 AM
Thank you, Christopher and Debbie. So should I carefully modify Events.rul in my IS folder?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 27, 2007
10:50 AM
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.