uninstall - Removing application use(r)-generated files with WiX -


currently, our user data hierarchy looks this:

localappdatafolder/company/product

this makes sense far goes because user might have multiple products installed. however, wix not let me remove product folder.

<directory id="localappdatafolder">     <directory id="manufacturerdir" name="company">         <directory id="appdatadir" name="product">             <component id="appdata" guid="some_guid">                 <removefolder id="appdatadir" on="uninstall" />                 <registryvalue root="hkcu" key="software\company\product" type="string" value="" />             </component>         </directory>     </directory> </directory> 

the above snippet causes error, "lght0204 : ice64: directory company in user profile not listed in removefile table." obviously, don't want wipe data other products. several examples i've found 1 directory deep, i.e. not include intervening directory, in case company.

i feeling misunderstanding here. what? many thanks.

adding <removefolder id="removemanufacturerdir" directory="manufacturerdir" on="uninstall"/> should rid of error. folder removed if directory empty. if there other files in there, not removed.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -