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

IIS, advanced settings, physical path credentials

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

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: 6582
Joined: Wed Jun 13, 2018 7:49 am

Re: IIS, advanced settings, physical path credentials

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”