My first thought is that it's REALLY bad (actually, another word comes to 
mind...) to be actually installing a file into %TEMP%. That directory, by 
nature, is for temporary files. A file installed by MSI is not temporary. 
(plus, as was pointed out, you're installing a per-machine file into a per-user 
area. I'm surprised your MSI passed validation)

Dave




----- Original Message -----
> From: Uni Gauldoth <unigauld...@gmail.com>
> To: General discussion about the WiX toolset. 
> <wix-users@lists.sourceforge.net>
> Cc: 
> Sent: Wednesday, May 7, 2014 6:57 AM
> Subject: Re: [WiX-users] [SPAM] Re: Strange behavior about the TempFolder     
> Directory.
> 
> I've found what caused this problem.
> 
> The user installed the product under the "Administrator" account.
> After installation, the "Administrator" account was deleted.
> The user then repair the product under another account named "Admin".
> But when repairing the "MyDir" still point to 
> "C:\Users\ADMINI~1\AppData\
> Local\Temp\mydir\".
> 
> Uni
> 
> 
> 
> On Sat, May 3, 2014 at 12:02 AM, Uni Gauldoth <unigauld...@gmail.com> 
> wrote:
> 
>>  Thanks very much.
>> 
>>  I did have a per-machine install.
>>  I uninstalled my package and reinstalled it, and the problem disappeared
>>  magically.
>>  I will try to put those files under a Per Machine folder to avoid this
>>  kind of pain.
>> 
>> 
>>  On Fri, May 2, 2014 at 4:13 AM, Phill Hogland <phogl...@rimage.com> 
> wrote:
>> 
>>>  It sounds like you have a per-machine setup and you are trying to 
> access a
>>>  per-user area (or if per-user trying to access a different users area).
>>>   The
>>>  TempFolder is per-user.
>>> 
>>> 
> http://msdn.microsoft.com/en-us/library/windows/desktop/dd765197(v=vs.85).aspx
>>> 
>>>  And in some situations the TempFolder changes for the same user between
>>>  login sessions.
>>>  http://msdn.microsoft.com/en-us/library/aa372067(v=vs.85).aspx
>>> 
>>> 

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to