Please do post a bug on this issue.  Haven't heard of this one before.

-----Original Message-----
From: vijacobs [mailto:victor.jac...@gmail.com] 
Sent: Wednesday, February 04, 2009 13:19
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] IISConfigure Bug?


I’m not sure if I should post a bug on this.  I was unable to find another
bug that seemed to match this one but thought I should post this first in
case I’m missing something simple.

We have an WIX installer that handles installing two simple websites. 
Everything works fine unless the user chooses a custom install and deselects
the first feature (site) from being installed.   On the other hand,
deselecting the second feature will install the first feature as expected.

I’ve compiled this project using WIX versions 3.0.4513.0, 3.0.4805.0,
3.0.4930.0 which all reproduced this same behavior.  I also dug up a retired
dev machine with 3.0.4422.0 installed which did NOT reproduce this behavior. 
Unfortunately I can’t find any version older than 3.0.4513.0 to revert all
of our systems back to.

I’ve created a sample project to reproduce the problem which seems to be
with the IISConfigure custom action.

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension";>
  <Product Id="2535a76e-a081-4c09-b94d-ddb3425d8d6c" Name="WixProject1"
Language="1033" Version="1.0.0.0" Manufacturer="WixProject1"
UpgradeCode="bffc5501-edd5-41c4-ac45-99387bafcd7e">
    <Package InstallerVersion="200" Compressed="yes" />

    <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder">
        <Directory Id="INSTALLLOCATION" Name="WixProject1">

          <Component Id="ProductComponent1"
Guid="146A97BE-B02F-482F-978D-2C850AE56415">
            <iis:WebSite Id='ProductWebsite1' Description='ProductWebsite1'
Directory='INSTALLLOCATION' AutoStart='yes' ConfigureIfExists='no'>
              <iis:WebAddress Id='Website1_AllUnassigned' Port='81' 
Secure='no' IP='*' />
            </iis:WebSite>
            <CreateFolder/>
          </Component>

          <Component Id="ProductComponent2"
Guid="39555EFB-8F40-4350-B91E-01FD67284D0F">
            <iis:WebSite Id='ProductWebsite2' Description='ProductWebsite2'
Directory='INSTALLLOCATION' AutoStart='yes' ConfigureIfExists='no'>
              <iis:WebAddress Id='Website2_AllUnassigned' Port='82' 
Secure='no' IP='*' />
            </iis:WebSite>
            <CreateFolder/>
          </Component>

        </Directory>
      </Directory>
    </Directory>

    <Feature Id="ProductFeature1" Title="ProductFeature1" Level="1">
      <ComponentRef Id="ProductComponent1" />
    </Feature>

    <Feature Id="ProductFeature2" Title="ProductFeature2" Level="1">
      <ComponentRef Id="ProductComponent2" />
    </Feature>

    <UIRef Id="WixUI_Mondo" />
    <UIRef Id="WixUI_ErrorProgressText" />

  </Product>
</Wix>


Here’s the error on the last dialog and a segment of the output log.   This
is from being installing on a Windows Server 2003 box with IIS 6.0 and
selecting only the second feature to be installed.

“WixProject1 Setup Wizard ended prematurely because of an error.  Your
system has not been modified. …”

…
MSI (s) (FC:A8) [10:57:55:966]: Creating MSIHANDLE (46) of type 790536 for
thread 3496
MSI (s) (FC:28) [10:57:55:966]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI130.tmp, Entrypoint: ConfigureIIsExec
MSI (s) (FC!24) [10:57:56:177]: Creating MSIHANDLE (47) of type 790531 for
thread 804
MSI (s) (FC!24) [10:57:56:187]: Creating MSIHANDLE (48) of type 790531 for
thread 804
MSI (s) (FC!24) [10:57:56:187]: Creating MSIHANDLE (49) of type 790531 for
thread 804
MSI (s) (FC!24) [10:57:56:187]: Creating MSIHANDLE (50) of type 790531 for
thread 804
MSI (s) (FC:28) [10:57:56:297]: Leaked MSIHANDLE (50) of type 790531 for
thread 804
MSI (s) (FC:28) [10:57:56:297]: Closing MSIHANDLE (50) of type 790531 for
thread 804
MSI (s) (FC:28) [10:57:56:297]: Leaked MSIHANDLE (49) of type 790531 for
thread 804
MSI (s) (FC:28) [10:57:56:297]: Closing MSIHANDLE (49) of type 790531 for
thread 804
MSI (s) (FC:28) [10:57:56:297]: Leaked MSIHANDLE (48) of type 790531 for
thread 804
MSI (s) (FC:28) [10:57:56:297]: Closing MSIHANDLE (48) of type 790531 for
thread 804
MSI (s) (FC:28) [10:57:56:297]: Leaked MSIHANDLE (47) of type 790531 for
thread 804
MSI (s) (FC:28) [10:57:56:297]: Closing MSIHANDLE (47) of type 790531 for
thread 804
MSI (s) (FC:28) [10:57:56:297]: Note: 1: 2769 2: ConfigureIIsExec 3: 4 
DEBUG: Error 2769:  Custom Action ConfigureIIsExec did not close 4
MSIHANDLEs.
The installer has encountered an unexpected error installing this package.
This may indicate a problem with this package. The error code is 2769. The
arguments are: ConfigureIIsExec, 4, 
MSI (s) (FC:28) [10:57:56:297]: Closing MSIHANDLE (46) of type 790536 for
thread 3496
Action ended 10:57:56: InstallFinalize. Return value 3.
MSI (s) (FC:A8) [10:57:56:307]: User policy value 'DisableRollback' is 0
MSI (s) (FC:A8) [10:57:56:307]: Machine policy value 'DisableRollback' is 0
MSI (s) (FC:A8) [10:57:56:307]: Executing op:
Header(Signature=1397708873,Version=301,Timestamp=977557308,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=0)
MSI (s) (FC:A8) [10:57:56:307]: Executing op:
DialogInfo(Type=0,Argument=1033)
MSI (s) (FC:A8) [10:57:56:317]: Executing op:
DialogInfo(Type=1,Argument=WixProject1)
MSI (s) (FC:A8) [10:57:56:317]: Executing op:
RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back
action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing
backup files,CleanupTemplate=File: [1])
Action 10:57:56: Rollback. Rolling back action:
Rollback: ConfigureIIsExec
…

-- 
View this message in context: 
http://n2.nabble.com/IISConfigure-Bug--tp2271626p2271626.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to