[wix-users] ARP Bundle Repair Failure

Hoover, Jacob Jacob.Hoover at greenheck.com
Mon Jul 29 07:58:56 PDT 2019


http://errco.de/win32/winerror-h/error_file_not_found/0x80070002/

\\aklcolins\Source\trunk\Installers\Packages\IPFX Clients.exe

1) Why do you care if ran from ARP or manually ran?
2) A bundle will only use the original bundle for a source.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Colin Sim via wix-users
Sent: Friday, July 26, 2019 4:03 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Colin Sim <Colin.Sim at ipfx.com>
Subject: Re: [wix-users] ARP Bundle Repair Failure

Below is the full log:

[0174:0834][2019-07-26T23:25:59]i001: Burn v3.11.1.2318, Windows v6.3 (Build 9600: Service Pack 0), path: C:\ProgramData\Package Cache\{0399c158-7e8e-40c9-b28c-132eccfccb09}\IPFX Clients.exe
[0174:0834][2019-07-26T23:25:59]i009: Command Line: '"-burn.clean.room=C:\ProgramData\Package Cache\{0399c158-7e8e-40c9-b28c-132eccfccb09}\IPFX Clients.exe" -burn.filehandle.attached=288 -burn.filehandle.self=296 /modify'
[0174:0834][2019-07-26T23:26:00]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\Admin\AppData\Local\Temp\IPFX_Clients_20190726232600.log'
[0174:0834][2019-07-26T23:26:00]i052: Condition 'VersionNT >= v6.1' evaluates to true.
[0174:0834][2019-07-26T23:26:00]i000: Setting string variable 'WixBundleManufacturer' to value 'IPFX Ltd'
[0174:0834][2019-07-26T23:26:00]i000: Loading managed bootstrapper application.
[0174:0834][2019-07-26T23:26:00]i000: Creating BA thread to run asynchronously.
[0174:0834][2019-07-26T23:26:00]i100: Detect begin, 5 packages
[0174:0834][2019-07-26T23:26:00]i000: Setting string variable 'NETFRAMEWORK45' to value '461814'
[0174:0834][2019-07-26T23:26:00]i000: Setting string variable 'VCREDIST_X86' to value 'v14.15.26706.00'
[0174:0834][2019-07-26T23:26:00]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64'
[0174:0834][2019-07-26T23:26:00]w120: Detected partially cached package: NetFx472Redist, invalid payload: NetFx472Redist, reason: 0x80070570
[0174:0834][2019-07-26T23:26:00]i052: Condition 'NETFRAMEWORK45 >= 461808' evaluates to true.
[0174:0834][2019-07-26T23:26:00]i052: Condition 'VCREDIST_X86 >= v14.15.26706.00' evaluates to true.
[0174:0834][2019-07-26T23:26:00]i101: Detected package: NetFx472Redist, state: Present, cached: Partial
[0174:0834][2019-07-26T23:26:00]i101: Detected package: vc_redist.x86.exe, state: Present, cached: None
[0174:0834][2019-07-26T23:26:00]i101: Detected package: Microsoft_SQL_Server_2012_Native_Client__x86_.msi, state: Absent, cached: None
[0174:0834][2019-07-26T23:26:00]i101: Detected package: Microsoft_SQL_Server_2012_Native_Client__x64_.msi, state: Present, cached: None
[0174:0834][2019-07-26T23:26:00]i101: Detected package: Clients, state: Present, cached: Complete
[0174:0834][2019-07-26T23:26:00]i104: Detected package: Clients, feature: Reporting, state: Absent
[0174:0834][2019-07-26T23:26:00]i104: Detected package: Clients, feature: Explorer, state: Local
[0174:0834][2019-07-26T23:26:00]i104: Detected package: Clients, feature: ClientFeatures, state: Local
[0174:0834][2019-07-26T23:26:00]i104: Detected package: Clients, feature: Outlook, state: Absent
[0174:0834][2019-07-26T23:26:00]i104: Detected package: Clients, feature: Console, state: Absent
[0174:0834][2019-07-26T23:26:00]i104: Detected package: Clients, feature: Toolbar, state: Absent
[0174:0834][2019-07-26T23:26:00]i104: Detected package: Clients, feature: Monitoring, state: Absent
[0174:0834][2019-07-26T23:26:00]i104: Detected package: Clients, feature: ReportScheduler, state: Absent
[0174:0834][2019-07-26T23:26:00]i104: Detected package: Clients, feature: AdditionalComponents, state: Absent
[0174:0834][2019-07-26T23:26:00]i104: Detected package: Clients, feature: Excel, state: Absent
[0174:0834][2019-07-26T23:26:00]i104: Detected package: Clients, feature: ClientSdk, state: Absent
[0174:0834][2019-07-26T23:26:00]i104: Detected package: Clients, feature: Idc, state: Absent
[0174:0834][2019-07-26T23:26:00]i104: Detected package: Clients, feature: Softphone, state: Absent
[0174:0834][2019-07-26T23:26:00]i104: Detected package: Clients, feature: UnifiedMessaging, state: Absent
[0174:0834][2019-07-26T23:26:00]i104: Detected package: Clients, feature: LyncClientControl, state: Absent
[0174:0834][2019-07-26T23:26:00]i104: Detected package: Clients, feature: SPlus, state: Absent
[0174:0834][2019-07-26T23:26:00]i199: Detect complete, result: 0x0
[0174:09BC][2019-07-26T23:26:00]i000: Setting string variable 'ServerName' to value 'SERVERNAME'
[0174:09BC][2019-07-26T23:26:00]i000: Setting string variable 'ServerAddress' to value 'localhost'
[0174:09BC][2019-07-26T23:26:00]i000: Setting string variable 'ServerIpPort' to value '100'
[0174:09BC][2019-07-26T23:26:00]i000: Setting string variable 'IsWindowsAuthentication' to value '0'
[0174:09BC][2019-07-26T23:26:00]i000: Setting string variable 'TurnServerAddress' to value ''
[0174:09BC][2019-07-26T23:26:00]i000: Setting string variable 'INSTALL_SQLNCLI' to value '1'
[0174:09BC][2019-07-26T23:26:00]i000: IPFX Clients MSI is installed but WiX engine is not able to detect a related product.
[0174:09BC][2019-07-26T23:26:00]i000: Manually assigning related product code '{B2DA0C58-B8E7-4DF8-A18B-D48E12CE70DD}'
[0174:09BC][2019-07-26T23:26:00]i000: Detecting IPFX Clients installed features from related package.
[0174:09BC][2019-07-26T23:26:00]i000: Launching IPFX Clients Setup - Full UI
[0174:0834][2019-07-26T23:26:05]i200: Plan begin, 5 packages, action: Repair
[0174:0834][2019-07-26T23:26:05]w321: Skipping dependency registration on package with no dependency providers: NetFx472Redist
[0174:0834][2019-07-26T23:26:05]i000: Setting string variable 'NetFx472FullLog' to value 'C:\Users\Admin\AppData\Local\Temp\IPFX_Clients_20190726232600_000_NetFx472Redist.log'
[0174:0834][2019-07-26T23:26:05]w321: Skipping dependency registration on package with no dependency providers: vc_redist.x86.exe
[0174:0834][2019-07-26T23:26:05]i052: Condition 'INSTALL_SQLNCLI AND NOT VersionNT64' evaluates to false.
[0174:0834][2019-07-26T23:26:05]i052: Condition 'INSTALL_SQLNCLI AND VersionNT64' evaluates to true.
[0174:0834][2019-07-26T23:26:05]i000: Setting string variable 'WixBundleLog_Microsoft_SQL_Server_2012_Native_Client__x64_.msi' to value 'C:\Users\Admin\AppData\Local\Temp\IPFX_Clients_20190726232600_001_Microsoft_SQL_Server_2012_Native_Client__x64_.msi.log'
[0174:0834][2019-07-26T23:26:05]i204: Plan 16 msi features for package: Clients
[0174:0834][2019-07-26T23:26:05]i203: Planned feature: Reporting, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0174:0834][2019-07-26T23:26:05]i203: Planned feature: Explorer, state: Local, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0174:0834][2019-07-26T23:26:05]i203: Planned feature: ClientFeatures, state: Local, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0174:0834][2019-07-26T23:26:05]i203: Planned feature: Outlook, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0174:0834][2019-07-26T23:26:05]i203: Planned feature: Console, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0174:0834][2019-07-26T23:26:05]i203: Planned feature: Toolbar, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0174:0834][2019-07-26T23:26:05]i203: Planned feature: Monitoring, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0174:0834][2019-07-26T23:26:05]i203: Planned feature: ReportScheduler, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0174:0834][2019-07-26T23:26:05]i203: Planned feature: AdditionalComponents, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0174:0834][2019-07-26T23:26:05]i203: Planned feature: Excel, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0174:0834][2019-07-26T23:26:05]i203: Planned feature: ClientSdk, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0174:0834][2019-07-26T23:26:05]i203: Planned feature: Idc, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0174:0834][2019-07-26T23:26:05]i203: Planned feature: Softphone, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0174:0834][2019-07-26T23:26:05]i203: Planned feature: UnifiedMessaging, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0174:0834][2019-07-26T23:26:05]i203: Planned feature: LyncClientControl, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0174:0834][2019-07-26T23:26:05]i203: Planned feature: SPlus, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0174:0834][2019-07-26T23:26:05]i000: Setting string variable 'WixBundleLog_Clients' to value 'C:\Users\Admin\AppData\Local\Temp\IPFX_Clients_20190726232600_002_Clients.log'
[0174:0834][2019-07-26T23:26:05]i201: Planned package: NetFx472Redist, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: Yes, uncache: No, dependency: None
[0174:0834][2019-07-26T23:26:05]i201: Planned package: vc_redist.x86.exe, state: Present, default requested: Repair, ba requested: Repair, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0174:0834][2019-07-26T23:26:05]i201: Planned package: Microsoft_SQL_Server_2012_Native_Client__x86_.msi, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0174:0834][2019-07-26T23:26:05]i201: Planned package: Microsoft_SQL_Server_2012_Native_Client__x64_.msi, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: Yes, uncache: Yes, dependency: Register
[0174:0834][2019-07-26T23:26:05]i201: Planned package: Clients, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: No, uncache: No, dependency: Register
[0174:0834][2019-07-26T23:26:05]i299: Plan complete, result: 0x0
[0174:0834][2019-07-26T23:26:05]i300: Apply begin
[0174:0834][2019-07-26T23:26:05]i010: Launching elevated engine process.
[0174:0834][2019-07-26T23:26:06]i011: Launched elevated engine process.
[0174:0834][2019-07-26T23:26:06]i012: Connected to elevated engine.
[02DC:0D3C][2019-07-26T23:26:07]i358: Pausing automatic updates.
[02DC:0D3C][2019-07-26T23:26:07]i359: Paused automatic updates.
[02DC:0D3C][2019-07-26T23:26:07]i360: Creating a system restore point.
[02DC:0D3C][2019-07-26T23:26:07]i361: Created a system restore point.
[02DC:0D3C][2019-07-26T23:26:07]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0399c158-7e8e-40c9-b28c-132eccfccb09}, resume: Active, restart initiated: No, disable resume: No
[0174:02A8][2019-07-26T23:26:07]w343: Prompt for source of package: NetFx472Redist, payload: NetFx472Redist, path: \\aklcolins\Source\trunk\Installers\Packages\redist\NDP472-KB4054530-x86-x64-AllOS-ENU.exe
[0174:02A8][2019-07-26T23:26:07]i338: Acquiring package: NetFx472Redist, payload: NetFx472Redist, download from: http://go.microsoft.com/fwlink/?LinkId=863265
[02DC:0C48][2019-07-26T23:26:15]i304: Verified existing payload: NetFx472Redist at path: C:\ProgramData\Package Cache\D3A416DC5FC75758D41B4C0158ACA69270D2A904\redist\NDP472-KB4054530-x86-x64-AllOS-ENU.exe.
[0174:02A8][2019-07-26T23:26:15]w341: Prompt for source of container: WixAttachedContainer, path: \\aklcolins\Source\trunk\Installers\Packages\IPFX Clients.exe
[0174:02A8][2019-07-26T23:26:15]e054: Failed to resolve source for file: \\aklcolins\Source\trunk\Installers\Packages\IPFX Clients.exe, error: 0x80070002.
[0174:02A8][2019-07-26T23:26:15]e000: Error 0x80070002: Failed while prompting for source (original path '\\aklcolins\Source\trunk\Installers\Packages\IPFX Clients.exe').
[0174:02A8][2019-07-26T23:26:15]e311: Failed to acquire container: WixAttachedContainer to working path: C:\Users\Admin\AppData\Local\Temp\{2837B1C9-2B10-4305-A8D8-0F6CE96EA87E}\655763135864F997906BA00820F3EBFF3AB3AC37, error: 0x80070002.
[0174:0834][2019-07-26T23:26:15]e000: Error 0x80070002: Failed while caching, aborting execution.
[02DC:0D3C][2019-07-26T23:26:15]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0399c158-7e8e-40c9-b28c-132eccfccb09}, resume: ARP, restart: None, disable resume: No
[02DC:0D3C][2019-07-26T23:26:15]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0399c158-7e8e-40c9-b28c-132eccfccb09}, resume: ARP, restart initiated: No, disable resume: No
[0174:0834][2019-07-26T23:26:15]i399: Apply complete, result: 0x80070002, restart: None, ba requested restart:  No
[0174:0834][2019-07-26T23:26:20]i500: Shutting down, exit code: 0x80070002
[0174:0834][2019-07-26T23:26:20]i410: Variable: INSTALL_SQLNCLI = 1
[0174:0834][2019-07-26T23:26:20]i410: Variable: IsWindowsAuthentication = 0
[0174:0834][2019-07-26T23:26:20]i410: Variable: NETFRAMEWORK45 = 461814
[0174:0834][2019-07-26T23:26:20]i410: Variable: NetFx472FullLog = C:\Users\Admin\AppData\Local\Temp\IPFX_Clients_20190726232600_000_NetFx472Redist.log
[0174:0834][2019-07-26T23:26:20]i410: Variable: ServerAddress = localhost
[0174:0834][2019-07-26T23:26:20]i410: Variable: ServerIpPort = 100
[0174:0834][2019-07-26T23:26:20]i410: Variable: ServerName = SERVERNAME
[0174:0834][2019-07-26T23:26:20]i410: Variable: TurnServerAddress =
[0174:0834][2019-07-26T23:26:20]i410: Variable: VCREDIST_X86 = v14.15.26706.00
[0174:0834][2019-07-26T23:26:20]i410: Variable: VersionNT = 6.3.0.0
[0174:0834][2019-07-26T23:26:20]i410: Variable: VersionNT64 = 6.3.0.0
[0174:0834][2019-07-26T23:26:20]i410: Variable: WixBundleAction = 7
[0174:0834][2019-07-26T23:26:20]i410: Variable: WixBundleElevated = 1
[0174:0834][2019-07-26T23:26:20]i410: Variable: WixBundleInstalled = 1
[0174:0834][2019-07-26T23:26:20]i410: Variable: WixBundleLog = C:\Users\Admin\AppData\Local\Temp\IPFX_Clients_20190726232600.log
[0174:0834][2019-07-26T23:26:20]i410: Variable: WixBundleLog_Clients = C:\Users\Admin\AppData\Local\Temp\IPFX_Clients_20190726232600_002_Clients.log
[0174:0834][2019-07-26T23:26:20]i410: Variable: WixBundleLog_Microsoft_SQL_Server_2012_Native_Client__x64_.msi = C:\Users\Admin\AppData\Local\Temp\IPFX_Clients_20190726232600_001_Microsoft_SQL_Server_2012_Native_Client__x64_.msi.log
[0174:0834][2019-07-26T23:26:20]i410: Variable: WixBundleManufacturer = IPFX Ltd
[0174:0834][2019-07-26T23:26:20]i410: Variable: WixBundleName = IPFX Clients
[0174:0834][2019-07-26T23:26:20]i410: Variable: WixBundleOriginalSource = \\aklcolins\Source\trunk\Installers\Packages\IPFX Clients.exe
[0174:0834][2019-07-26T23:26:20]i410: Variable: WixBundleOriginalSourceFolder = \\aklcolins\Source\trunk\Installers\Packages\
[0174:0834][2019-07-26T23:26:20]i410: Variable: WixBundleProviderKey = {0399c158-7e8e-40c9-b28c-132eccfccb09}
[0174:0834][2019-07-26T23:26:20]i410: Variable: WixBundleSourceProcessFolder = C:\ProgramData\Package Cache\{0399c158-7e8e-40c9-b28c-132eccfccb09}\
[0174:0834][2019-07-26T23:26:20]i410: Variable: WixBundleSourceProcessPath = C:\ProgramData\Package Cache\{0399c158-7e8e-40c9-b28c-132eccfccb09}\IPFX Clients.exe
[0174:0834][2019-07-26T23:26:20]i410: Variable: WixBundleTag =
[0174:0834][2019-07-26T23:26:20]i410: Variable: WixBundleUILevel = 4
[0174:0834][2019-07-26T23:26:20]i410: Variable: WixBundleVersion = 0.0.0.0
[0174:0834][2019-07-26T23:26:21]i007: Exit code: 0x80070002, restarting: No



-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Blair Murri via wix-users
Sent: Saturday, 27 July 2019 2:31 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Blair Murri <osito at live.com>
Subject: Re: [wix-users] ARP Bundle Repair Failure

The list server strips attachments. Please provide a link to full log.

Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Colin Sim via wix-users <wix-users at lists.wixtoolset.org>
Sent: Friday, July 26, 2019 4:34:01 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Colin Sim <Colin.Sim at ipfx.com>
Subject: [wix-users] ARP Bundle Repair Failure

I'm looking for advice on how to properly handle a bundle repair that's triggered via ARP (i.e. user selects change option, which triggers custom managed bootstrapper that provides an option to repair the bundle). The default implementation produces an error about not being able to resolve original bundle source:

[0174:02A8][2019-07-26T23:26:15]w341: Prompt for source of container: WixAttachedContainer, path: \\aklcolins\Source\trunk\Installers\Packages\IPFX<file://\\aklcolins\Source\trunk\Installers\Packages\IPFX> Clients.exe
[0174:02A8][2019-07-26T23:26:15]e054: Failed to resolve source for file: \\aklcolins\Source\trunk\Installers\Packages\IPFX<file://\\aklcolins\Source\trunk\Installers\Packages\IPFX> Clients.exe, error: 0x80070002.

The full log is attached.

I've considered the option of prompting the user to supply the bundle; however:

1.      How do I detect that the action is triggered via ARP as opposed to through source bundle EXE?

2.      What happens if the user provides an "invalid" bundle, e.g. wrong file, wrong version, etc?


This e-mail contains IPFX information which may be privileged or confidential and is intended for use only by the individual(s) or entity named above. If you are not the intended recipient, note that disclosing, copying, distributing or using this information is prohibited. If you have received this e-mail in error, please advise immediately to the e-mail address above and permanently delete this message and any attachments. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. We monitor our e-mail system and may record your e-mails. Thank you.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.



More information about the wix-users mailing list