estern
Posts: 19
Joined: Wed May 13, 2009 5:37 pm

IIS, advanced settings, physical path credentials

Wed Aug 07, 2013 9:50 pm

can I set a property based user id into the physical path credentials?

open iis 7, open a virtual directory, advanced settings, Physical Path Credentials

thanks

Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: IIS, advanced settings, physical path credentials

Thu Aug 08, 2013 10:03 am

Hello,

Unfortunately, we don't have predefined support for this. We already have this on our TODO list and this feature will be available in a future version of Advanced Installer. Thank you for your suggestion!

You can take a look on Physical Path Credetials with APPCMD article which debates a similar subject.

In your code, you should have something similar:

Code: Select all

appcmd.exe set config -section:system.applicationHost/sites "/[name='Default Web Site'].[path='/TestApp'].[path='/'].userName":"MyUser" "/[name='Default Web Site'].[path='/TestApp'].[path='/'].password":"MyPassword" /commit:apphost
Then you can go in the “Custom Actions” page and add a Launch File predefined custom action with sequence.

If you have any questions please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: IIS, advanced settings, physical path credentials

Tue Jul 06, 2021 6:25 pm

Hello,

This improvement has been added in version 18.4 of Advanced Installer, released on June 28th, 2021.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”