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: Trouble getting value of ISIISMETABASECOMPATPRESENT
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
Feb 15, 2011
10:57 AM
Trouble getting value of ISIISMETABASECOMPATPRESENT
I am using IS 2011 Pro in an InstallScript MSI project, and doing some enhancements for a client.
Following the directions in the Help, I have created a custom action that calls the DetectIIS6Interfaces function in DetectIIS6Compat.dll, and then sets the MSI property ISIISMETABASECOMPATPRESENT. If IIS 6 Compatibility is installed, the propert is set to 1. If not, it is set to nothing.
I am checking the value ISIISMETABASECOMPATPRESENT at the midway point of the UI sequence (the InstallScript UI sequence in OnFirstUIBefore)
I know that in an InstallScript MSI project, the UI sequence is handled by the script. As a result, when I stick the custom action in the UI sequence (after LaunchConditions), the value of ISIISMETABASECOMPATPRESENT is always set to a value of nothing on a system where IIS 6 Compatibility is installed.
Where should I stick this custom action in the UI sequence in order to be able to check the value of ISIISMETABASECOMPATPRESENT in OnFirstUIBefore?
Following the directions in the Help, I have created a custom action that calls the DetectIIS6Interfaces function in DetectIIS6Compat.dll, and then sets the MSI property ISIISMETABASECOMPATPRESENT. If IIS 6 Compatibility is installed, the propert is set to 1. If not, it is set to nothing.
I am checking the value ISIISMETABASECOMPATPRESENT at the midway point of the UI sequence (the InstallScript UI sequence in OnFirstUIBefore)
I know that in an InstallScript MSI project, the UI sequence is handled by the script. As a result, when I stick the custom action in the UI sequence (after LaunchConditions), the value of ISIISMETABASECOMPATPRESENT is always set to a value of nothing on a system where IIS 6 Compatibility is installed.
Where should I stick this custom action in the UI sequence in order to be able to check the value of ISIISMETABASECOMPATPRESENT in OnFirstUIBefore?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 15, 2011
11:39 AM
I abandoned the custom action idea and just called UseDLL and UnUseDLL to load the DLL, call the function, and then unload it.
This method works as expected.
This method works as expected.