[wix-users] Execute a binary with administrator privileges.
Letty Lo Gon
letty95 at gmail.com
Tue Feb 19 09:21:12 PST 2019
Hi
An apology for the delay in answering, after a lot of research and debug, I
have a conclusion,
This is not a WIX problem, as you mentioned to me in the first email this
is a problem regarding to Windows, and there are several workarounds to
execute a binary as administrator.
Again, an apology for insist on this problem.
I appreciate the effort and the time invested in reading about my problem.
Kind regards
Leticia Lomeli
On Mon, Feb 11, 2019 at 3:45 PM Edwin Castro via wix-users <
wix-users at lists.wixtoolset.org> wrote:
> Adding wix-users again so that other can also answer.
>
> It seems the problem is that "Run as administrator" doesn't show up for
> your configuration tool in the context menu. Assuming your configuration
> tool has an .exe extension then I would expect Windows to already handle
> this automatically.
>
> It is interesting that your x86 and x64 installers appear to work
> differently. Are you testing both installers on the same test system? If
> not, then perhaps the x86 system is corrupted? Do you see "Run as
> administrator" for any other executable on your x86 system?
>
> --
> Edwin G. Castro
>
>
> On Mon, Feb 11, 2019 at 12:52 PM Letty Lo Gon <letty95 at gmail.com> wrote:
>
> > Hi,
> > Well to answer that I must say that the exe file embedded that is
> > installed, is a configuration tool that helps to interact to some
> devices.
> > The whole product is a driver, so this binary should be executed as
> > administrator, however, when I tried to do a right click on it, I don't
> see
> > the Administrator option.
> >
> > A little bit more information. I have to installers one for x86 and the
> > second one for x64, the installer for x64 allows me to execute the binary
> > as administrator. This binary is on a merge module, that is referenced on
> > the installer.
> > For the x86 installer, I have the same binary compiled for x86, in a
> > different merge module, and is referenced in the same way as I do in x64,
> > however, when the x86 installation is done, and I tried to execute this
> > binary as administrator, I don't see the option.
> > I already did some debugging on the installer and also in the merge
> > modules that contains this binary, and its pretty much the same
> properties
> > that I'm using in both architectures, but the result is different.
> >
> > Thanks for try to help me
> > Kind Regards
> > Leticia Lomeli
> >
> >
> > On Mon, Feb 11, 2019 at 2:04 PM Edwin Castro <egcastr at gmail.com> wrote:
> >
> >> I still think Rob's answer is correct if I am understanding what you're
> >> saying.
> >>
> >> Let's get the installer out of the way. What would you do manually to
> >> allow you to execute the files as administrator? What behavior do you
> >> expect? What behavior do you actually get?
> >>
> >> --
> >> Edwin G. Castro
> >>
> >>
> >> On Mon, Feb 11, 2019 at 11:05 AM Letty Lo Gon via wix-users <
> >> wix-users at lists.wixtoolset.org> wrote:
> >>
> >>> >
> >>> >
> >>> > Hi,
> >>> > Thanks in advance to take time to answer this question, I may not
> >>> explain
> >>> > myself in a good way. The setup.exe allows to be executed as an
> >>> > administrator and also as a normal user, but after the installation
> is
> >>> > done. Some files installed(exe Files embedded), allow me to execute
> >>> them as
> >>> > administrator, and other ones not, this is the reason why I think
> >>> could be
> >>> > a property that I can set up, or maybe the level indicated for each
> >>> > component that contains this files.
> >>> > After this information, do you think is something related to WIX or
> >>> should
> >>> > I search in Microsoft Information?
> >>> >
> >>>
> >>> Kind Regards
> >>> Leticia Lomeli
> >>>
> >>> ____________________________________________________________________
> >>> 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