Thanks for the pointer.

Managed to get the following to do it.

 <Property Id="PROFILE">
   <RegistrySearch Id='ProfileDirSearch' Type='directory'
        Root='HKLM' Key='SOFTWARE\Microsoft\Windows 
NT\CurrentVersion\ProfileList\[UserSID]' Name='ProfileImagePath' />
  </Property> 

  <Directory Id="PROFILE" Name="PROFILE">
    ...
  </Directory>

/James

> -----Original Message-----
> From: Sébastien Mouren [mailto:[EMAIL PROTECTED] 
> Sent: 23 October 2008 15:02
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing into ProfileDIR
> 
> 2008/10/23 Nord, James <[EMAIL PROTECTED]>:
> > Hi all,
> >
> > I have a need to install to a folder under the users profile (not 
> > appdata or any common folder - just right in %USERPROFILE%) [I know 
> > this is a bad thing to do but I have no option]
> >
> > I can't find a way to be able to do this and I need to have the 
> > installer needs to be locale aware.
> >
> > How can I do that with WIX - unfortunatly the property is not 
> > available to WIX.
> >
> > Regards,
> >
> Registry search for shell folders inside HKCU, but this is ugly.
> 
> >    /James
> >
> 
> --------------------------------------------------------------
> -----------
> 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
> 

*********************************************************************************************************
This e-mail is confidential, the property of NDS Ltd and intended for the 
addressee only.  Any dissemination, copying or distribution of this message or 
any attachments by anyone other than the intended recipient is strictly 
prohibited.  If you have received this message in error, please immediately 
notify the [EMAIL PROTECTED] and destroy the original message.  Messages sent 
to and from NDS may be monitored.  NDS cannot guarantee any message delivery 
method is secure or error-free.  Information could be intercepted, corrupted, 
lost, destroyed, arrive late or incomplete, or contain viruses.  We do not 
accept responsibility for any errors or omissions in this message and/or 
attachment that arise as a result of transmission.  You should carry out your 
own virus checks before opening any attachment.  Any views or opinions 
presented are solely those of the author and do not necessarily represent those 
of NDS.

To protect the environment please do not print this e-mail unless necessary.

NDS Limited Registered office: One Heathrow Boulevard, 286 Bath Road, West 
Drayton, Middlesex, UB7 0DQ, United Kingdom. A company registered in England 
and Wales  Registered no. 3080780   VAT no. GB 603 8808 40-00
**********************************************************************************************************


-------------------------------------------------------------------------
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

Reply via email to