Re: [WiX-users] How to force the .msi "run as Administrator"

2007-02-27 Thread Bob Arnson
Xin Liu (Person Consulting) wrote: How to extract the registration information? I heard there are some tools which can output a Wix include file containing the registration information. But regit.exe doesn't provide that functionality. Take a look at the tallow tool in WiX v2 or heat in Wi

Re: [WiX-users] How to force the .msi "run as Administrator"

2007-02-27 Thread Julien R.
Make sure all customs actions needing administration privileges are run deferred with the NoImpersonate bit set. You SHOULD NOT assume client side of your MSI is running with administration privileges, it is a critical design mistake. Actions needing administration privileges must be performed b

Re: [WiX-users] How to force the .msi "run as Administrator"

2007-02-26 Thread Xin Liu (Person Consulting)
11:31 AM To: Xin Liu (Person Consulting) Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to force the .msi "run as Administrator" Xin Liu (Person Consulting) wrote: Our .msi calls the regit.exe which comes from Visual Studio SDK 2005 during installation. It is defined i

Re: [WiX-users] How to force the .msi "run as Administrator"

2007-02-26 Thread Bob Arnson
Xin Liu (Person Consulting) wrote: Our .msi calls the regit.exe which comes from Visual Studio SDK 2005 during installation. It is defined in custom action. Regit.exe is not redistributable; you shouldn't be using it to register packages. Instead, extract the registration information and p

Re: [WiX-users] How to force the .msi "run as Administrator"

2007-02-26 Thread Xin Liu (Person Consulting)
AM To: Xin Liu (Person Consulting) Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to force the .msi "run as Administrator" Xin Liu (Person Consulting) wrote: We have a .msi file built from Wix toolset which calls one of the VS SDK tool. Please be more explicit. Which tool

Re: [WiX-users] How to force the .msi "run as Administrator"

2007-02-26 Thread Wilson, Phil
ebruary 26, 2007 5:48 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to force the .msi "run as Administrator" You need to make sure that your bootstrapper has one of the magical Vista strings within it like "setup" or "install". This will instan

Re: [WiX-users] How to force the .msi "run as Administrator"

2007-02-26 Thread Bob Arnson
Xin Liu (Person Consulting) wrote: We have a .msi file built from Wix toolset which calls one of the VS SDK tool. Please be more explicit. Which tool? As a custom action or a build-time tool? Can you show a code fragment? -- sig://boB http://bobs.org

Re: [WiX-users] How to force the .msi "run as Administrator"

2007-02-26 Thread Gareth at Serif
You need to make sure that your bootstrapper has one of the magical Vista strings within it like "setup" or "install". This will instantly elevate the priveledges within Vista unless it has a corresponding Manifest file telling it not to. I get the impression that you're calling the MSI file dir

[WiX-users] How to force the .msi "run as Administrator"

2007-02-26 Thread Xin Liu (Person Consulting)
We have a .msi file built from Wix toolset which calls one of the VS SDK tool. So if the .msi is ran in Vista, even if you are a member of Administrator group, it will failed. However, if run it "as Administrator" (Right click cmd.exe, choose "Run as Administrator", then call the .msi from the c