Error 0x80070643: Failed to install MSI package - windows-7

I am using WiX 3.6 to create my application setup. I have bundled two MSI packages in one bootstrapper, and everything is fine until I install the bootstrapper on a Windows7 PC. The setup works fine on a Windows XP machine.
After installation starts in Windows 7 it rolls back the setup and throws...
Setup Failed
One or more issues caused the setup to fail. Please fix the issues and then retry setup. For more information see the log file.
0x80070643 - Fatal error during installation.
and in the log file error message is..
Error 0x80070643: Failed to install MSI package.
Error 0x80070643: Failed to configure per-user MSI package.
How do I get rid of this error?

This seems to be a bug in the WiX toolset. It is described in #2677 Start Burn with activated UAC -> insufficient privileges.

Related

MSI Installer fails with error: Assembly Install [GAC] at RemoveDirectoryAndChildren, line 393

I created an installer using Wix toolset which worked fine, until I opened 2 instances of setup.exe. The installation fails to install an assembly into the GAC:
"Error 1935. An error occurred during the installation of an assembly 'MyAssembly,version="3.2.xxxx.xxxxx",culture="neutral",publicKeyToken="xxxxxxxxxxx",processorArchitecture="MSIL". Please refer to Help and Support for more information. HRESULT: 0x80131043. assembly interface: IAssemblyCacheItem, function: Commit, component: {xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx}
Assembly Install: Failing with hr=80070005 at RemoveDirectoryAndChildren, line 393".
I think an MSI Transaction remained open, locking up a directory with a corrupt ACL.
Rebooting fixed this problem once, however I ran "Setup.exe" with "Setup.exe /?" open at the same time.
So, which folder is locked up? It's not one from my application. Is it a temp folder created during the installation of a dll into the GAC?
It turns out to be a confluence of errors (on my part):
A transaction was open from a system change that had not been rebooted. The installer recovered once, but not twice.
The build order was running the previously built msi.
The actual error was a misconfigured Component attribute.

error of TFS2015 installation:'Error 0x80073e84: Failed to execute EXE package'

while installing TFS2015 in WS2016, the error that 'Starting Team Foundation Server configuration wizard Package failed' came. How can i deal this situation?
if i ignore it and continue configuration wizard, finally, project collection failed to configure.enter image description here
log:
[1ECC:2290][2018-06-18T15:31:11]e000: Error 0x80073e84: Process returned error: 0x3e84
[1ECC:2290][2018-06-18T15:31:11]e000: Error 0x80073e84: Failed to execute EXE package.
[2260:1A8C][2018-06-18T15:31:11]e000: Error 0x80073e84: Failed to configure per-machine EXE package.
Just try below things to narrow down the issue:
Disable anti-virus or anti-spyware software.
Check windows update, install the latest patches.
Clear %TEMP% folder.
Run the installer as administrator.
Uninstall the MS Visual C++ 2010 x86 Redistributable (from add/remove
programs) and then reinstall TFS.

Visual studio 2013 installation issue with NugetVS

I am trying to install visual studio 2013 in the brand new machine with windows 8.1 . My setup failes with the following error
[1D84:1D88][2014-11-30T09:51:02]i301: Applying execute package: nugetvs2013, action: Install, path: C:\ProgramData\Package Cache\{AFF89951-EFF1-3543-92CE-BE535855A3A7}v2.8.50926.663\packages\WPT\NuGetVS2013.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"'
[1DA8:1DAC][2014-11-30T09:51:06]i000: MUX: ExecuteError: Package (nugetvs2013) failed: Error Message Id: 1722 ErrorMessage: There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.
[1D84:1D88][2014-11-30T09:51:06]e000: Error 0x80070643: Failed to install MSI package.
[1D84:1D88][2014-11-30T09:51:06]e000: Error 0x80070643: Failed to execute MSI package.
[1DA8:1DAC][2014-11-30T09:51:06]e000: Error 0x80070643: Failed to configure per-machine MSI package.
Just to not I am the admin of the machine . even though vs setup shows it a warning when trying to open I am getting the following exception
I could resolve the same problem for me by,
deinstalling nugetvs from Visual Studio -> Tools -> Extensions
and Updates
installing another version of nugetvs from
https://nuget.codeplex.com/

Cannot publish .net application or to install Web Deploy 3.5

When I tried to publish my .net application on the server using using Web Deploy 3.0 I got this error:
Web deployment task failed. Microsoft.Web.Deployment.DeploymentBaseOptions' does not contain a definition for 'UserAgent'
Searching the web I found that someone fixed this problem upgrading Web Deploy to version 3,.5.
When I tried to upgrade Web Deploy to the version 3.5 I got this error:
http://sciepa.org/zalek/pictures/WebDeploy3.5Failed.png
MSI (s) (78:1C) [13:26:40:909]: Hello, I'm your 32bit Elevated custom action server.
DEBUG: Error 2738: Could not access VBScript runtime for custom action
MSI (s) (78:54) [13:26:40:916]: Product: Microsoft Web Deploy 3.5 -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2738
Then I tried to get current Web Deploy using Visual Studio 2013, and got this error:
http://sciepa.org/zalek/pictures/WebDeploy3.5FailedWithVS.png
Here are logs of the installation through Visual Studio:
http://sciepa.org/zalek/pictures/Log_with_vs_professional.txt
To fix error code is 2738 someone suggested this command:
[http://www.jakeludington.com/windows_7/20091115_error_2738_could_not_access_vbscript_run_time_for_custom_action.html][4]
I registered vbscript using command:
c:\windows\syswow64\regsvr32 vbscript.dll
c:\windows\system32\regsvr32 vbscript.dll
I also added to the PATH folders where vbscript.dll is located: C:\Windows\SysWOW64\;c:\windows\system32\
but it didn't help.
Any ideas what to do next?
After many hours of searching, repairing system using SFC.EXE /SCANNOW command I found that the problem was McAfee antivirus program. My PC come with McAfee, but I uninstall it it - at least this is what I thought I did.
This page explains how to do it in details:
detail explanation
What I did was to run this program:
McAfee uninstall
Zalek

Visual Studio 2013 RTM Ultimate not installing giving error Failed to install core features fatal error

I have tried to install the Visual Studio Ultimate 2013 RTM from ISO downloaded from the MSDN and an error occurred during the installation. It states that Installation failed to install core features and fatal error. Even when I try the web installer the result is same.
Here is the error log file http://pastebin.com/MagY7R80
1303 ErrorMessage: Error 1303.The installer has insufficient privileges to access this directory: C:\ProgramData\Microsoft\HelpLibrary2\Catalogs\VisualStudio12\IndexStore. The installation cannot continue. Log on as administrator or contact your system administrator.
This is the error in the error log so I tried to give the folder Full Permissions from security tab in properties... this worked for me :)
Looks like you are not running the installer as Administrator, or you do not have sufficient privileges to the specified folder, please refer to this line in your log:
1303 ErrorMessage: Error 1303.The installer has insufficient privileges to access this directory: C:\ProgramData\Microsoft\HelpLibrary2\Catalogs\VisualStudio12\IndexStore. The installation cannot continue. Log on as administrator or contact your system administrator.
To solve this try the following:
Open Setup as Administrator
Extract the ISO and then Run the setup
If nothing worked reinstall the OS
The last Option worked for me while i had the same error at the time of installing Visual Studio

Resources