Thank you for your help, Derek. Msival2 has already caught some additional
things for me.
I am so far pleasently suprised at the level of support for the WiX
Toolset.
FYI, we are using it to package up our Point Of Sale application and
deliver it to our cash register systems, among other things, so it has a
pretty big reach.

.,.,..,...,.....,........,.............
Justin E. Pitts, Lead Technical Analyst
Data and Application Integration Services
BIG LOTS -- World's Best Bargain Place


                                                                           
             "Derek Cicerone"                                              
             <[EMAIL PROTECTED]                                             
             rceforge.net>                                              To 
                                       <[EMAIL PROTECTED]>           
             06/27/2006 11:10                                           cc 
             AM                        <wix-users@lists.sourceforge.net>   
                                                                   Subject 
                                       RE: [WiX-users] Registry element    
             Please respond to         causes error 2727                   
             <[EMAIL PROTECTED]                                             
               rceforge.net>                                               
                                                                           
                                                                           
                                                                           
                                                                           




Checkout msival2 - this is a tool from the Windows Installer team
distributed in the SDK which is a little bit more verbose to use than smoke
but essentially supports the same functionality.  My only caution with
running ICEs this way is to disable ICE33.  This is the only ICE we
actually
suggest you disobey since it gives poor advice about using the advertised
COM tables instead of just the simple Registry table.

Derek

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 7:12 AM
To: [EMAIL PROTECTED]
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Registry element causes error 2727

It looks like validation is still a manual process, at least until Wix 3.0
gets marked stable? I am currently using the latest 2.x, and integrating
wix into an extensive daily build process (using ant)
.,.,..,...,.....,........,.............
Justin E. Pitts, Lead Technical Analyst
Data and Application Integration Services
BIG LOTS -- World's Best Bargain Place



             "Derek Cicerone"
             <[EMAIL PROTECTED]
             rceforge.net>                                              To
                                       <[EMAIL PROTECTED]>,
             06/26/2006 05:33          <wix-users@lists.sourceforge.net>
             PM                                                         cc

                                                                   Subject
             Please respond to         RE: [WiX-users] Registry element
             <[EMAIL PROTECTED]         causes error 2727
               rceforge.net>









This is a common authoring mistake which is caught by MSI validation - be
sure to run validation on all your MSI files.

Derek

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, June 26, 2006 12:30 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Registry element causes error 2727

Thank you. Fixed.
.,.,..,...,.....,........,.............
Justin E. Pitts, Lead Technical Analyst
Data and Application Integration Services
BIG LOTS -- World's Best Bargain Place



             "Rob Mensching"
             <[EMAIL PROTECTED]
             rceforge.net>                                              To
                                       <[EMAIL PROTECTED]>,
             06/26/2006 03:17          <wix-users@lists.sourceforge.net>
             PM                                                         cc

                                                                   Subject
             Please respond to         RE: [WiX-users] Registry element
             <[EMAIL PROTECTED]         causes error 2727
               rceforge.net>









All Directory elements must be rooted in TARGETDIR/SourceDir.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, June 26, 2006 12:05 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Registry element causes error 2727


Adding the following element to a component causes the generated MSI to
throw error 2727:

<Registry Root="HKCR" Key="CLSID\{2ED33534-3318-4CE9-9D3D-40E5F7E930F5}"
Value="USBPort Class" Type="string" />

I see the following in the log:
DEBUG: Error 2727:  The directory entry 'WindowsFolder' does not exist in
the Directory table



Here is an entire .wxs that reproduces the problem:

<?xml version='1.0'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'>
      <Product Id='71842172-8139-4817-911d-51b2214491e1' Name='Wix Problem'
Language='1033' Version='1.0.0.0' Manufacturer='JP'>
      <Package Id='734aef1d-d18f-44d1-91ce-b17419c1f717' Description='Yada
yada' Comments='none' Manufacturer='JP' InstallerVersion='200'
Compressed='yes' />
      <Upgrade Id='9e56eb51-8204-44b4-a6e0-6194be10dc1e'/>
      <Media Id='1' Cabinet='product.cab' EmbedCab='yes' />
      <Directory Id='INSTALLDIR' Name='SourceDir'>
            <Component Id="component0" DiskId="1"
Guid="1154736f-1297-43c0-94a3-142c1073aeb0">
                  <File Id="file0" Name="USBHEL_1.DLL"
LongName="USBHelper.dll" src="Z:\tools\wix\problem\lib\USBHelper.dll" />
                  <Registry Root="HKCR"
Key="CLSID\{2ED33534-3318-4CE9-9D3D-40E5F7E930F5}" Value="USBPort Class"
Type="string" />
            </Component>
      </Directory>
      <Feature Id='feature1' Title='feature1' Level='1'>
            <ComponentRef Id ='component0' />
      </Feature>
      </Product>
</Wix>

What am I doing wrong?
.,.,..,...,.....,........,.............
Justin E. Pitts, Lead Technical Analyst
Data and Application Integration Services
BIG LOTS -- World's Best Bargain Place


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users






Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to