IISBrowse https bindings blank - Page 2 - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

FergusMurray
Posts: 150
Joined: Thu Sep 30, 2010 10:44 am

Re: IISBrowse https bindings blank

trying with the prelease dll, im still getting the same issue Bogdan

MSI (c) (30!BC) [14:27:47:327]: PROPERTY CHANGE: Adding IISBrowseOutput property. Its value is 'Default Web MSite?:80:,Docarch?:85:,:87:,:443:,HTTPOnly?:81:,SSL2?:441:,?:442:'.
MSI (c) (30:CC) [14:28:20:892]: PROPERTY CHANGE: Modifying APERTAIIS_SELECTED property. Its current value is 'HTTPOnly'. Its new value: 'Docarch'.
MSI (c) (30:CC) [14:28:20:961]: Doing action: IIsDecodeBrowseResult
MSI (c) (30!B8) [14:28:21:118]: PROPERTY CHANGE: Adding IISBrowseSelectedValue property. Its value is ':85:'.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: IISBrowse https bindings blank

Hi Fergus,

Have you restarted Advanced Installer after placing the DLL in the correct location and rebuilt the setup package? I ask this because based on the log output
you've presented the old DLL is still used. I can tell this because the problem we fixed was quite simple, it was a separator used in multiple purposes, thus the parsing process was broken.

In the new DLL the "$" should be used as a separator for the bindings, like in this sample:

Code: Select all

MSI (c) (C4!20) [10:36:38:139]: PROPERTY CHANGE: Adding IISBrowseOutput property. Its value is 'Default Web Site?:80:,Test WS?:803:sdasd$:878:sadasd$:443:'.
MSI (c) (C4!20) [10:36:38:139]: PROPERTY CHANGE: Deleting IISBrowseShowExtInfo property. Its current value is '1'.
Action ended 10:36:38: 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.
Action 10:36:38: BrowseIISWebsitesDlg. Dialog created
MSI (c) (C4:60) [10:36:40:299]: PROPERTY CHANGE: Adding IISBrowseListBox property. Its value is 'Test WS'.
MSI (c) (C4:60) [10:37:12:634]: Doing action: IIsDecodeBrowseResult
Action 10:37:12: IIsDecodeBrowseResult. 
Action start 10:37:12: IIsDecodeBrowseResult.
MSI (c) (C4:E0) [10:37:12:684]: Invoking remote custom action. DLL: C:\Users\Bogdan\AppData\Local\Temp\MSI85B5.tmp, Entrypoint: IIsDecodeBrowseResult
MSI (c) (C4!30) [10:37:12:688]: PROPERTY CHANGE: Adding IISBrowseSelectedValue property. Its value is ':803:sdasd$:878:sadasd$:443:'.
Regards,
Bogdan
FergusMurray
Posts: 150
Joined: Thu Sep 30, 2010 10:44 am

Re: IISBrowse https bindings blank

Yes Bogdan I had made sure i followed those instructions, but the result was still the same, was there perhaps another dll needed?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: IISBrowse https bindings blank

Hi Fergus,

The DLL is the correct one, I double checked it. However, I've sent you by e-mail a download link for RC version of Advanced Installer 9.3 which contains the fix.

Let me know if this works.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FergusMurray
Posts: 150
Joined: Thu Sep 30, 2010 10:44 am

Re: IISBrowse https bindings blank

Thanks Bogdan, i have it working now(had to disable the build caching to get it working) with IISBrowseOutputMode=3

Code: Select all

MSI (c) (50!FC) [15:14:04:293]: PROPERTY CHANGE: Adding IISBrowseOutput property. Its value is 'Default Web Site?:80:,Docarch?:85:$:87:$:443:,HTTPOnly?:81:,SSL2?:441:,?:442:'.
MSI (c) (50:BC) [15:14:12:589]: PROPERTY CHANGE: Modifying IISBrowseComboBox property. Its current value is 'HTTPOnly'. Its new value: 'Docarch'.
MSI (c) (50!94) [15:14:24:246]: PROPERTY CHANGE: Adding IISBrowseSelectedValue property. Its value is ':85:$:87:$:443:'.

However in IISBrowseOutputMode=6 it doesnt look right (all ports for multiple bound websites are set the same value), might want to check that out

Code: Select all

MSI (c) (B4!E4) [15:18:18:874]: PROPERTY CHANGE: Adding IISBrowseOutput property. Its value is 'Default Web Site?Default Web Site (http://localhost:80),Docarch?Docarch (http://localhost:443),Docarch?Docarch (http://localhost:443),Docarch?Docarch (http://localhost:443),HTTPOnly?HTTPOnly (http://localhost:81),SSL2?SSL2 (http://localhost:441),? (http://localhost:442)'.
MSI (c) (B4:24) [15:18:28:019]: PROPERTY CHANGE: Modifying IISBrowseComboBox property. Its current value is 'HTTPOnly'. Its new value: 'Docarch'.
MSI (c) (B4!28) [15:19:06:865]: PROPERTY CHANGE: Adding IISBrowseSelectedValue property. Its value is 'Docarch (http://localhost:443)'.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: IISBrowse https bindings blank

Hi Fergus,

Indeed, there seems to be a problem with the custom action for this output mode. We shall start an investigation and provide a solution ASAP.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: IISBrowse https bindings blank

This was fixed in version 9.3, released on June 26, 2012.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: IISBrowse https bindings blank

Hi Fergus,

Just wanted to let you know that version 9.5 now can differentiate between HTTP and HTTPS bindings, so you can easily use them.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FergusMurray
Posts: 150
Joined: Thu Sep 30, 2010 10:44 am

Re: IISBrowse https bindings blank

Thanks Bogdan, ill take a look at our VB scripts and see if this make our implementation easier, we had to base a lot of it on assumptions on range that the port numbers were in. I'm probably going to have to check that area anyway, since it looks like the format of the browseresult has changed, and since we use scripting to break that all apart to retrieve the list of bound ports, i need to check what our stuff is doing with it

Return to “Common Problems”