[wix-users] Admin Privs

Charles Gallo [9Dots Management] CGallo at ixdots.com
Tue Feb 7 09:59:50 PST 2017


OK - I'll look at this.  This all has to do with an excel Ribbon

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Justin Cox
Sent: Tuesday, February 07, 2017 12:52 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Admin Privs

You need to make sure running it inside InstallExecuteSequence with execute="deferred" and impersonate="no"

On Tue, Feb 7, 2017 at 9:50 AM John Cooper <JoCooper at jackhenry.com> wrote:

> InstallUtil.exe is evil.  Handling rollback, repair, and un-install 
> are not fun with it.
>
> See the ServiceInstall and ServiceControl elements.  I use them quite 
> a bit and I have several Windows Service among they various projects I 
> support.
>
> --
> John Merryweather Cooper
> Senior Software Engineer -- Integration Development Group -- 
> Enterprise Notification Service Jack Henry & Associates, Inc.® | 
> Lenexa, KS  66214 | Office:
> 913-341-3434x431050 <(913)%20341-3434> JoCooper at jackhenry.com
>
>
>
>
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On 
> Behalf Of Charles Gallo [9Dots Management]
> Sent: Tuesday, February 7, 2017 11:45 AM
> To: WiX Mailing List (wix-users at lists.wixtoolset.org) < 
> wix-users at lists.wixtoolset.org>
> Subject: [wix-users] Admin Privs
>
> The e-mail below is from an external source.  Please do not open 
> attachments or click links from an unknown or suspicious origin.
>
> Hi Guys and Gals,
>
> OK, I'm having an interesting issue -
>
> I have an installer that DOES have
>
> InstallPrivileges="elevated"
>
> And yes, I get the shield, and the request for Privileges (and the log 
> shows that it happening)
>
> The issue I have is that the installer also calls InstallUtil.exe 
> (from the .Net dir) in a custom action
>
> (Note:  I'm translating this from Installshield), and THIS is not 
> getting called with Admin Privs so it is failing, unless I run from a 
> command window that has higher privs
>
> Now, I'm going to guess that there is some "better" way than calling 
> InstallUtil, or there is some way to call it elevated
>
> Help?
>
> Charlie
>
>
>
>
>
>
> ____________________________________________________________________
> 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/
>

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


More information about the wix-users mailing list