When using the browse IIS and select a SSL https website, im not getting the https bindings value assigned to the control and the value of the control is a blank string, this only happens on https sites
This works okay when i choose an http only website (returns ":83:")
On choosing a mixed http and https site, i only get the bindings for the http part (returns ":83:")
Is there a different way to get it for https sites?
ideally i guess there need to be a separation of serverBindings and Securebindings, as its entirely possible to create a website that has bindings to multiple http ports and multiple ssl ports, is the comma in the example above the way to differentiate the secure bindings from the standard bindings?
Upgraded to AI 9, I dont see ANY "ssl only" websites displayed in the combobox list
I have 4 websites on my test pc with various bindings
website1 = 1 x http only
website2 = https only
website3 = 1 x http(x2) and https
website4 = httpsonly
the IIS browse combo box does not show the https only websites at all, and in fact shows 2 entries for website3, i guess because its got 2 bindings?
We need a solution for this, as our product is moving to secured website installation as the normal
We made some investigations on this and it seems the problem appears due to bug in our predefined custom action, thank you
for bringing it to our attention. We shall have a fix available ASAP. If you cannot wait for the official release version that will include it, in 2 or 3 months, you can write us an e-mail, support at advancedinstaller dot com, so we can send you a RC version of the DLL containing the fix.
There still seems to be a bug if the website has more than 1 binding (website3 = http(x2) and https(x1)), its only returning the 1st binding, should it not retun them all
on a single binding "https only" site its now returning the correct binding, but its needs to return all bindings for an IIS website which has both http and https bindings
MSI (c) (70!A8) [10:42:38:619]: PROPERTY CHANGE: Adding IISBrowseOutput property. Its value is 'Default Web Site?:80:,Docarch?:85:,:87:,:443:,HTTPOnly?:81:,SSL2?:441:,?:442:'.
...
MSI (c) (70:F4) [10:43:26:887]: PROPERTY CHANGE: Modifying APERTAIIS_SELECTED property. Its current value is 'SSL2'. Its new value: 'Docarch'.
...
MSI (c) (70:F4) [10:43:26:903]: Doing action: IIsDecodeBrowseResult
Action 10:43:26: IIsDecodeBrowseResult.
Action start 10:43:26: IIsDecodeBrowseResult.
MSI (c) (70:0C) [10:43:26:918]: Invoking remote custom action. DLL: C:\Users\F5D2C~1.MUR\AppData\Local\Temp\MSI440B.tmp, Entrypoint: IIsDecodeBrowseResult
MSI (c) (70!D4) [10:43:26:949]: PROPERTY CHANGE: Deleting IISBrowseSelectedValue property. Its current value is ':441:'.
MSI (c) (70!D4) [10:43:26:949]: PROPERTY CHANGE: Adding IISBrowseSelectedValue property. Its value is ':85:'.
Action ended 10:43:26: IIsDecodeBrowseResult. Return value 1.
IISBrowseSelectedValue Should be returning ':85:,:87:,:443:', but its only returning ':85:'
There is also NO way to tell which are the secure bindings using this method, is there any chance we can get some sort of indication in the decodebrowseresult e.g ":85::,:87::,:443:S:" for example?
There still seems to be a bug if the website has more than 1 binding (website3 = http(x2) and https(x1)), its only returning the 1st binding, should it not retun them all
Sorry for the late reply. I tested this on my machine, Win7 x64 Pro and it displayed all the bindings found under the website. You can download the attached aip file that I used to build the test MSI.
Can you please tell us on what machine, version of IIS, are you running the package? Also, can you send me a test aip file and log the presents this behavior?
There is also NO way to tell which are the secure bindings using this method, is there any chance we can get some sort of indication in the decodebrowseresult e.g ":85::,:87::,:443:S:" for example?
I'm afraid this is not possible with the current version. I've added the improvement on our TODO list.
I'm using Vista as my dev machine, and im seeing only 1 coming back with your project too
Have also tried on our 2008r2 server and also 2003server and its only coming back with 1 as well the example below should have come back with ":84:,:443:"
MSI (c) (6C!F8) [15:01:42:007]: PROPERTY CHANGE: Adding IISBrowseOutput property. Its value is 'Default Web Site?:80:,WebSite83?:83:,WebSite443?:84:,:443:,WebSite443/ApertaWebEssentials?,WebSite443/ApertaWebEssentials/ApertaLicensingService?,WebSite443/DocumentArchive?,WebSite443/DocumentArchive/Aperta_Diagnostics?,WebSite443/DocumentArchive/DocArch_Guard?,WebSite443/DocumentArchive/DocArchive_Tweaking?,WebSite443/DocumentArchive/DocArchiveAiDPSSentry?,WebSite443/DocumentArchive/DocArchiveSQLSentry?,WebSite443/DocumentArchive/DocumentEnquiry?,WebSite443/DocumentArchive/DocumentEnquiryAPI?,WebSite443/DocumentArchive/DocumentStore?,WebSite443/DocumentArchive/SecuritySQLSentry?,WebSite443/DocumentArchive/ApertaWebGetImage?,WebSite443/DocumentArchive/DocArchUtilityService?,WebSite443/ApertaWebReview?,WebSite443/ApertaWebReview/ApertaWebReview?,WebSite443/ApertaWebReview/ApertaWebReviewDBAccess?,WebSite443/ig_common?,WebSite443/ApertaImageAccess?'.
MSI (c) (6C!F8) [15:01:42:007]: PROPERTY CHANGE: Deleting IISBrowseShowExtInfo property. Its current value is '1'.
Action ended 15:01:42: BrowseIIS. Return value 1.
Info 2898. For DlgFontBold8 textstyle, the system created a 'Tahoma' font, in 0 character set.
Info 2826. Control BottomLine on dialog BrowseIISWebsitesDlg extends beyond the boundaries of the dialog to the right by 3 pixels.
Info 2826. Control BannerLine on dialog BrowseIISWebsitesDlg extends beyond the boundaries of the dialog to the right by 3 pixels.
MSI (c) (6C:04) [15:01:49:538]: PROPERTY CHANGE: Adding IISBrowseListBox property. Its value is 'WebSite443'.
MSI (c) (6C:04) [15:01:52:168]: Doing action: IIsDecodeBrowseResult
Action start 15:01:52: IIsDecodeBrowseResult.
MSI (c) (6C:08) [15:01:52:207]: Invoking remote custom action. DLL: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSIC3D.tmp, Entrypoint: IIsDecodeBrowseResult
MSI (c) (6C!B0) [15:01:52:221]: PROPERTY CHANGE: Adding IISBrowseSelectedValue property. Its value is ':84:'.
Since our application is a server component, its generally installed on 2008 server or 2003 server and these multiple binds arent coming back on either of those OS's
This is really strange. The same project file creates an MSI that correctly detects the bindings on WIn7, Server 2003 and 2008, Vista I don't have.
However, I create a debug version of the MSI. Can you please run this, creating a verbose log. Then send me the complete verbose log and the AI_IIS.log file that you will find directly on the root of the OS partition.
The log found on the root of the partition is a more detailed one, but only for the browsing DLL, that should give me more details.
I am sorry, I was only checking IISBrowseOutput property, I must have missed your previous mentions of IISBrowseSelectedValue.
Indeed I can see the problem. I will start investigating this right away.
Is there any update on this Bogdan, at the moment im having to use scripts to try and query the IIS object myself (using vbs), but this fails on some systems (due to security settings)
We have a new software release due and i really need to get something sorted for it
I have fixed that, so now IISBrowseSelectedValue is correctly set to all the bindings from the package. The fix will be included in the next version of Advanced Installer.
If you want the DLL sooner you can contact me as support at advancedinstaller dot com.
Unfortunately there was no time for the improvement that would separate HTTP bindings from HTTPS ones.
FOLLOW US
Get the latest news in Application Packaging