My application keeps various files in the common app data directory (C:\ProgramData\MyApp\ on Vista), and the users local and roaming application directories. These are created by the application it's self if they don't exist (Where applicable files are also created from defaults in the main program directory, e.g. the settings.cfg file).
I want to make my installer be able to remove these directories on install, however I'm not sure how to go about doing this. I tried simply adding the following to my wxs file in the TARGETDIR directory in the hope the installer would create, and thus delete it and any contents on install/uninstall. However I got some error about a "RemoveFile" table, I'm not even sure what this has to do with any file table... <Directory Id='AppDataFolder'> <Directory Id='MyAppDataFolder' Name='MyApp'> </Directory> </Directory> Is this along the right lines and I just need to work out what this table thing is going on about, or am I going about this completely the wrong way? _________________________________________________________________ Send us your Hotmail stories and be featured in our newsletter http://clk.atdmt.com/UKM/go/195013117/direct/01/ ------------------------------------------------------------------------------ Download Intel® 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users