The message is
"0x8007051b - This security ID maynot be assigned as the owner of this object."
Here's the log:
[12B8:12F8][2012-02-06T14:21:24]: Burn v3.6.2527.0, path: C:\Users\Peter
Hull\Documents\in2it System Software\Setup.exe, cmdline: ''
[12B8:12F8][2012-02-06T14:21:25]: Setting string variable 'WixBundleLog' to
value
'C:\Users\PETERH~1\AppData\Local\Temp\in2it_System_Software_20120206142125.log'
[12B8:12F8][2012-02-06T14:21:25]: Setting string variable 'WixBundleName' to
value '...'
[12B8:12F8][2012-02-06T14:21:25]: Setting string variable
'WixBundleOriginalSource' to value 'C:\Users\Peter Hull\Documents\...\Setup.exe'
[12B8:12F8][2012-02-06T14:21:25]: Detect 2 packages
[12B8:12F8][2012-02-06T14:21:25]: Detected package: setup32.msi, state: Absent,
cached: No
[12B8:12F8][2012-02-06T14:21:25]: Detected package: setup64.msi, state: Absent,
cached: No
[12B8:12F8][2012-02-06T14:21:25]: Detect complete, result: 0x0
[12B8:12F8][2012-02-06T14:21:29]: Plan 2 packages, action: Install
[12B8:12F8][2012-02-06T14:21:29]: Condition 'Not VersionNT64' evaluates to
false.
[12B8:12F8][2012-02-06T14:21:29]: Planned package: setup32.msi, state: Absent,
default requested: Absent, ba requested: Absent, execute: None, rollback: None,
cache: No, uncache: No, dependency: None
[12B8:12F8][2012-02-06T14:21:29]: Condition 'VersionNT64' evaluates to true.
[12B8:12F8][2012-02-06T14:21:29]: Setting string variable
'WixBundleLog_setup64.msi' to value
'C:\Users\PETERH~1\AppData\Local\Temp\..._20120206142125_0_setup64.msi.log'
[12B8:12F8][2012-02-06T14:21:29]: Setting string variable
'WixBundleRollbackLog_setup64.msi' to value
'C:\Users\PETERH~1\AppData\Local\Temp\..._20120206142125_0_setup64.msi_rollback.log'
[12B8:12F8][2012-02-06T14:21:29]: Planned package: setup64.msi, state: Absent,
default requested: Present, ba requested: Present, execute: Install, rollback:
Uninstall, cache: Yes, uncache: No, dependency: Register
[12B8:12F8][2012-02-06T14:21:29]: Plan complete, result: 0x0
[12B8:12F8][2012-02-06T14:21:29]: Apply begin
[04D4:0DC8][2012-02-06T14:21:35]: Error 0x8007051b: Failed to secure cache
path: C:\ProgramData\Package Cache\
[04D4:0DC8][2012-02-06T14:21:35]: Error 0x8007051b: Failed to secure cache
directory: C:\ProgramData\Package Cache\
[04D4:0DC8][2012-02-06T14:21:35]: Error 0x8007051b: Failed to create completed
cache path for bundle.
[04D4:0DC8][2012-02-06T14:21:35]: Error 0x8007051b: Failed to cache bundle from
path:
C:\Users\PETERH~1\AppData\Local\Temp\{a477d6ef-5c9f-4330-9058-8bb42e84fa85}\.be\Setup.exe
[04D4:0DC8][2012-02-06T14:21:35]: Error 0x8007051b: Failed to begin
registration session.
[12B8:12F8][2012-02-06T14:21:35]: Error 0x8007051b: Failed to begin
registration session in per-machine process.
[12B8:12F8][2012-02-06T14:21:35]: Error 0x8007051b: Failed to register bundle.
[12B8:12F8][2012-02-06T14:21:35]: Apply complete, result: 0x8007051b restart: No
> From: [email protected]
> To: [email protected]
> Date: Sat, 4 Feb 2012 09:36:09 +0000
> Subject: Re: [WiX-users] standard bootstapper and non-admin user
>
>
> I've got 2 MSIs, both with in their package element, and the bundle's wxs
> looks like this:
<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Bundle Version="..." Name="...">
<BootstrapperApplicationRef
Id="WixStandardBootstrapperApplicat\ion.RtfLicense" />
<WixVariable Id="WixStdbaLicenseRtf" Value="...." />
<WixVariable Id="WixStdbaLogo" Value="…" />
<Chain>
<MsiPackage SourceFile="obj\setup32.msi" Compressed="ye\s"
InstallCondition="Not VersionNT64" />
<MsiPackage SourceFile="obj\setup64.msi" Compressed="ye\s"
InstallCondition="VersionNT64" />
</Chain>
</Bundle>
</Wix>
> I haven't got access to the system right now but it's windows 7 64-bit
> enterprise and the user is not an admin. The error message is something about
> not being able to use the token (I will write down exactly what on Monday)
> Pete
> ----------------------------------------
> > From: [email protected]
> > Date: Fri, 3 Feb 2012 23:18:28 -0800
> > To: [email protected]
> > Subject: Re: [WiX-users] standard bootstapper and non-admin user
> >
> > How did you mark that your MSIs are per-machine? The best thing to use is
> > the Package/@InstallScope attribute. Burn should automatically prompt for
> > elevation if it determines your MSIs are per-machine.
> >
> > On Fri, Feb 3, 2012 at 12:21 AM, Peter Hull <[email protected]> wrote:
> >
> > >
> > > I've made an installer for 32- and 64-bit windows with separate MSIs,
> > > bundled with the standard BA
> > > (WixStandardBootstrapperApplication.RtfLicense). Both MSIs need admin
> > > privileges and are marked per-machine. If I run the installer as a
> > > non-admin user, the error message that the setup program gives is quite
> > > technical and (T believe) not all that helpful to the end user. Is there
> > > any way to make this message more friendly? In the MSI authoring I have
> > > been using something like <Condition Message="...">Privileged</Condition>.
> > > Is there an equivalent?
> > > Alternatively, would it make sense to mark the exe as
> > > requiresAdministrator in the manifest?
> > >
> > > Pete
> > >
> > >
> > >
> > > ------------------------------------------------------------------------------
> > > Try before you buy = See our experts in action!
> > > The most comprehensive online learning library for Microsoft developers
> > > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> > > Metro Style Apps, more. Free future releases when you subscribe now!
> > > http://p.sf.net/sfu/learndevnow-dev2
> > > _______________________________________________
> > > WiX-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> >
> >
> > --
> > virtually, Rob Mensching - http://RobMensching.com LLC
> > ------------------------------------------------------------------------------
> > Try before you buy = See our experts in action!
> > The most comprehensive online learning library for Microsoft developers
> > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> > Metro Style Apps, more. Free future releases when you subscribe now!
> > http://p.sf.net/sfu/learndevnow-dev2
> > _______________________________________________
> > WiX-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users