Re: [WiX-users] Accessing Vista VirtualStore from CustomAction

2010-04-15 Thread Francesc Castells
Ok...I was afraid of that :) but it's good to know I should change direction. Many thanks for your help, Francesc On Thu, Apr 15, 2010 at 12:23 AM, Sascha Beaumont wrote: > Unfortunately, no. > > You're going to need to redesign your data migration process, possibly > requiring a manual step

Re: [WiX-users] Accessing Vista VirtualStore from CustomAction

2010-04-14 Thread Sascha Beaumont
Unfortunately, no. You're going to need to redesign your data migration process, possibly requiring a manual step or separate tool that runs pre or post install as the user. Sascha On Wed, Apr 14, 2010 at 11:02 PM, Francesc Castells wrote: > Thanks Sascha, > >From your comment, I studied wh

Re: [WiX-users] Accessing Vista VirtualStore from CustomAction

2010-04-14 Thread Francesc Castells
Thanks Sascha, >From your comment, I studied what is going on in the installer with the impersonation, etc...and you'll probably scream here, but the thing is: 1- The installer is "per machine" and updates a "per user" installation (this can't be changed) 2- It runs elevated, with admin rights, ot

Re: [WiX-users] Accessing Vista VirtualStore from CustomAction

2010-04-13 Thread Sascha Beaumont
Most likely your CA is running deferred and with elevated privileges, try setting CustomAction/@Impersonate="true" On Wed, Apr 14, 2010 at 12:53 AM, Francesc Castells wrote: > Hi, > I have an installer that upgrades an old program and imports the data. To do > that, it opens the old program's co

[WiX-users] Accessing Vista VirtualStore from CustomAction

2010-04-13 Thread Francesc Castells
Hi, I have an installer that upgrades an old program and imports the data. To do that, it opens the old program's config file and gets the path to the data files (an access .mdb file, for example). The problem is that most of the times the data was stored in Program Files, so Vista has created a vi