I forgot to add that if the user is elevated then everything installs correctly.

Here's the log from a Windows XP machine:

[09A4:0D68][2011-11-01T12:40:52]: Burn v3.6.2214.0, path: C:\Documents and 
Settings\nonadminuser\Desktop\Appraisal.com-Setup.exe, cmdline: ''
[09A4:0D68][2011-11-01T12:40:52]: Setting string variable 'WixBundleName' to 
value 'Appraisal.com'
[09A4:0D68][2011-11-01T12:40:52]: Setting string variable 'WixBundleLog' to 
value 'C:\DOCUME~1\NONADM~1\LOCALS~1\Temp\Appraisal.com_20111101124052.log'
[09A4:0D68][2011-11-01T12:40:52]: Setting string variable 
'WixBundleOriginalSource' to value 'C:\Documents and 
Settings\nonadminuser\Desktop\Appraisal.com-Setup.exe'
[09A4:0D68][2011-11-01T12:40:52]: Detect 2 packages
[09A4:0D68][2011-11-01T12:40:52]: Setting string variable 
'DotNetFramework35SP1InstallRegValue' to value '1'
[09A4:0D68][2011-11-01T12:40:52]: Condition 
'DotNetFramework35SP1InstallRegValue=1' evaluates to true.
[09A4:0D68][2011-11-01T12:40:52]: Detected package: DotNet3.5SP1, state: 
Present, cached: No
[09A4:0D68][2011-11-01T12:40:52]: Detected package: AppraisalDotComInstall, 
state: Absent, cached: No
[09A4:0D68][2011-11-01T12:40:52]: Detect complete, result: 0x0
[09A4:0D68][2011-11-01T12:40:55]: Plan 2 packages, action: Install
[09A4:0D68][2011-11-01T12:40:55]: Planned package: DotNet3.5SP1, state: 
Present, default requested: Present, ux requested: Present, execute: None, 
rollback: None, cache: No, uncache: No, dependency: Register
[09A4:0D68][2011-11-01T12:40:55]: Setting string variable 
'WixBundleLog_AppraisalDotComInstall' to value 
'C:\DOCUME~1\NONADM~1\LOCALS~1\Temp\Appraisal.com_20111101124052_0_AppraisalDotComInstall.log'
[09A4:0D68][2011-11-01T12:40:55]: Setting string variable 
'WixBundleRollbackLog_AppraisalDotComInstall' to value 
'C:\DOCUME~1\NONADM~1\LOCALS~1\Temp\Appraisal.com_20111101124052_0_AppraisalDotComInstall_rollback.log'
[09A4:0D68][2011-11-01T12:40:55]: Planned package: AppraisalDotComInstall, 
state: Absent, default requested: Present, ux requested: Present, execute: 
Install, rollback: Uninstall, cache: Yes, uncache: Yes, dependency: Register
[09A4:0D68][2011-11-01T12:40:55]: Plan complete, result: 0x0
[09A4:0D68][2011-11-01T12:40:55]: Apply begin
[09A4:0D68][2011-11-01T12:40:55]: Caching executable from: 'C:\Documents and 
Settings\nonadminuser\Desktop\Appraisal.com-Setup.exe' to: 'C:\Documents and 
Settings\nonadminuser\Local Settings\Application Data\Package 
Cache\{a5270074-dc69-425d-b3ce-e930db2b859a}\Appraisal.com-Setup.exe'
[09A4:0D68][2011-11-01T12:40:55]: Registering bundle dependency key: 
{a5270074-dc69-425d-b3ce-e930db2b859a}, version 1.0.39.0
[0F08:0F24][2011-11-01T12:41:03]: Error 0x80070005: Failed to secure cache 
path: C:\Documents and Settings\All Users\Application Data\Package Cache\
[0F08:0F24][2011-11-01T12:41:03]: Error 0x80070005: Failed to secure cache 
directory: C:\Documents and Settings\All Users\Application Data\Package Cache\
[0F08:0F24][2011-11-01T12:41:03]: Error 0x80070005: Failed to get cached path 
for package with cache id: {3D36CEF8-4D38-4E2E-ACB6-4DC13EDE4FDD}v1.0.119
[0F08:0F24][2011-11-01T12:41:03]: Error 0x80070005: Failed to cache payload.
[09A4:0390][2011-11-01T12:41:03]: Failed to cache payload: 
AppraisalDotComInstall from working path: 
C:\DOCUME~1\NONADM~1\LOCALS~1\Temp\{a5270074-dc69-425d-b3ce-e930db2b859a}\AppraisalDotComInstall,
 error: 0x80070005.
[09A4:0390][2011-11-01T12:41:03]: Error 0x80070005: Failed to cache packages.
[09A4:0D68][2011-11-01T12:41:03]: Error 0x80070005: Failed while waiting for 
cache thread to complete before executing.
[09A4:0D68][2011-11-01T12:41:03]: Removing bundle dependency key: 
{a5270074-dc69-425d-b3ce-e930db2b859a}
[09A4:0D68][2011-11-01T12:41:03]: Removing cached bundle: 
{a5270074-dc69-425d-b3ce-e930db2b859a}, from path: C:\Documents and 
Settings\nonadminuser\Local Settings\Application Data\Package 
Cache\{a5270074-dc69-425d-b3ce-e930db2b859a}\
[09A4:0D68][2011-11-01T12:41:03]: Error 0x80070020: Failed to remove cached 
directory: C:\Documents and Settings\nonadminuser\Local Settings\Application 
Data\Package Cache\{a5270074-dc69-425d-b3ce-e930db2b859a}\
[09A4:0D68][2011-11-01T12:41:03]: Error 0x80070020: Failed to remove bundle id: 
{a5270074-dc69-425d-b3ce-e930db2b859a}.
[09A4:0D68][2011-11-01T12:41:03]: Error 0x80070020: Failed to remove bundle 
from cache.
[09A4:0D68][2011-11-01T12:41:03]: Error 0x80070020: Failed to end session in 
per-user process.
[09A4:0D68][2011-11-01T12:41:03]: Apply complete, result: 0x80070005 restart: No

-----Original Message-----
From: Rob Mensching [mailto:[email protected]] 
Sent: Tuesday, November 01, 2011 12:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Wix 3.6 Burn Bootstrapper Not Displaying Insufficient 
Privileges Message

Can you share the log?

On Tue, Nov 1, 2011 at 8:19 AM, Michael Hart <[email protected]> wrote:

> I have a bootstrapper that uses the RtfLicense BA and is installing an msi
> that requires the user to be elevated.  On Windows XP and Windows 7 (with
> UAC off) if the user is not elevated and tries to run the msi by itself a
> message box appears with the following message: "You do not have sufficient
> privileges to complete this installation for all users of this machine.
>  Log on as administrator and then retry this installation."  This is what I
> expect but when the bootstrapper runs the msi it fails and goes to the Fail
> screen of the RtfLicense BA without displaying the insufficient privileges
> message.  The msi being run has the  InstallPrivileges attribute set to
> elevated and the Install scope attribute set to perMachine.  I've tried
> setting the DisplayInternalUI attribute on the MsiPackage element to yes
> but that doesn't fix the issue.   Is there something else I need to set in
> the bootstrapper as well so this message is displayed.
>
> ------------------------------------------------------------------------------
> RSA&reg; Conference 2012
> Save &#36;700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
RSA&reg; Conference 2012
Save &#36;700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
RSA&reg; Conference 2012
Save &#36;700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to