During installation I create some per-user folders in
Users\username\AppData\Roaming. Thus I get hit by ICE30 error.
I don't really understand why would creating folders under CU profile
cause problems for component un/installation in this particular case.
Anyhow, I solved the problem with a trick as follows:
<Directory Id="AppDataFolder" SourceName="Application Data">
<Directory Id="MYDATA_ROOT" Name="MYFolder">
<Component Id="MYDATA_ROOT" Guid="{some GUID}" >
<RegistryKey Action="none" Key="dummy" Root="HKCU" >
<RegistryValue Type="integer" Value="1" KeyPath="yes" />
</RegistryKey>
<CreateFolder />
<RemoveFolder Id="DeleteMYDATA_ROOT" Directory="MYDATA_ROOT"
On="uninstall" />
</Component>
</Directory>
</Directory>
I feel uneasy about this "solution" and would appreciate your comments.
In particular what, if anything, may go wrong creating CU profile
folders in this way.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users