Re: [WiX-users] A method for avoiding ICE38 error

2008-07-18 Thread Tony Juricic
Yes, writing ICE30 instead of ICE38 was a typo. Example with the current
%userprofile% path that gets enumerated at heal time answers my
question, thanks.

Writing  wouldn't
cause key not to be written on install, as I thought. Clearly to be used
as a keypath, something has to be written to the Registry. Thus, it made
sense for me to create a 'normal' Registry key (i.e. with company name,
product name etc. in key path) and use it for component registry.  
 

-Original Message-
From: jmcfadyen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 17, 2008 10:30 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] A method for avoiding ICE38 error


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\ 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:
> 
>   
> 
> 
>   
> 
>   
> 
> 
>  On="uninstall" />
>   
> 
>  
>
> 
> 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-tp18517038p18521
532.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


Re: [WiX-users] A method for avoiding ICE38 error

2008-07-17 Thread jmcfadyen

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\ 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:
> 
>   
> 
> 
>   
> 
>   
> 
> 
>  On="uninstall" />
>   
> 
>  
>
> 
> 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


[WiX-users] A method for avoiding ICE38 error

2008-07-17 Thread Tony Juricic
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:

  


  

  



  

 
   

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