ICE30 and ICE38 are two quite different errors. ICE38 seems pertinent in this case so I will assume you are talking about this.
When deploying files to a users profile if the file is a keypath to the component the files fullpath will be written to the component's registry i.e. c:\users\%username%\appdata\xxx.xxx or more precisely c:\users\john\appdata\xxx.xxx as such during self healing it can get a little confused if your logged in as another user. particularly if that user doesnt have admin rights. By changing the keypath to an HKCU it ensures that it queries HKCU\software\<testlocation> to determine if the component needs to be installed. because of this the current %userprofile% path gets enumerated at heal time. where a keypath is an HKCU reg key it ensures these keys are dropped for all successive profiles after the installation occurs (using self healing). im not sure if this answers all your question or not, let me know if you need more input. Tony Juricic wrote: > > 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 > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://www.nabble.com/A-method-for-avoiding-ICE38-error-tp18517038p18521532.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users