Thank you your solution works. My problem is solved
-- Daniel DA COSTA Service Informatique 53, rue La Fayette 75009 Paris Tél : 01 78 09 82 52 _______________________________________________________________________________________________________________________________________________________________________________________________ Ce message est exclusivement destiné aux personnes dont le nom figure ci-dessus. Il peut contenir des informations confidentielles dont la divulgation est à ce titre rigoureusement interdite. Dans l'hypothèse où vous auriez reçu ce message par erreur, merci de le renvoyer à l'adresse e-mail ci-dessus. This message is intended for the above-mentioned addresses only. It may contain confidential information the review, dissemination or disclosure of which is strictly prohibited. Should you receive this message in error, please return it to the e-mail address indicated above. Le mercredi 23 mai 2012 à 17:31 +0100, Peter Shirtcliffe a écrit : > Remove the registrysearch and add > > <SetDirectory Id="HOMEPATH" Value="[%HOMEDRIVE][%HOMEPATH]" /> > > -----Original Message----- > From: Daniel DA COSTA [mailto:d.daco...@eca-assurances.com] > Sent: 23 May 2012 16:21 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Question : Copy file to current user folder > > Hi, > > I need to copy files from the current directory of the user. > I use the registrySearch to get the variable environement HOMEPATH > > <Property Id="HOMEPATH"> > <RegistrySearch Id="HomePathRegistrySearch" > Type="raw" Root="HKCU" > Key="Volatile Environment" Name="HOMEPATH" /> </Property> <Directory > Id="HOMEPATH"> > .... > <File .../> > </Directory> > > But when i excute the .msi, i have this message "Could not access network > \Documents and Settings\ddacosta" > > Or come to this error and how I can solve it. > > > Thank you in advance for the help you can provide me. > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users