Hello,

Our installer project has a large number of content files existing in a pretty 
deep folder hierarchy. We use the heat.exe utility to generate a fragment for 
all of them. This works great, the xml output looks correct. But when 
performing a per-user install, one of the folders always goes to the all-users 
location (below Program Files). All other content folders go the expected 
location (below AppData/Local/Apps), it's just one of them that gets misplaced.

I'm not sure how it is possible for files in the same fragment to have 
different base paths. Here's a snippet of our content file fragment:

The beginning of the content fragment:

    <Fragment>
        <DirectoryRef Id="APPLICATIONFOLDER">
            <Directory Id="Content" Name="Content">

This folder (Audio), and many others at this level, go to the correct location:

                <Directory Id="Audio" Name="Audio">
                    <Component Id="In_Memory_Wave_Bank.xwb" Guid="*">
                        <File Id="In_Memory_Wave_Bank.xwb" KeyPath="yes" 
Source="SourceDir\Content\Audio\In Memory Wave Bank.xwb" />
                    </Component>
                 ...

This folder (FBX), which exists at the same level in the fragment as Audio 
(from above), always goes to the all-users location:

                <Directory Id="FBX" Name="FBX">
                    <Directory Id="_394D1CD9" Name="394D1CD9">
                        <Directory Id="boku_programming_ui_02.fbm" 
Name="boku_programming_ui-02.fbm">
                            <Component Id="actuator_face_03_0.xnb" Guid="*">
                                <File Id="actuator_face_03_0.xnb" KeyPath="yes" 
Source="SourceDir\Content\FBX\394D1CD9\boku_programming_ui-02.fbm\actuator-face-03_0.xnb"
 />
                            </Component>



I'm pretty new to WiX, so I'm probably just missing something obvious. Any help 
is much appreciated.

Thanks,

Eric


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) 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 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to