[wix-users] Unable to Install/uninstall the Bundle as Normal User

Srinivas srinivasmsis at gmail.com
Mon Jan 22 21:52:31 PST 2018


Hi,

I have a bundle burn.wxs which has only 1 element(test.msi) in the chain
I need to install test.msi on per user basis. So i set InstallScope to
perUser.
When i install test.msi individually, it is installing and uninstalling
without issues and the entry is available in controlpanel only for that
user.

When i install the bundle as a normal user. Am getting installation failed.
Installation is forbidden by system policy.

Please find the attached Bundle Log

I need to install the bundle as normal user. How do i install it ?
When i execute the bundle by Right Click and Run as Administrator. It is
installing, but am unable to uninstall the bundle from ControlPanel

*Note* : I cannot set ForcePerMachine either at the bundle or at the msi,
because the installation is per user basis.

*Thanks*
*Srinivas*
-------------- next part --------------
[13E4:1204][2018-01-22T21:48:29]i001: Burn v3.11.1.2318, Windows v6.3 (Build 9600: Service Pack 0), path: C:\Users\iviadmin\AppData\Local\Temp\2\{AE374F0C-B2ED-424A-B49A-77C09FAD6CDA}\.cr\burn.exe
[13E4:1204][2018-01-22T21:48:29]i009: Command Line: '-burn.clean.room=D:\source\MSI\Burn\burn.exe -burn.filehandle.attached=316 -burn.filehandle.self=324'
[13E4:1204][2018-01-22T21:48:29]i000: Setting string variable 'WixBundleOriginalSource' to value 'D:\source\MSI\Burn\burn.exe'
[13E4:1204][2018-01-22T21:48:29]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'D:\source\MSI\Burn\'
[13E4:1204][2018-01-22T21:48:29]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\iviadmin\AppData\Local\Temp\Bundle_20180122214829.log'
[13E4:1204][2018-01-22T21:48:29]i000: Setting string variable 'WixBundleName' to value 'Bundle'
[13E4:1204][2018-01-22T21:48:29]i000: Setting string variable 'WixBundleManufacturer' to value 'Telecom'
[13E4:0FAC][2018-01-22T21:48:29]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[13E4:0FAC][2018-01-22T21:48:29]i000: Setting version variable 'WixBundleFileVersion' to value '1.0.3.0'
[13E4:1204][2018-01-22T21:48:29]i100: Detect begin, 1 packages
[13E4:1204][2018-01-22T21:48:29]i101: Detected package: pack1, state: Absent, cached: None
[13E4:1204][2018-01-22T21:48:29]i199: Detect complete, result: 0x0
[13E4:0FAC][2018-01-22T21:48:31]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
[13E4:1204][2018-01-22T21:48:31]i200: Plan begin, 1 packages, action: Install
[13E4:1204][2018-01-22T21:48:31]i000: Setting string variable 'WixBundleRollbackLog_pack1' to value 'C:\Users\iviadmin\AppData\Local\Temp\Bundle_20180122214829_000_pack1_rollback.log'
[13E4:1204][2018-01-22T21:48:31]i000: Setting string variable 'WixBundleLog_pack1' to value 'C:\Users\iviadmin\AppData\Local\Temp\Bundle_20180122214829_000_pack1.log'
[13E4:1204][2018-01-22T21:48:31]i201: Planned package: pack1, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[13E4:1204][2018-01-22T21:48:31]i299: Plan complete, result: 0x0
[13E4:1204][2018-01-22T21:48:31]i300: Apply begin
[13E4:1204][2018-01-22T21:48:31]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{432458f4-a1de-472e-b249-efa49efb3252}, options: 0x7, disable resume: No
[13E4:1204][2018-01-22T21:48:31]i000: Caching bundle from: 'C:\Users\iviadmin\AppData\Local\Temp\2\{E98D01FE-E6EF-45D6-89EE-99837468A08A}\.be\burn.exe' to: 'C:\Users\iviadmin\AppData\Local\Package Cache\{432458f4-a1de-472e-b249-efa49efb3252}\burn.exe'
[13E4:1204][2018-01-22T21:48:31]i320: Registering bundle dependency provider: {432458f4-a1de-472e-b249-efa49efb3252}, version: 1.0.3.0
[13E4:1204][2018-01-22T21:48:31]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{432458f4-a1de-472e-b249-efa49efb3252}, resume: Active, restart initiated: No, disable resume: No
[13E4:0FC4][2018-01-22T21:48:31]i305: Verified acquired payload: pack1 at path: C:\Users\iviadmin\AppData\Local\Package Cache\.unverified\pack1, moving to: C:\Users\iviadmin\AppData\Local\Package Cache\{F9667DBC-B233-4721-9A87-2DBB059B606F}v1.0.1\test.msi.
[13E4:1204][2018-01-22T21:48:31]i323: Registering package dependency provider: {F9667DBC-B233-4721-9A87-2DBB059B606F}, version: 1.0.1, package: pack1
[13E4:1204][2018-01-22T21:48:31]i301: Applying execute package: pack1, action: Install, path: C:\Users\iviadmin\AppData\Local\Package Cache\{F9667DBC-B233-4721-9A87-2DBB059B606F}v1.0.1\test.msi, arguments: ' MSIFASTINSTALL="7"'
[13E4:1204][2018-01-22T21:48:31]e000: Error 0x80070659: Failed to install MSI package.
[13E4:1204][2018-01-22T21:48:31]e000: Error 0x80070659: Failed to configure per-user MSI package.
[13E4:1204][2018-01-22T21:48:31]i319: Applied execute package: pack1, result: 0x80070659, restart: None
[13E4:1204][2018-01-22T21:48:31]e000: Error 0x80070659: Failed to execute MSI package.
[13E4:1204][2018-01-22T21:48:31]i318: Skipped rollback of package: pack1, action: Uninstall, already: Absent
[13E4:1204][2018-01-22T21:48:31]i319: Applied rollback package: pack1, result: 0x0, restart: None
[13E4:1204][2018-01-22T21:48:31]i329: Removed package dependency provider: {F9667DBC-B233-4721-9A87-2DBB059B606F}, package: pack1
[13E4:1204][2018-01-22T21:48:31]i351: Removing cached package: pack1, from path: C:\Users\iviadmin\AppData\Local\Package Cache\{F9667DBC-B233-4721-9A87-2DBB059B606F}v1.0.1\
[13E4:1204][2018-01-22T21:48:31]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{432458f4-a1de-472e-b249-efa49efb3252}, resume: None, restart: None, disable resume: No
[13E4:1204][2018-01-22T21:48:31]i330: Removed bundle dependency provider: {432458f4-a1de-472e-b249-efa49efb3252}
[13E4:1204][2018-01-22T21:48:31]i352: Removing cached bundle: {432458f4-a1de-472e-b249-efa49efb3252}, from path: C:\Users\iviadmin\AppData\Local\Package Cache\{432458f4-a1de-472e-b249-efa49efb3252}\
[13E4:1204][2018-01-22T21:48:31]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{432458f4-a1de-472e-b249-efa49efb3252}, resume: None, restart initiated: No, disable resume: No
[13E4:1204][2018-01-22T21:48:31]i399: Apply complete, result: 0x80070659, restart: None, ba requested restart:  No


More information about the wix-users mailing list