I believe so. Please test and report back (I'd like confirmation either way). > Date: Wed, 26 Jun 2013 02:11:19 +0530 > From: chentala.srini...@gmail.com > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Require admin rights to msp > > Hi, > > The actual requirement is > I have a msi which is having elevated rights(InstallPrivileges ="elevated", > Privileged Launched condition and digitally signed). > > And simply created the patch by following the Link: > http://wix.sourceforge.net/manual-wix2/patch_building.htm with out adding > signing or any additional things, This is working sucessfully in all > machine except the machines having UAC on. If we run the msp through > AdminCommandPrompt it works fine(executing Impersonate="yes" customactions) > on UAC-ON machine also. > > Signing the msp is the solution for this problem? > > Regards, > Srinivas. > > On Tue, Jun 25, 2013 at 11:24 PM, Blair Murri <os...@live.com> wrote: > > > Method #2 - apply from an elevated command prompt. > > > > I'm a little unclear about the requirement. If the MSI requires elevation, > > any applied MSP will prompt for elevation as needed and all > > non-impersonated in-script actions will run elevated (same as the MSI, > > adding an MSP doesn't change how that works). > > > > If the original MSI doesn't require elevation and the MSP introduces that > > requirement (due to some new thing its doing) then LUA patching won't > > accommodate that requirement. You really should use a major upgrade (and > > possibly a bootstrapper that gives you a working upgrade path) to replace > > that original MSI. > > > > Blair > > > > > From: jacob.hoo...@greenheck.com > > > To: wix-users@lists.sourceforge.net > > > Date: Tue, 25 Jun 2013 17:10:15 +0000 > > > Subject: Re: [WiX-users] Require admin rights to msp > > > > > > Digitally sign the original MSI, include the public cert in the > > MsiPatchCertificate table, and then sign the MSP with the same certificate. > > > > > > <PatchCertificates> > > > <DigitalCertificate Id="MyCompany" SourceFile="MyCompany.cer"/> > > > </PatchCertificates> > > > > > > And in the wixproj, > > > > > > <Target Name="SignCabs" DependsOnTargets="UsesSignTool"> > > > <Exec Command=""$(SignToolPath)" sign /t > > http://timestamp.digicert.com /a "%(SignCabs.FullPath)"" /> > > > </Target> > > > > > > <Target Name="SignMsi" DependsOnTargets="UsesSignTool"> > > > <Exec Command=""$(SignToolPath)" sign /d "My App > > Setup" /t http://timestamp.digicert.com /a > > "%(SignMsi.FullPath)"" /> > > > </Target> > > > > > > I use custom logic to detect the location of SignTool, but that should > > get you started. Note, group policy can still disable LUA patching. > > > > > > -----Original Message----- > > > From: chintala srinivas [mailto:chentala.srini...@gmail.com] > > > Sent: Tuesday, June 25, 2013 11:53 AM > > > To: General discussion for Windows Installer XML toolset. > > > Subject: [WiX-users] Require admin rights to msp > > > > > > Hi, > > > > > > I have a patch(.msp) file which will works fine only if it runs from > > administrative command prompt on UAC on machine. > > > Can anyone please let me know how to give admin privileges to .msp. > > > > > > Regards, > > > Srinivas. > > > > > ------------------------------------------------------------------------------ > > > This SF.net email is sponsored by Windows: > > > > > > Build for Windows Store. > > > > > > http://p.sf.net/sfu/windows-dev2dev > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > ------------------------------------------------------------------------------ > > > This SF.net email is sponsored by Windows: > > > > > > Build for Windows Store. > > > > > > http://p.sf.net/sfu/windows-dev2dev > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by Windows: > > > > Build for Windows Store. > > > > http://p.sf.net/sfu/windows-dev2dev > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows:
Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users