Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no message shown when run bundle with not admin user in passive mode #4370

Closed
wixbot opened this issue Apr 1, 2014 · 6 comments
Closed

no message shown when run bundle with not admin user in passive mode #4370

wixbot opened this issue Apr 1, 2014 · 6 comments
Milestone

Comments

@wixbot
Copy link

wixbot commented Apr 1, 2014

Setup Failed with "Access is denied" error when run bundle with not admin user.
But no message is displayed when run it with not admin user in passive mode.

log:

[095C:15EC][2014-04-01T16:30:12]i001: Burn v3.8.1128.0, Windows v6.1 (Build 7600: Service Pack 0), path: C:\Users\olga15\AppData\Local\Temp\3\MyApp.Setup.exe, cmdline: '/install /passive /norestart'
[095C:15EC][2014-04-01T16:30:12]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\olga15\AppData\Local\Temp\MyApp_2.0.1.34_20140401163012.log'
[095C:15EC][2014-04-01T16:30:12]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\olga15\AppData\Local\Temp\3\MyApp.Setup.exe'
[095C:15EC][2014-04-01T16:30:12]i000: Setting string variable 'WixBundleName' to value 'MyApp 2.0.1.34'
[095C:15EC][2014-04-01T16:30:12]i100: Detect begin, 4 packages
[095C:15EC][2014-04-01T16:30:12]i102: Detected related bundle: {066c8eac-53c7-475c-8a3b-501510455017}, type: Upgrade, scope: PerMachine, version: 2.0.1022.0, operation: MajorUpgrade
[095C:15EC][2014-04-01T16:30:12]i103: Detected related package: {1C634410-9858-498A-9839-AFAA97773927}, scope: PerMachine, version: 2.0.1022.0, language: 0 operation: MajorUpgrade
[095C:15EC][2014-04-01T16:30:12]i103: Detected related package: {1C634410-9858-498A-9839-AFAA97773927}, scope: PerMachine, version: 2.0.1022.0, language: 0 operation: MajorUpgrade
[095C:15EC][2014-04-01T16:30:12]i101: Detected package: SSCERuntime_x86_ENU.msi, state: Present, cached: None
[095C:15EC][2014-04-01T16:30:12]i101: Detected package: SSCERuntime_x64_ENU.msi, state: Present, cached: None
[095C:15EC][2014-04-01T16:30:12]i101: Detected package: MyApp.Setup.x64.msi, state: Absent, cached: None
[095C:15EC][2014-04-01T16:30:12]i101: Detected package: MyApp.Setup.x86.msi, state: Absent, cached: None
[095C:15EC][2014-04-01T16:30:12]i199: Detect complete, result: 0x0
[095C:15EC][2014-04-01T16:30:12]i200: Plan begin, 4 packages, action: Install
[095C:15EC][2014-04-01T16:30:12]i052: Condition 'NOT WixBundleInstalled' evaluates to true.
[095C:15EC][2014-04-01T16:30:12]i052: Condition 'VersionNT64 AND NOT WixBundleInstalled' evaluates to true.
[095C:15EC][2014-04-01T16:30:12]i052: Condition 'VersionNT64' evaluates to true.
[095C:15EC][2014-04-01T16:30:12]i000: Setting string variable 'WixBundleRollbackLog_MyApp.Setup.x64.msi' to value 'C:\Users\olga15\AppData\Local\Temp\MyApp_2.0.1.34_20140401163012_0_MyApp.Setup.x64.msi_rollback.log'
[095C:15EC][2014-04-01T16:30:12]i000: Setting string variable 'WixBundleLog_MyApp.Setup.x64.msi' to value 'C:\Users\olga15\AppData\Local\Temp\MyApp_2.0.1.34_20140401163012_0_MyApp.Setup.x64.msi.log'
[095C:15EC][2014-04-01T16:30:12]i052: Condition 'NOT VersionNT64' evaluates to false.
[095C:15EC][2014-04-01T16:30:12]i201: Planned package: SSCERuntime_x86_ENU.msi, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: Register
[095C:15EC][2014-04-01T16:30:12]i201: Planned package: SSCERuntime_x64_ENU.msi, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: Register
[095C:15EC][2014-04-01T16:30:12]i201: Planned package: MyApp.Setup.x64.msi, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[095C:15EC][2014-04-01T16:30:12]i201: Planned package: MyApp.Setup.x86.msi, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[095C:15EC][2014-04-01T16:30:12]i207: Planned related bundle: {066c8eac-53c7-475c-8a3b-501510455017}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None
[095C:15EC][2014-04-01T16:30:12]i299: Plan complete, result: 0x0
[095C:15EC][2014-04-01T16:30:12]i300: Apply begin
[0B5C:1164][2014-04-01T16:30:12]w308: Automatic updates could not be paused due to error: 0x80070005. Continuing...
[0B5C:1164][2014-04-01T16:30:12]i360: Creating a system restore point.
[0B5C:1164][2014-04-01T16:30:12]i362: System restore disabled, system restore point not created.
[0B5C:1164][2014-04-01T16:30:18]e000: Error 0x80070005: Failed to secure cache path: C:\ProgramData\Package Cache\
[0B5C:1164][2014-04-01T16:30:18]e000: Error 0x80070005: Failed to secure cache directory: C:\ProgramData\Package Cache\
[0B5C:1164][2014-04-01T16:30:18]e000: Error 0x80070005: Failed to create completed cache path for bundle.
[0B5C:1164][2014-04-01T16:30:18]e000: Error 0x80070005: Failed to cache bundle from path: C:\Users\olga15\AppData\Local\Temp\3\{7ccbadf2-c252-4ec2-8ba4-d6159151c74f}\.be\MyApp.Setup.exe
[0B5C:1164][2014-04-01T16:30:18]e000: Error 0x80070005: Failed to begin registration session.
[095C:15EC][2014-04-01T16:30:18]e000: Error 0x80070005: Failed to begin registration session in per-machine process.
[095C:15EC][2014-04-01T16:30:18]e000: Error 0x80070005: Failed to register bundle.
[095C:15EC][2014-04-01T16:30:18]i399: Apply complete, result: 0x80070005, restart: None, ba requested restart:  No
[095C:15EC][2014-04-01T16:30:18]i500: Shutting down, exit code: 0x5
[095C:15EC][2014-04-01T16:30:18]i410: Variable: VersionNT64 = 6.1.0.0
[095C:15EC][2014-04-01T16:30:18]i410: Variable: WixBundleAction = 4
[095C:15EC][2014-04-01T16:30:18]i410: Variable: WixBundleElevated = 1
[095C:15EC][2014-04-01T16:30:18]i410: Variable: WixBundleInstalled = 0
[095C:15EC][2014-04-01T16:30:18]i410: Variable: WixBundleLog = C:\Users\olga15\AppData\Local\Temp\MyApp_2.0.1.34_20140401163012.log
[095C:15EC][2014-04-01T16:30:18]i410: Variable: WixBundleLog_MyApp.Setup.x64.msi = C:\Users\olga15\AppData\Local\Temp\MyApp_2.0.1.34_20140401163012_0_MyApp.Setup.x64.msi.log
[095C:15EC][2014-04-01T16:30:18]i410: Variable: WixBundleManufacturer = Olga
[095C:15EC][2014-04-01T16:30:18]i410: Variable: WixBundleName = MyApp 2.0.1.34
[095C:15EC][2014-04-01T16:30:18]i410: Variable: WixBundleOriginalSource = C:\Users\olga15\AppData\Local\Temp\3\MyApp.Setup.exe
[095C:15EC][2014-04-01T16:30:18]i410: Variable: WixBundleProviderKey = {7ccbadf2-c252-4ec2-8ba4-d6159151c74f}
[095C:15EC][2014-04-01T16:30:18]i410: Variable: WixBundleRollbackLog_MyApp.Setup.x64.msi = C:\Users\olga15\AppData\Local\Temp\MyApp_2.0.1.34_20140401163012_0_MyApp.Setup.x64.msi_rollback.log
[095C:15EC][2014-04-01T16:30:18]i410: Variable: WixBundleTag = 
[095C:15EC][2014-04-01T16:30:18]i410: Variable: WixBundleVersion = 2.0.1034.0
[095C:15EC][2014-04-01T16:30:19]i007: Exit code: 0x5, restarting: No

Originally opened by olgad

@wixbot
Copy link
Author

wixbot commented Apr 1, 2014

You can do this today with bal:Condition using the Priveleged variable.

Originally posted by barnson

@wixbot
Copy link
Author

wixbot commented Apr 2, 2014

MSI doesn't show any messages during passive mode, so why should bundles?

Originally posted by rseanhall

@wixbot
Copy link
Author

wixbot commented Apr 3, 2014

I think you are not correct, you are mixing /passive with /quiet
If you run MSI with /qr – it will show the error.
What I want to see is the error message when running bundle with /passive by user that has no permissions to run.

Originally posted by olgad

@wixbot
Copy link
Author

wixbot commented Apr 3, 2014

We have an existing bug for the Burn engine to "fail fast" when it can't elevate. When in passive mode, the UI cannot block, so there's no opportunity to show an error message.

@wixbot
Copy link
Author

wixbot commented Aug 14, 2014

Resolution set to related
Status changed from Open to Resolved

@wixbot wixbot added this to the v3.8 milestone Dec 20, 2015
@wixbot wixbot closed this as completed Dec 20, 2015
@rprashanth1986
Copy link

I was just trying to install WIX tool set using app exe, ended up with same error as above , Am not sure on where to use the Bal conidtion .
[228C:250C][2016-04-26T11:52:47]: Error 0x80070005: Failed to secure cache path: C:\ProgramData\Package Cache
[228C:250C][2016-04-26T11:52:47]: Error 0x80070005: Failed to secure cache directory: C:\ProgramData\Package Cache
[228C:250C][2016-04-26T11:52:47]: Error 0x80070005: Failed to create completed cache path for bundle.
[228C:250C][2016-04-26T11:52:47]: Error 0x80070005: Failed to cache bundle from path: C:\Users\v736860\AppData\Local\Temp{b231fcb6-e021-42f1-a485-f298f7b0b978}.be\WiX36.exe
[228C:250C][2016-04-26T11:52:47]: Error 0x80070005: Failed to begin registration session.
[2454:2688][2016-04-26T11:52:47]: Error 0x80070005: Failed to begin registration session in per-machine process.
[2454:2688][2016-04-26T11:52:47]: Error 0x80070005: Failed to register bundle.

Can you pls help me on how to sovle this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants