Page 1 of 1

Can't set AccessSSLFlags

Posted: Tue Aug 27, 2013 2:10 pm
by bobkaine
What am I doing wrong?

I am testing on Windows 7, the install will eventually be run on Windows 2008 R2

I cannot set the flag to Require SSL. I have read the InstallAware documentation. I have reviewed my application.host.config file. I have selected 'Use IIS 7 Processing'

Using InstallAware Studio 17

Re: Can't set AccessSSLFlags

Posted: Wed Aug 28, 2013 7:54 am
by FrancescoT
Dear Bobkain,

I may suggest you to have a look at the following topic, where it is available a sample on how to use the Set IIS property command;
http://www.installaware.com/forum/viewtopic.php?f=2&t=6793

Regards

Re: Can't set AccessSSLFlags

Posted: Thu Aug 29, 2013 7:30 am
by bobkaine
That link was very little help.

I understand what is being said however, it seems to directly conflict with the InstallAware documentation.
ss1.png
ss1.png (47.36 KiB) Viewed 5381 times

So do I have to use the "system.webServer/security/access‐>sslFlags" syntax or is it 'automatically mapped' when I use 'AccessSSLFlags'?

If I have to use the IIS7 configuration path (system.webServer/security/access‐>sslFlags) how do I identify the correct location, is it "[location:path=$Website$]/system.webServer/..." or something different?

As you see below <system.webServer> is within the <location> element and there is more than one <location> so simply setting the value to "system.WebServer/..." will not access the correct website.
ss2.png
ss2.png (62.43 KiB) Viewed 5379 times

Also, do I set the value to 8 or Ssl or "8" or "Ssl"?

Please provide me with a helpful response.

Thank you.

Re: Can't set AccessSSLFlags

Posted: Thu Aug 29, 2013 12:01 pm
by FrancescoT
Dear Bobkain,

I am not an IIS expert, but for what I understand by the InstallAware documentation in accordance with Microsoft documentation, if you don't use the "Use IIS 7 Processing" mode with the command, the given IIS6 Metabase Property (if within the list) will be automatically mapped to the IIS7 Configuration Path.

So if you pass with the command the IIS6 Metabase Property "AccessFlags", this will mapped to the respective IIS7 Configuration Path.

Anyway, this is not what InstallAware says, but what Microsoft reports with its documentation.
You should also verify, with consulting the appropriate Microsoft documentation, if anything as been updated.

If I have to use the IIS7 configuration path (system.webServer/security/access‐>sslFlags) how do I identify the correct location, is it "[location:path=$Website$]/system.webServer/..." or something different?

It should be the location of your website.

I may suggest to you to have a look at the following link, where an exhaustive Microsoft documentation and samples are available
http://www.iis.net/configreference/system.webserver/security/access

Note that with the above documentation, along with all the samples available, it is described how to process IIS settings from ccommand line.

If you still have difficulties with the IA command, you can simply use the IA "Run Program" command to execute the "AppCmd.exe" CMD line tool whitin your script.

Hope this helps you.

PLEASE DON'T USE MULTIPLE TOPICS TO DISCUSS THE SAME ARGUMENT!

Regards

Re: Can't set AccessSSLFlags

Posted: Fri Aug 30, 2013 12:11 pm
by bobkaine
Used the AppCmd.exe approach.

Worked great.

Thanks.