Hello Rob,
My guess is that running the MSI from an elevated bootstrapper (not 
burn) causes the issue. I now use <Util:PermissionEx> to force the 
folders to be writeable for "Users". Probably a better approach than 
relying on the installing user.
Theo
Op 23-4-2013 1:24, Rob Mensching schreef:
> Did you ever get this sorted out?
>
>
> On Tue, Apr 9, 2013 at 5:57 AM, Theo Landman <tland...@justcroft.com> wrote:
>
>> Hello,
>> I'm confused about how Impersonate works. I want to run a console
>> migration executable using the WiX CAQuitExec. The migration executable
>> copies files from a previous version of the product to a new version of
>> the product.
>> I want to run it as the installing user so I assumed that I should
>> specify Impersonate='yes'.
>> See this code snippet (using WiX 3.7):
>>         <CustomAction Id='SilentMigrate50Settings_Cmd'
>> Property="SilentMigrate50Settings"
>>            Value="&quot;[#conv50to51.exe]&quot; /auto" Execute="immediate"
>>         />
>>         <CustomAction Id="SilentMigrate50Settings"
>>            BinaryKey="WixCA" DllEntry="CAQuietExec"
>>            Impersonate='yes' HideTarget='no'
>>            Execute='commit' Return='ignore'
>>         />
>>
>>         <InstallExecuteSequence>
>>            <Custom Action='SilentMigrate50Settings' After='DuplicateFiles'>
>>               NOT Installed
>>            </Custom>
>>         </InstallExecuteSequence>
>> However, the effect seems to be that the tool is called as the Installer
>> process. The end effect is that the files are copied by the migration
>> tool, but without the rights of the installing user in effect making the
>> copied files read-only.
>> Any hints are tips are appreciated.
>> Theo
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Precog is a next-generation analytics platform capable of advanced
>> analytics on semi-structured data. The platform includes APIs for building
>> apps and a phenomenal toolset for data science. Developers can use
>> our toolset for easy data analysis & visualization. Get a free account!
>> http://www2.precog.com/precogplatform/slashdotnewsletter
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

-- 

    Equo ne credite, Teucri! Quidquid id est, timeo Danaos et dona
    ferentis. 


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to