[wix-users] UAC Admin permisions

Ronny Eriksson ronny.eriksson at optimity.se
Thu Mar 10 16:28:49 PST 2016


So if I understand you correctly Rob, there is no way to elevate a MSI package from the start, it will only elevate at Installation process is needed, as you said before, and there is no way to just read what Sites and AppPools is created in IIS without admin rights.

I'm stuck here... pure pain... ;)

So no way to solve this the easy way?
Except for demanding that the user that is doing the installation as a full local admin to be able to install?

I'm not an advanced programmer, and I'm "just" trying to do an installation package for our web application and I HAVE to have it as a msi, per customers demand.

Ronny Eriksson

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Rob Mensching
Sent: den 11 mars 2016 00:48
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] UAC Admin permisions
Importance: Low

To be very clear, IIS really messed up here. They are the first Microsoft API I've hit where simple read requires elevation. I've threatened a couple different invasive solutions to the problem but never spent the cycles to implement any of them.

tl;dr Interacting with IIS will have a subpar experience because to IIS made a poor design decision.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Ronny Eriksson
Sent: Thursday, March 10, 2016 3:43 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] UAC Admin permisions

Well to answer Kaveesh question, no i have not.
But I would like to find a way to just find the Sites and AppPools in the IIS without having to use the ServerManager object since you need to be admin to do the connection.
Unfortunaly, Phil, just retrieving data from that object requires Admin...

So firstly I'm looking for another way to solve it.
If not I might have to look in to doing something like u say.

Ronny Eriksson

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



More information about the wix-users mailing list