@Jeremiah: Yes I read pretty much everything on RestartManager that there
is to find, but I don't even have any custom restart manager code. I am
using my own MBA, but the RestartManager stuff is handled by WiX, I only
respond to the file in use notification. However, when the RestartManager
fails to open the session, I don't get the ExecuteFilesInUse event at all,
I only end up with Info 1603 messages in the log.

@Phill: Thanks for the info, but it's all in the same user context, and the
installer works fine everywhere else including other Win 7 machines, it
just fails on this one particular machine and I can't figure out why.


On Fri, Feb 13, 2015 at 5:30 AM, Phill Hogland <phogl...@rimage.com> wrote:

> Prior to 3.10.0.1403 (?) if an app is running in a different user context
> than the setup, (i.e. app running under LocalServices) then the wix
> RestartManager code in src\libs\dutil\rmutil.cpp (::RmuAddProcessById)
> failed, which resulted in the setup doing a rollback, because
> OpenProcessToken did not have the appropriate privileges.   See Wix bug
> 4592
> and devs discussion  here
> <
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/4592-RestartResource-solution-and-review-td7598149i20.html
> >
> .  From your description I don't know if this is related to your situation.
>
> In 3.10.0 if the setup is elevated, then the appropriate privilege is added
> so that the OpenProcessToken is successful.  However if the setup is not
> elevated, and if OpenProcessToken fails (the instance of the application is
> in a different user context), then the attempt to register that instance is
> skipped (so that the setup does not fail).  Calls to use the Restart
> Manager
> are 'best effort'.
>
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Restart-Manager-failed-to-open-session-tp7599199p7599205.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to