[wix-users] Visual C++ 2015 Redistributables

Edwin Castro egcastr at gmail.com
Wed Oct 14 11:20:50 PDT 2015


Kelly,

That log only confirms that the user cancelled the installation.

> [0710:04E4][2015-10-13T15:59:58]e000: Error 0x80070642: Process returned error: 0x642

Error 0x642 is ERROR_INSTALL_USEREXIT. User cancelled installation.
See https://msdn.microsoft.com/en-us/library/windows/desktop/ms681385.aspx

Can you cause vcredist_x86.exe to generate a log file? You can do so
by changing InstallCommand="/quiet /norestart" to
InstallCommand="/quiet /norestart /log
"[WixBundleLog_vc140]""

If you can generate a log file for vcredist_x86.exe, then please post that log.

In my experience, vcredist had effectively installed completely and
burn had sent a message to close itself but the message was not
processed (in my case session 0 was getting in the way). When I
stopped our installer manually we also noticed that vcredist was
effectively completely installed.

-- 
Edwin G. Castro

On Wed, Oct 14, 2015 at 11:08 AM, Kelly Graus <kelly.graus at toltech.net> wrote:
> Below is a log from one of the runs - it hung for 5 minutes or so before we cancelled.  I don’t have the log where we let it run for a few hours but I can generate another one if necessary.  One funny thing - after cancelling the Visual C++ 2015 redistributable shows up in the Add/Remove Programs list (although we are still unable to run our application).
>
> This is not being installed under a service context - it’s just a normal desktop application.
>
> For reference, here is the sample that I based my code on: http://www.xeam-solutions.com/knowledge-base/wix-toolset-burn/visual-studio-runtime-prerequiste.html <http://www.xeam-solutions.com/knowledge-base/wix-toolset-burn/visual-studio-runtime-prerequiste.html>
>
> [0D18:0A10][2015-10-13T15:54:18]i001: Burn v3.10.0.2103, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Users\Dave Romer\Downloads\vh-dissector-pro.exe
> [0D18:0A10][2015-10-13T15:54:18]i009: Command Line: ''
> [0D18:0A10][2015-10-13T15:54:18]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\DAVERO~1\AppData\Local\Temp\VH_Dissector_Pro_20151013155418.log'
> [0D18:0A10][2015-10-13T15:54:18]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Dave Romer\Downloads\vh-dissector-pro.exe'
> [0D18:0A10][2015-10-13T15:54:18]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\Dave Romer\Downloads\'
> [0D18:0A10][2015-10-13T15:54:18]i000: Setting string variable 'WixBundleName' to value 'VH Dissector Pro'
> [0D18:0A10][2015-10-13T15:54:18]i000: Setting string variable 'WixBundleManufacturer' to value 'Touch of Life Technologies, Inc.'
> [0D18:07A8][2015-10-13T15:54:18]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
> [0D18:07A8][2015-10-13T15:54:18]i000: Setting version variable 'WixBundleFileVersion' to value '5.2.53.0'
> [0D18:0A10][2015-10-13T15:54:18]i100: Detect begin, 2 packages
> [0D18:0A10][2015-10-13T15:54:18]i000: File search: MFC140_Version_x86, did not find path: C:\Windows\system32\mfc140.dll
> [0D18:0A10][2015-10-13T15:54:18]i102: Detected related bundle: {335fc7c3-4410-4e82-abbf-58101fc05490}, type: Upgrade, scope: PerMachine, version: 5.2.53.0, operation: None
> [0D18:0A10][2015-10-13T15:54:18]w120: Detected partially cached package: VH_Dissector_Pro.msi, invalid payload: VH_Dissector_Pro.msi, reason: 0x80070570
> [0D18:0A10][2015-10-13T15:54:18]i101: Detected package: vc140, state: Absent, cached: None
> [0D18:0A10][2015-10-13T15:54:18]i101: Detected package: VH_Dissector_Pro.msi, state: Present, cached: Partial
> [0D18:0A10][2015-10-13T15:54:18]i199: Detect complete, result: 0x0
> [0D18:07A8][2015-10-13T15:54:22]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
> [0D18:0A10][2015-10-13T15:54:22]i200: Plan begin, 2 packages, action: Install
> [0D18:0A10][2015-10-13T15:54:22]i052: Condition '(NOT MFC140_Version_x86 >= v14.0.23026) OR NOT MFC140_Version_x86' evaluates to true.
> [0D18:0A10][2015-10-13T15:54:22]w321: Skipping dependency registration on package with no dependency providers: vc140
> [0D18:0A10][2015-10-13T15:54:22]i000: Setting string variable 'WixBundleLog_vc140' to value 'C:\Users\DAVERO~1\AppData\Local\Temp\VH_Dissector_Pro_20151013155418_000_vc140.log'
> [0D18:0A10][2015-10-13T15:54:22]i201: Planned package: vc140, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: None, cache: Yes, uncache: No, dependency: None
> [0D18:0A10][2015-10-13T15:54:22]i201: Planned package: VH_Dissector_Pro.msi, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: Register
> [0D18:0A10][2015-10-13T15:54:22]i207: Planned related bundle: {335fc7c3-4410-4e82-abbf-58101fc05490}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None
> [0D18:0A10][2015-10-13T15:54:22]i299: Plan complete, result: 0x0
> [0D18:0A10][2015-10-13T15:54:22]i300: Apply begin
> [0D18:0A10][2015-10-13T15:54:22]i010: Launching elevated engine process.
> [0D18:0A10][2015-10-13T15:54:30]i011: Launched elevated engine process.
> [0D18:0A10][2015-10-13T15:54:30]i012: Connected to elevated engine.
> [0710:04E4][2015-10-13T15:54:30]i358: Pausing automatic updates.
> [0710:04E4][2015-10-13T15:54:30]i359: Paused automatic updates.
> [0710:04E4][2015-10-13T15:54:30]i360: Creating a system restore point.
> [0710:04E4][2015-10-13T15:55:03]i361: Created a system restore point.
> [0710:04E4][2015-10-13T15:55:03]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1c46530e-5740-42b3-b5ca-d6afbcd64a2a}, options: 0x7, disable resume: No
> [0710:04E4][2015-10-13T15:55:03]i000: Caching bundle from: 'C:\Users\DAVERO~1\AppData\Local\Temp\{1c46530e-5740-42b3-b5ca-d6afbcd64a2a}\.be\setup.exe' to: 'C:\ProgramData\Package Cache\{1c46530e-5740-42b3-b5ca-d6afbcd64a2a}\setup.exe'
> [0710:04E4][2015-10-13T15:55:03]i320: Registering bundle dependency provider: {1c46530e-5740-42b3-b5ca-d6afbcd64a2a}, version: 5.2.53.0
> [0710:04E4][2015-10-13T15:55:03]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1c46530e-5740-42b3-b5ca-d6afbcd64a2a}, resume: Active, restart initiated: No, disable resume: No
> [0710:0AE0][2015-10-13T15:55:04]i305: Verified acquired payload: vc140 at path: C:\ProgramData\Package Cache\.unverified\vc140, moving to: C:\ProgramData\Package Cache\BFB74E498C44D3A103CA3AA2831763FB417134D1\vc_redist.x86.exe.
> [0710:04E4][2015-10-13T15:55:04]i301: Applying execute package: vc140, action: Install, path: C:\ProgramData\Package Cache\BFB74E498C44D3A103CA3AA2831763FB417134D1\vc_redist.x86.exe, arguments: '"C:\ProgramData\Package Cache\BFB74E498C44D3A103CA3AA2831763FB417134D1\vc_redist.x86.exe" /quiet /norestart -burn.ancestors={1c46530e-5740-42b3-b5ca-d6afbcd64a2a}'
> [0710:04E4][2015-10-13T15:59:58]e000: Error 0x80070642: Process returned error: 0x642
> [0710:04E4][2015-10-13T15:59:58]e000: Error 0x80070642: Failed to execute EXE package.
> [0D18:0A10][2015-10-13T15:59:58]e000: Error 0x80070642: Failed to configure per-machine EXE package.
> [0D18:0A10][2015-10-13T15:59:58]i319: Applied execute package: vc140, result: 0x80070642, restart: None
> [0D18:0A10][2015-10-13T15:59:58]e000: Error 0x80070642: Failed to execute EXE package.
> [0710:04E4][2015-10-13T15:59:58]i351: Removing cached package: vc140, from path: C:\ProgramData\Package Cache\BFB74E498C44D3A103CA3AA2831763FB417134D1\
> [0710:04E4][2015-10-13T15:59:58]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1c46530e-5740-42b3-b5ca-d6afbcd64a2a}, resume: None, restart: None, disable resume: No
> [0710:04E4][2015-10-13T15:59:58]i330: Removed bundle dependency provider: {1c46530e-5740-42b3-b5ca-d6afbcd64a2a}
> [0710:04E4][2015-10-13T15:59:58]i352: Removing cached bundle: {1c46530e-5740-42b3-b5ca-d6afbcd64a2a}, from path: C:\ProgramData\Package Cache\{1c46530e-5740-42b3-b5ca-d6afbcd64a2a}\
> [0710:04E4][2015-10-13T15:59:58]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1c46530e-5740-42b3-b5ca-d6afbcd64a2a}, resume: None, restart initiated: No, disable resume: No
> [0D18:0A10][2015-10-13T15:59:59]i399: Apply complete, result: 0x80070642, restart: None, ba requested restart:  No
>
> Kelly
>
>> On Oct 14, 2015, at 12:03 PM, Edwin Castro <egcastr at gmail.com> wrote:
>>
>> I started the thread referenced by Phill.
>>
>> In my experience, you can safely remove Protocol="burn" if it makes
>> you more comfortable. Leaving it in doesn't appear to change the hang
>> behavior and I don't expect it have any effect.
>>
>> The broken version of burn used by Microsoft requires an interactive
>> session causing a hang when run in a service context because session 0
>> does not allow interactive applications BUT I've seen this behavior
>> ONLY on Windows Vista and Windows Server 2008 (not Windows Server 2008
>> R2). I have never seen burn hang on Windows 7 or later.
>>
>> Can you post the burn log? I want to see the last logged line occurs
>> in the same spot as I saw it on Windows Server 2008.
>>
>> Also, can you confirm whether you are installing under a service context?
>>
>> --
>> Edwin G. Castro
>>
>> On Wed, Oct 14, 2015 at 10:41 AM, Phill Hogland
>>
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list