My application creates a data folder under a user's AppData/Local
(Win7/Vista, XP: Local Settings\Application Data). I have the following
in WiX,

        <Directory Id="AppDataFolder" Name="AppDataFolder">
            <Directory Id="MYDATA_ROOT" Name="myAppData">
                <Component Id="MYDATA_ROOT"
Guid="DB80A786-0529-4eb5-9348-0A99EA12F919"  >
                    <RegistryKey  Action="none" Key="dummy" Root="HKCU"
>
                        <RegistryValue Type="integer"  Value="1"
KeyPath="yes" />
                    </RegistryKey >
                    <CreateFolder />
                </Component>
            </Directory>
        </Directory>

My application would actually create the directory if it does not exist.
But I want the uninstaller to remove it therefore I put it in the
installer.

Checking the log, I found out that the above snippet created myAppData
folder under AppData/Roaming instead of AppData/Local. Could someone
please tell me how to correct this? Thank you in advance.

Louis

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to