cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
heller
Level 2

Build stops with internal error -4340

I created a Word add-in and added a setup project (according to "Deploing an Office Solution by Using Windows Installer", http://msdn.microsoft.com/en-us/library/cc442767.aspx). When I start the build, it does qquite a log, but then fails inexpectedly with internal build error -4340. The documentation does not help. Has anyone an idea?

Here is the latest log:

================= Logging started at 11/6/2014 08:47:17 ==================
Created release folders
AdminExecuteSequence table successfully built
AdminUISequence table successfully built
AdvtExecuteSequence table successfully built
AdvtUISequence table successfully built
InstallExecuteSequence table successfully built
InstallUISequence table successfully built
Directory table successfully built
Feature table successfully built
FeatureComponents table successfully built
Component table successfully built
Loading File table
Building File table
Adding file 'Microsoft.Office.Tools.Common.v4.0.Utilities.dll' that is a dependency of component 'WorkPane.Primäre_Ausgabe'
Adding file 'Microsoft.Office.Tools.dll' that is a dependency of component 'WorkPane.Primäre_Ausgabe'
Adding file 'Microsoft.Office.Tools.v4.0.Framework.dll' that is a dependency of component 'WorkPane.Primäre_Ausgabe'
File table successfully built
Building MsiFileHash table
MsiFileHash table successfully built
Class table successfully built
Extension table successfully built
ActionText table successfully built
AppSearch table successfully built
CCPSearch table successfully built
Condition table successfully built
AppId table successfully built
Started signing 980.tmp ...
Property table successfully built
Embedding file C:\Program Files (x86)\InstallShield\2013LE\Redist\Language Independent\x64\ISBEW64.exe into isregsvr.dll
Binary table successfully built
CompLocator table successfully built
ControlCondition table successfully built
ControlEvent table successfully built
CreateFolder table successfully built
CustomAction table successfully built
Error table successfully built
DrLocator table successfully built
DuplicateFile table successfully built
Environment table successfully built
EventMapping table successfully built
Font table successfully built
IniFile table successfully built
IniLocator table successfully built
ProgId table successfully built
ISIISItem table successfully built
ISIISProperty table successfully built
ISSelfReg table successfully built
LaunchCondition table successfully built
MIME table successfully built
MoveFile table successfully built
MsiAssembly table successfully built
MsiAssemblyName table successfully built
MsiDigitalCertificate table successfully built
MsiDigitalSignature table successfully built
MsiPackageCertificate table successfully built
MsiPatchCertificate table successfully built
MsiShortcutProperty table successfully built
PatchPackage table successfully built
PublishComponent table successfully built
Registry table successfully built
RegLocator table successfully built
RemoveFile table successfully built
RemoveIniFile table successfully built
RemoveRegistry table successfully built
ReserveCost table successfully built
SelfReg table successfully built
ServiceControl table successfully built
ServiceInstall table successfully built
Shortcut table successfully built
Signature table successfully built
TextStyle table successfully built
TypeLib table successfully built
UIText table successfully built
Upgrade table successfully built
Verb table successfully built
_Validation table successfully built
ISEXP : fatal error -4340: Internal build error
Express\SingleImage - 1 error(s), 0 warning(s)
================= Logging stopped at 11/6/2014 08:47:18 ==================

Remark: As you can see from the first lines of the log, it was generated under a German locale. However, the "ä" in the text was originally an underscore character. Is there a problem with UTF-8 ?
0 Kudos
(1) Reply
NameTooShort
Level 7 Flexeran
Level 7 Flexeran

Hi,

The next entry in the build log should be COM extract at build.
Can you change the Scan at Build setting for your files to "Properties Only" and see if you can get pass the error?
0 Kudos