This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Internal build error -6041
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 17, 2008
07:57 AM
Internal build error -6041
Hi,
I modified a working Basic MSI project (multilanguage) and now I am getting internal build error -6041. Modified means that I removed a bunch of components and added some new.
Building works when setting the UI languages to a single language only.
Does anyone have a clue?
thanks
Holger
I modified a working Basic MSI project (multilanguage) and now I am getting internal build error -6041. Modified means that I removed a bunch of components and added some new.
Building works when setting the UI languages to a single language only.
Does anyone have a clue?
thanks
Holger
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 17, 2008
08:13 AM
There is a procedure to resolve this error in the help, have you tried it? Just open the help and search for "Build Errors and Warnings".
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 17, 2008
12:08 PM
Build error -6041 occurs when there is an error encountered applying a language transform to a language specific MSI that is generated as part of the build process. When building with only one language, no language transforms are created.
As a quick test, go to the release you are building in the Releases view and change the Keep Unused Directory Entries setting to Yes (if it is not already) and try building again.
As a quick test, go to the release you are building in the Releases view and change the Keep Unused Directory Entries setting to Yes (if it is not already) and try building again.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 20, 2008
03:48 AM
joshstechnij wrote:
As a quick test, go to the release you are building in the Releases view and change the Keep Unused Directory Entries setting to Yes (if it is not already) and try building again.
That fixes the problem, thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 03, 2008
09:21 PM
I encountered this problem when building a release that had the following criteria:
[LIST=1]
Several components which contain shortcuts installed under different Start Menu program folder. (This by default creates Localized entries for the Start menu folder names)
These components are grouped under features built with Release Flags.
I suspect when Installshield localizes the directory names, this interfers with "Remove Unused Directories" when a Release uses Release Flags. This could also be a side-effect of waiting for localized strings from the translation agency, as other languages all default to "new folder" default when the shortcut folder is created
I didn't really want to turn of the "Remove Unused Directories" flag, as that ends up produces ICE Errors and Warnings (also when using Release Flags).
For me, the Start Menu Program Folders do not need to be translated (its a proper name). So to solve the problem I did the following:
[LIST=1]
Saved project as Binary Format, and Open it in ORCA.
Go to Directory Table, locate under DefaultDir column the localized Installshield Identifiers. These will always be in surrounded by double "#" signs, example: ##IDENTIFIER##
Replace the localized ##IDENTIFIER## entries with a non-localized DefaultDir entries. May sure you conform to MSI guidelines (i.e. include an 8.3 directory name). For example, "MyComp~1|My Company" or "MyProg~1|My Program")
Save the ISM file in ORCA
Reopen project with Installshield. Remove the corresponding string table entries (if they are not used anymore). Optionally, can resave back to XML.
After doing the above steps, I was able to build with the "Keep Unused Directories" flag set to "No" and no more -6041
[LIST=1]
I suspect when Installshield localizes the directory names, this interfers with "Remove Unused Directories" when a Release uses Release Flags. This could also be a side-effect of waiting for localized strings from the translation agency, as other languages all default to "new folder" default when the shortcut folder is created
I didn't really want to turn of the "Remove Unused Directories" flag, as that ends up produces ICE Errors and Warnings (also when using Release Flags).
For me, the Start Menu Program Folders do not need to be translated (its a proper name). So to solve the problem I did the following:
[LIST=1]
After doing the above steps, I was able to build with the "Keep Unused Directories" flag set to "No" and no more -6041
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)