Hello Bob!

done: Bug Id: 2860637

Thank you for your quick reply! I created a minimal file that
reproduces the problem and attached it to the bug.

For everyone who is interested:

<?xml version='1.0' ?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
        <Product Id='*' Name='BugDemo' Language='1033' Version='1.0.0.0'
                        Manufacturer='ACME' 
UpgradeCode="{C55F30AA-8323-4ED0-AB2C-18C65F70C26B}">

                <Package Id="*" Description="Cool ACME Product" Comments="Cool 
ACME Product"
                        Manufacturer="ACME" InstallerVersion="200"
                        InstallPrivileges='elevated' InstallScope='perMachine' 
/>

                <Directory Id='TARGETDIR' Name='SourceDir'>
                        <Directory Id='ProgramFilesFolder' Name='PFiles'>
                                <Directory Id="ManufacturerDir" Name="ACME">
                                        <Directory Id='INSTALLDIR' 
Name='ACMEProduct'>

                                                <Component Id="SomeComponent" 
Guid="*">
                                                        <RegistryKey 
Root="HKLM" Key="Software\ACME" Action="create">
                                                                <RegistryValue 
Name="ConstantA" Value="ConstantB"
Type="string" KeyPath="yes"/>
                                                                <RegistryValue 
Name="[INSTALLDIR]ConstantC" Value="ConstantD"
Type="string" />
                                                        </RegistryKey>
                                                </Component>

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

                <Feature Id="TheProduct" Title='ACMEProduct' Level='1'>
                        <ComponentRef Id='SomeComponent' />
                </Feature>
        </Product>
</Wix>

Dirk


On Thu, Sep 17, 2009 at 11:52, Bob Arnson <b...@joyofsetup.com> wrote:
> Dirk Ziegelmeier wrote:
>> The line causing the error is "<RegistryValue
>> Name="[MergeRedirectFolder]ConstantNameB"..." so the problem seems to
>> be the property substitution in there.
>> *** But this RegistryValue is NOT the KeyPath of the component! ***
>>
>
> Please file a bug at SourceForge.
>
> --
> sig://boB
> http://joyofsetup.com/
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to