[wix-users] Hand over an action to wix bundle elevated process

Hoover, Jacob Jacob.Hoover at greenheck.com
Thu May 4 12:58:56 PDT 2017


I would assume that means your BA elevates twice.  Once from your Daemon during Detect, and once when the user hits install? 

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of John Cooper
Sent: Thursday, May 04, 2017 2:33 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Hand over an action to wix bundle elevated process

To elevate during Detect, I wrote a daemon process specifically for interrogating IIS communicating with the main bundle via net.pipe and serializing the data using JSON.  Works pretty well while UAC is enabled or the installing user is a true Administrator.  Can get iffy in other scenarios.

--
John Merryweather Cooper
Senior Software Engineer -- Integration Development Group -- Enterprise Notification Service Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Office:  913-341-3434x431050 JoCooper at jackhenry.com




-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Hoover, Jacob
Sent: Thursday, May 4, 2017 2:24 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Hand over an action to wix bundle elevated process

The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.

The problem is that the BA doesn't elevate until Apply is called. And apply just executes the plan.

What you really are asking for is an ability to elevate during detect, in order to make better decisions during plan. This may be a worth wile feature, but the BA currently doesn't support this from my recollection.

P.S. This is really a fault of IIS where it doesn't allow read access to the configuration from a non-elevated user.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Ireneusz Grala
Sent: Thursday, May 04, 2017 1:24 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Hand over an action to wix bundle elevated process

Hello, to everyone!

I know that during installation burn engine creates UI-less process with elevated priviliges. I also know it can be created earlier by calling Engine.Elevate method. Is there a way to communicate with this process and invoke an action that requires elevated user rights? I would like to discover in bootstrapper what is the current website configuration in IIS.

The whole thing is about updating my version one app but preserving any changes that customer could make to website binding.

Hope this is clear enough.

Thanks for any advice.

--
Z poważaniem / Best regards

Ireneusz Grala

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list