[wix-users] ARP Bundle Repair Failure
Colin Sim
Colin.Sim at ipfx.com
Wed Jul 31 03:22:15 PDT 2019
Thanks for the hint Bob!
The reason I have the issue is that the SQL native client packages were not cached (even though the cache attribute has a value yes). I have to set the cache attribute to "always" to force it to be cached. Is this expected behaviour? My MSI package was cached when the cache attribute is set to yes and not always.
-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Colin Sim via wix-users
Sent: Wednesday, 31 July 2019 7:45 PM
To: Bob Arnson <bob at firegiant.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>; Hoover, Jacob <Jacob.Hoover at greenheck.com>
Cc: Colin Sim <Colin.Sim at ipfx.com>
Subject: Re: [wix-users] ARP Bundle Repair Failure
Hi Bob,
What you're saying makes sense. However, everyone one of the packages haven't got the cache attribute set, so it defaults to yes, i.e. cached.
For completeness the bundle contains the following packages:
- NetFx472Redist
- vc141redist_x86
- Microsoft SQL Server 2012 Native Client (x86)
- Microsoft SQL Server 2012 Native Client (x64)
- My package
Only one of the SQL native clients will be installed depending on target OS bitness. Aside from "my package", the rest are prerequisites and their permanent attribute is set to yes.
Below is the bundle log for install. Even though all packages are set to cached, only my package is completely cached and .NET is partially cached. In this instance, all the pre-requisites have already been installed. I don't understand why all packages are not cached?
[0DE0:0FAC][2019-07-31T19:26:52]i001: Burn v3.11.1.2318, Windows v6.3 (Build 9600: Service Pack 0), path: C:\Users\Admin\AppData\Local\Temp\{9AA6F679-F4B6-45FA-96CA-AE13354938EB}\.cr\IPFX Clients.exe
[0DE0:0FAC][2019-07-31T19:26:52]i009: Command Line: '"-burn.clean.room=S:\Installers\Packages\IPFX Clients.exe" -burn.filehandle.attached=280 -burn.filehandle.self=372'
[0DE0:0FAC][2019-07-31T19:26:52]i000: Setting string variable 'WixBundleOriginalSource' to value 'S:\Installers\Packages\IPFX Clients.exe'
[0DE0:0FAC][2019-07-31T19:26:52]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'S:\Installers\Packages\'
[0DE0:0FAC][2019-07-31T19:26:53]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\Admin\AppData\Local\Temp\IPFX_Clients_20190731192653.log'
[0DE0:0FAC][2019-07-31T19:26:53]i052: Condition 'VersionNT >= v6.1' evaluates to true.
[0DE0:0FAC][2019-07-31T19:26:53]i000: Setting string variable 'WixBundleName' to value 'IPFX Clients'
[0DE0:0FAC][2019-07-31T19:26:53]i000: Setting string variable 'WixBundleManufacturer' to value 'IPFX Ltd'
[0DE0:0FAC][2019-07-31T19:26:53]i000: Loading managed bootstrapper application.
[0DE0:0FAC][2019-07-31T19:26:53]i000: Creating BA thread to run asynchronously.
[0DE0:0FAC][2019-07-31T19:26:53]i100: Detect begin, 5 packages
[0DE0:0FAC][2019-07-31T19:26:53]i000: Setting string variable 'NETFRAMEWORK45' to value '461814'
[0DE0:0FAC][2019-07-31T19:26:53]i000: Setting string variable 'VCREDIST_X86' to value 'v14.15.26706.00'
[0DE0:0FAC][2019-07-31T19:26:53]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64'
[0DE0:0FAC][2019-07-31T19:26:53]w120: Detected partially cached package: NetFx472Redist, invalid payload: NetFx472Redist, reason: 0x80070570
[0DE0:0FAC][2019-07-31T19:26:53]i052: Condition 'NETFRAMEWORK45 >= 461808' evaluates to true.
[0DE0:0FAC][2019-07-31T19:26:53]i052: Condition 'VCREDIST_X86 >= v14.15.26706.00' evaluates to true.
[0DE0:0FAC][2019-07-31T19:26:53]i101: Detected package: NetFx472Redist, state: Present, cached: Partial
[0DE0:0FAC][2019-07-31T19:26:53]i101: Detected package: vc_redist.x86.exe, state: Present, cached: None
[0DE0:0FAC][2019-07-31T19:26:53]i101: Detected package: Microsoft_SQL_Server_2012_Native_Client__x86_.msi, state: Absent, cached: None
[0DE0:0FAC][2019-07-31T19:26:53]i101: Detected package: Microsoft_SQL_Server_2012_Native_Client__x64_.msi, state: Present, cached: None
[0DE0:0FAC][2019-07-31T19:26:53]i101: Detected package: Clients, state: Absent, cached: None
[0DE0:0FAC][2019-07-31T19:26:53]i104: Detected package: Clients, feature: Reporting, state: Absent
[0DE0:0FAC][2019-07-31T19:26:53]i104: Detected package: Clients, feature: Explorer, state: Absent
[0DE0:0FAC][2019-07-31T19:26:53]i104: Detected package: Clients, feature: ClientFeatures, state: Absent
[0DE0:0FAC][2019-07-31T19:26:53]i104: Detected package: Clients, feature: Outlook, state: Absent
[0DE0:0FAC][2019-07-31T19:26:53]i104: Detected package: Clients, feature: Console, state: Absent
[0DE0:0FAC][2019-07-31T19:26:53]i104: Detected package: Clients, feature: Toolbar, state: Absent
[0DE0:0FAC][2019-07-31T19:26:53]i104: Detected package: Clients, feature: Monitoring, state: Absent
[0DE0:0FAC][2019-07-31T19:26:53]i104: Detected package: Clients, feature: ReportScheduler, state: Absent
[0DE0:0FAC][2019-07-31T19:26:53]i104: Detected package: Clients, feature: AdditionalComponents, state: Absent
[0DE0:0FAC][2019-07-31T19:26:53]i104: Detected package: Clients, feature: Excel, state: Absent
[0DE0:0FAC][2019-07-31T19:26:53]i104: Detected package: Clients, feature: ClientSdk, state: Absent
[0DE0:0FAC][2019-07-31T19:26:53]i104: Detected package: Clients, feature: Idc, state: Absent
[0DE0:0FAC][2019-07-31T19:26:53]i104: Detected package: Clients, feature: Softphone, state: Absent
[0DE0:0FAC][2019-07-31T19:26:53]i104: Detected package: Clients, feature: UnifiedMessaging, state: Absent
[0DE0:0FAC][2019-07-31T19:26:53]i104: Detected package: Clients, feature: LyncClientControl, state: Absent
[0DE0:0FAC][2019-07-31T19:26:53]i104: Detected package: Clients, feature: SPlus, state: Absent
[0DE0:0FAC][2019-07-31T19:26:53]i199: Detect complete, result: 0x0
[0DE0:0DAC][2019-07-31T19:26:53]i000: Setting string variable 'ServerName' to value 'SERVERNAME'
[0DE0:0DAC][2019-07-31T19:26:53]i000: Setting string variable 'ServerAddress' to value 'localhost'
[0DE0:0DAC][2019-07-31T19:26:53]i000: Setting string variable 'ServerIpPort' to value '100'
[0DE0:0DAC][2019-07-31T19:26:53]i000: Setting string variable 'IsWindowsAuthentication' to value '0'
[0DE0:0DAC][2019-07-31T19:26:53]i000: Setting string variable 'TurnServerAddress' to value ''
[0DE0:0DAC][2019-07-31T19:26:53]i000: Setting string variable 'INSTALL_SQLNCLI' to value '1'
[0DE0:0DAC][2019-07-31T19:26:53]i000: Detecting IPFX Clients installed features from current package.
[0DE0:0DAC][2019-07-31T19:26:53]i000: Launching IPFX Clients Setup - Full UI
[0DE0:0DAC][2019-07-31T19:26:58]i000: Setting server information
[0DE0:0DAC][2019-07-31T19:26:58]i000: Setting string variable 'ServerName' to value 'SERVERNAME'
[0DE0:0DAC][2019-07-31T19:26:58]i000: Setting string variable 'ServerAddress' to value 'localhost'
[0DE0:0DAC][2019-07-31T19:26:58]i000: Setting string variable 'ServerIpPort' to value '100'
[0DE0:0DAC][2019-07-31T19:26:58]i000: Setting string variable 'IsWindowsAuthentication' to value '0'
[0DE0:0FAC][2019-07-31T19:27:00]i200: Plan begin, 5 packages, action: Install
[0DE0:0FAC][2019-07-31T19:27:00]w321: Skipping dependency registration on package with no dependency providers: NetFx472Redist
[0DE0:0FAC][2019-07-31T19:27:00]w321: Skipping dependency registration on package with no dependency providers: vc_redist.x86.exe
[0DE0:0FAC][2019-07-31T19:27:00]i052: Condition 'INSTALL_SQLNCLI AND NOT VersionNT64' evaluates to false.
[0DE0:0FAC][2019-07-31T19:27:00]i052: Condition 'INSTALL_SQLNCLI AND VersionNT64' evaluates to true.
[0DE0:0FAC][2019-07-31T19:27:00]i204: Plan 16 msi features for package: Clients
[0DE0:0FAC][2019-07-31T19:27:00]i203: Planned feature: Reporting, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove
[0DE0:0FAC][2019-07-31T19:27:00]i203: Planned feature: Explorer, state: Absent, default requested: Unknown, ba requested: Absent, execute action: None, rollback action: None
[0DE0:0FAC][2019-07-31T19:27:00]i203: Planned feature: ClientFeatures, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0DE0:0FAC][2019-07-31T19:27:00]i203: Planned feature: Outlook, state: Absent, default requested: Unknown, ba requested: Local, execute action: AddLocal, rollback action: Remove
[0DE0:0FAC][2019-07-31T19:27:00]i203: Planned feature: Console, state: Absent, default requested: Unknown, ba requested: Absent, execute action: None, rollback action: None
[0DE0:0FAC][2019-07-31T19:27:00]i203: Planned feature: Toolbar, state: Absent, default requested: Unknown, ba requested: Absent, execute action: None, rollback action: None
[0DE0:0FAC][2019-07-31T19:27:00]i203: Planned feature: Monitoring, state: Absent, default requested: Unknown, ba requested: Absent, execute action: None, rollback action: None
[0DE0:0FAC][2019-07-31T19:27:00]i203: Planned feature: ReportScheduler, state: Absent, default requested: Unknown, ba requested: Absent, execute action: None, rollback action: None
[0DE0:0FAC][2019-07-31T19:27:00]i203: Planned feature: AdditionalComponents, state: Absent, default requested: Unknown, ba requested: Unknown, execute action: None, rollback action: None
[0DE0:0FAC][2019-07-31T19:27:00]i203: Planned feature: Excel, state: Absent, default requested: Unknown, ba requested: Absent, execute action: None, rollback action: None
[0DE0:0FAC][2019-07-31T19:27:00]i203: Planned feature: ClientSdk, state: Absent, default requested: Unknown, ba requested: Absent, execute action: None, rollback action: None
[0DE0:0FAC][2019-07-31T19:27:00]i203: Planned feature: Idc, state: Absent, default requested: Unknown, ba requested: Absent, execute action: None, rollback action: None
[0DE0:0FAC][2019-07-31T19:27:00]i203: Planned feature: Softphone, state: Absent, default requested: Unknown, ba requested: Absent, execute action: None, rollback action: None
[0DE0:0FAC][2019-07-31T19:27:00]i203: Planned feature: UnifiedMessaging, state: Absent, default requested: Unknown, ba requested: Absent, execute action: None, rollback action: None
[0DE0:0FAC][2019-07-31T19:27:00]i203: Planned feature: LyncClientControl, state: Absent, default requested: Unknown, ba requested: Absent, execute action: None, rollback action: None
[0DE0:0FAC][2019-07-31T19:27:00]i203: Planned feature: SPlus, state: Absent, default requested: Unknown, ba requested: Absent, execute action: None, rollback action: None
[0DE0:0FAC][2019-07-31T19:27:00]i000: Setting string variable 'WixBundleRollbackLog_Clients' to value 'C:\Users\Admin\AppData\Local\Temp\IPFX_Clients_20190731192653_000_Clients_rollback.log'
[0DE0:0FAC][2019-07-31T19:27:00]i000: Setting string variable 'WixBundleLog_Clients' to value 'C:\Users\Admin\AppData\Local\Temp\IPFX_Clients_20190731192653_000_Clients.log'
[0DE0:0FAC][2019-07-31T19:27:00]i201: Planned package: NetFx472Redist, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0DE0:0FAC][2019-07-31T19:27:00]i201: Planned package: vc_redist.x86.exe, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[0DE0:0FAC][2019-07-31T19:27:00]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
[0DE0:0FAC][2019-07-31T19:27:00]i201: Planned package: Microsoft_SQL_Server_2012_Native_Client__x64_.msi, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: Register
[0DE0:0FAC][2019-07-31T19:27:00]i201: Planned package: Clients, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0DE0:0FAC][2019-07-31T19:27:00]i299: Plan complete, result: 0x0
[0DE0:0FAC][2019-07-31T19:27:00]i300: Apply begin
[0DE0:0FAC][2019-07-31T19:27:00]i010: Launching elevated engine process.
[0DE0:0FAC][2019-07-31T19:27:01]i011: Launched elevated engine process.
[0DE0:0FAC][2019-07-31T19:27:01]i012: Connected to elevated engine.
[0D1C:0D30][2019-07-31T19:27:01]i358: Pausing automatic updates.
[0D1C:0D30][2019-07-31T19:27:01]i359: Paused automatic updates.
[0D1C:0D30][2019-07-31T19:27:01]i360: Creating a system restore point.
[0D1C:0D30][2019-07-31T19:27:01]i361: Created a system restore point.
[0D1C:0D30][2019-07-31T19:27:01]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e5237f95-c353-4b66-9b3d-513be10ac0f3}, options: 0x7, disable resume: No
[0D1C:0D30][2019-07-31T19:27:01]i000: Caching bundle from: 'C:\Users\Admin\AppData\Local\Temp\{D663581B-0855-4A6D-BE61-41A51857EEDF}\.be\IPFX Clients.exe' to: 'C:\ProgramData\Package Cache\{e5237f95-c353-4b66-9b3d-513be10ac0f3}\IPFX Clients.exe'
[0D1C:0D30][2019-07-31T19:27:01]i320: Registering bundle dependency provider: {e5237f95-c353-4b66-9b3d-513be10ac0f3}, version: 0.0.0.0
[0D1C:0D30][2019-07-31T19:27:01]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e5237f95-c353-4b66-9b3d-513be10ac0f3}, resume: Active, restart initiated: No, disable resume: No
[0D1C:0D8C][2019-07-31T19:27:06]i305: Verified acquired payload: Clients at path: C:\ProgramData\Package Cache\.unverified\Clients, moving to: C:\ProgramData\Package Cache\{044B8ABA-31B6-411D-A5C8-8D9AEF0EBBB7}v0.0.0.0\IPFX Clients.msi.
[0D1C:0D30][2019-07-31T19:27:06]i323: Registering package dependency provider: {B9274744-8BAE-4874-8E59-2610919CD419}, version: 11.4.7001.0, package: Microsoft_SQL_Server_2012_Native_Client__x64_.msi
[0D1C:0D30][2019-07-31T19:27:06]i325: Registering dependency: {e5237f95-c353-4b66-9b3d-513be10ac0f3} on package provider: {B9274744-8BAE-4874-8E59-2610919CD419}, package: Microsoft_SQL_Server_2012_Native_Client__x64_.msi
[0D1C:0D30][2019-07-31T19:27:06]i323: Registering package dependency provider: {044B8ABA-31B6-411D-A5C8-8D9AEF0EBBB7}, version: 0.0.0.0, package: Clients
[0D1C:0D30][2019-07-31T19:27:06]i301: Applying execute package: Clients, action: Install, path: C:\ProgramData\Package Cache\{044B8ABA-31B6-411D-A5C8-8D9AEF0EBBB7}v0.0.0.0\IPFX Clients.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" SERVER_NAME="SERVERNAME" SERVER_ADDRESS="localhost" SERVER_PORT="100" SERVER_WIN_AUTH_AVAILABILITY="0" TURNSERVER_ADDRESS="" ADDLOCAL="Reporting,Outlook"'
[0DE0:0FAC][2019-07-31T19:28:14]i319: Applied execute package: Clients, result: 0x0, restart: None
[0D1C:0D30][2019-07-31T19:28:14]i325: Registering dependency: {e5237f95-c353-4b66-9b3d-513be10ac0f3} on package provider: {044B8ABA-31B6-411D-A5C8-8D9AEF0EBBB7}, package: Clients
[0D1C:0D30][2019-07-31T19:28:14]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e5237f95-c353-4b66-9b3d-513be10ac0f3}, resume: ARP, restart: None, disable resume: No
[0D1C:0D30][2019-07-31T19:28:14]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e5237f95-c353-4b66-9b3d-513be10ac0f3}, resume: ARP, restart initiated: No, disable resume: No
[0DE0:0FAC][2019-07-31T19:28:14]i399: Apply complete, result: 0x0, restart: None, ba requested restart: No
[0DE0:0FAC][2019-07-31T19:28:56]i500: Shutting down, exit code: 0x0
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: INSTALL_SQLNCLI = 1
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: IsWindowsAuthentication = 0
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: NETFRAMEWORK45 = 461814
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: ServerAddress = localhost
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: ServerIpPort = 100
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: ServerName = SERVERNAME
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: TurnServerAddress =
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: VCREDIST_X86 = v14.15.26706.00
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: VersionNT = 6.3.0.0
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: VersionNT64 = 6.3.0.0
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: WixBundleAction = 5
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: WixBundleElevated = 1
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: WixBundleLog = C:\Users\Admin\AppData\Local\Temp\IPFX_Clients_20190731192653.log
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: WixBundleLog_Clients = C:\Users\Admin\AppData\Local\Temp\IPFX_Clients_20190731192653_000_Clients.log
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: WixBundleManufacturer = IPFX Ltd
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: WixBundleName = IPFX Clients
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: WixBundleOriginalSource = S:\Installers\Packages\IPFX Clients.exe
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: WixBundleOriginalSourceFolder = S:\Installers\Packages\
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: WixBundleProviderKey = {e5237f95-c353-4b66-9b3d-513be10ac0f3}
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: WixBundleRollbackLog_Clients = C:\Users\Admin\AppData\Local\Temp\IPFX_Clients_20190731192653_000_Clients_rollback.log
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: WixBundleSourceProcessFolder = S:\Installers\Packages\
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: WixBundleSourceProcessPath = S:\Installers\Packages\IPFX Clients.exe
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: WixBundleTag =
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: WixBundleUILevel = 4
[0DE0:0FAC][2019-07-31T19:28:56]i410: Variable: WixBundleVersion = 0.0.0.0
[0DE0:0FAC][2019-07-31T19:28:56]i007: Exit code: 0x0, restarting: No
-----Original Message-----
From: Bob Arnson <bob at firegiant.com>
Sent: Wednesday, 31 July 2019 2:21 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>; Hoover, Jacob <Jacob.Hoover at greenheck.com>
Cc: Colin Sim <Colin.Sim at ipfx.com>
Subject: RE: ARP Bundle Repair Failure
According to the log, only one package is cached so it's prompting for the original bundle to get the uncached packages.
-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Colin Sim via wix-users
Sent: Tuesday, 30 July, 2019 02:40
To: Hoover, Jacob <Jacob.Hoover at greenheck.com>; 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
Yes the MSI is compressed into the bundle. The cache attribute is left to the default, i.e. yes - should it be set to no or always?
From: Hoover, Jacob <Jacob.Hoover at greenheck.com>
Sent: Tuesday, 30 July 2019 8:07 AM
To: Colin Sim <Colin.Sim at ipfx.com>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: RE: ARP Bundle Repair Failure
What does your MsiPackage authoring look like for the bundle? Are you compressing the MSi into the bundle? Did you override the Cache of it?
From: Colin Sim [mailto:Colin.Sim at ipfx.com]
Sent: Monday, July 29, 2019 1:56 PM
To: Hoover, Jacob <Jacob.Hoover at greenheck.com<mailto:Jacob.Hoover at greenheck.com>>; WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Subject: Re: ARP Bundle Repair Failure
Hi Jacob,
Thanks for taking the time to respond. My answer to your questions are below:
1) Why do you care if ran from ARP or manually ran?
When ran from ARP, it seems the source bootstrap application is a stripped down version, i.e. does not contain bundled packages. When manually run, it's the "original complete" bootstrap application.
2) A bundle will only use the original bundle for a source.
That's the problem! Because on repair the original bundle is no longer present or accessible (e.g. user deletes it, which is a reasonable thing to do or it's moved from network location).
Hope that gives you more context about what I'm trying to do. In the case, the bundle is invoke via ARP, I could try to prompt the user for the original bundle; hence my original questions:
1. How can we detect whether the bootstrap application is invoked via ARP? Alternatively, how do you detect if container source is not present? This way we can "prepare" before applying required changes.
2. Subsequently, if the user provide an invalid bundle (wrong version or simply wrong file) how can I detect this? Or better yet, can WiX engine handle this?
________________________________
From: Hoover, Jacob <Jacob.Hoover at greenheck.com<mailto:Jacob.Hoover at greenheck.com>>
Sent: Tuesday, July 30, 2019 2:58:56 AM
To: WiX Toolset Users Mailing List
Cc: Colin Sim
Subject: RE: ARP Bundle Repair Failure
http://errco.de/win32/winerror-h/error_file_not_found/0x80070002/
\\aklcolins\Source\trunk\Installers\Packages\IPFX<file://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<mailto:wix-users at lists.wixtoolset.org>>
Cc: Colin Sim <Colin.Sim at ipfx.com<mailto: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<file://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<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.
[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<file://aklcolins/Source/trunk/Installers/Packages/IPFX> Clients.exe
[0174:0834][2019-07-26T23:26:20]i410: Variable: WixBundleOriginalSourceFolder = \\aklcolins\Source\trunk\Installers\Packages\<file://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<mailto: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<mailto:wix-users at lists.wixtoolset.org>>
Cc: Blair Murri <osito at live.com<mailto: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<mailto:wix-users-bounces at lists.wixtoolset.org>> on behalf of Colin Sim via wix-users <wix-users at lists.wixtoolset.org<mailto: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<mailto:wix-users at lists.wixtoolset.org>>
Cc: Colin Sim <Colin.Sim at ipfx.com<mailto: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<file://aklcolins/Source/trunk/Installers/Packages/IPFX%3cfile:/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<file://aklcolins/Source/trunk/Installers/Packages/IPFX%3cfile:/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.
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list