agyorgyi
Posts: 8
Joined: Thu Jan 09, 2020 4:28 pm

wwwroot folder can't be created properly

Dear Support,
I have a problem:

version 16.6.1, deploying a web application

If IIS is not installed yet, Adv. installer puts site files into '<prod. main dir>\IIsWWWRootFolder\<site folder name>' folder instead of c:\inetpub\wwwroot.
The IIS feature (and related stuff) is checked in prerequisites in the installer project.
Is it a bug, or I overlooked anything?
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: wwwroot folder can't be created properly

Hi,

The IIsWWWRootFolder property resolves to the IIS default path only when IIS is installed on the machine, otherwise it remains empty. In order to avoid this problem, you can implement the solution described in the "IIsWWWRootFolder is empty when IIS is not installed" thread.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”