My installers use IISMain to install to the typicall IIS folder structure:
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="IISMain" Name="inetpub">
When there is only a C:\
drive, this installs to C:\inetpub\
. However, we recently added an E:\
drive and created an Inetpub
folder on it. We did not make any changes to the system beyond this - all we did was add the E:\
drive and use typical New Folder
functionality to create the new Inetpub
folder. However, my installers now install to the new E:\Inetpub\
folder.
While this is the desired functionality for the installer, I am confused as to how IISMain
knows to point to the new folder instead of the original folder. How does the IISMain
directory path get set?