[wix-users] Default Web Site stopped after configuration through MSI

Edwin Castro egcastr at gmail.com
Fri Aug 17 09:00:57 PDT 2018


Does your log show that component is getting installed? The component will
only get installed if the keypath is getting installed. In this case the
keypath is the directory. If the directory already exists, then the
component is already installed and the windows installer engine does
nothing related to that component.

--
Edwin G. Castro


On Fri, Aug 17, 2018, 03:59 Ven H via wix-users <
wix-users at lists.wixtoolset.org> wrote:

>  I have an MSI through which I am configuring the Default Web site in IIS.
> The markup looks like below.
>
> <Component Id="cmpDefaultWebSite"
> Guid="4E02DA37-61AE-4648-97A2-3130E7FE50D8"
> Directory="APP_DIR" KeyPath="yes">
>         <iis:WebSite Id="DefaultWebSite" Description="Default Web Site"
> ConfigureIfExists="yes" Directory="wwwroot" *AutoStart="yes"
> StartOnInstall="yes"*>
>           <iis:WebAddress Id="DefaultWebSiteAddr" Secure="yes" Port="80" />
>         </iis:WebSite>
>       </Component>
>
> Even though, I have added the properties AutoStart and StartOnInstall,
> still the Default Web Site is in stopped state after the MSI installation.
>
> Can anyone please help?
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list