Hello all,

I am creating an installer for a web application. To automate the IIS portion 
of the installation I am using Wix to setup my components. The following is my 
wix setup. Obviously anything with a "..." has been filled in with proper 
values. AppFolder.wxi is a file which contains the directory structure of the 
website. After I run this installation I have a certificate imported into the 
Personal folder in the "local computer" store. However, this certificate is not 
associated with the new website I have created. In addition, when I attempt to 
uninstall the product the uninstall fails. This failure only occurs when the 
installer is working with the certificate. Any help would be appreciated.

    <Directory Id='BaseDirectory' Name='SourceDir'>
      <Directory Id='ProgramFilesFolder' Name='PFiles'>
        <Directory Id='InstallDir' Name="MICROS_1" LongName="Microsoft ABC">
          <?include AppFolder.wxi?>
        </Directory>
      </Directory>
      <Component Id='InstallCertificate' Guid='...'>
        <Certificate Id='PortalCertificate' StoreLocation='localMachine' 
Request='no' CertificatePath='...' PFXPassword='...' StoreName='my' />
      </Component>
      <Component Id='ABCCompanyPortalWebsite' Guid='...' >
        <WebAppPool Id='ABCPortalsAppPool' Name='ABCPortalsAppPool' 
Identity='networkService' >
          <RecycleTime Value='00:00'/>
        </WebAppPool>
        <WebSite Id='CompanyPortal' Directory='CompanyPortal' Description='ABC 
Company Portal' ConnectionTimeout='7200'
                 ConfigureIfExists='yes' StartOnInstall='yes' AutoStart='yes' 
DirProperties='CompanyPortalProperties'>
          <WebAddress Id='secure' IP='*' Port='443' Secure='yes' />
          <WebAddress Id='home' Header='home.ccs.com' IP='*' Port='80'/>
          <WebAddress Id='localhost' Header='localhost' IP='127.0.0.1' 
Port='80'/>
          <WebApplication Id='CompanyPortalApp' Name='CompanyPortalApp' 
WebAppPool='ABCPortalsAppPool'>
            <CertificateRef Id='PortalCertificate' Permissions='8' />
            <WebApplicationExtension Extension='aspx' CheckPath='no' 
Script='yes'
              
Executable='[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll' 
Verbs='GET,POST' />
          </WebApplication>
        </WebSite>
        <ServiceControl Id='aspnet_state' Name='aspnet_state' Start='install' >
        </ServiceControl>
      </Component>
    </Directory>

    <WebDirProperties Id='CompanyPortalProperties' AccessSSL='yes' 
AspDetailedError='yes' DefaultDocuments='Default.aspx' Execute='yes' 
LogVisits='yes' WindowsAuthentication='yes' AnonymousAccess='no' Read='yes'/>

    <Feature Id='Complete' Title='CompanyPortal' Level='1'>
      <ComponentRef Id="InstallCertificate"/>
      <ComponentRef Id="ABCCompanyPortalWebsite" />
    </Feature>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to