Solved

Combine/Merge VB.Net Application & Resources into Single EXE

Posted on 2014-12-17
1
611 Views
Last Modified: 2014-12-19
I have a VB.NET application, written in visual studio 2012 and targetted to .NET 3.5. I've set it up to detect multiple languages (English, French, Italian, Spanish & German), using the resource file method. The app works, and I've published it. But I end up with 1 application.exe (200kb), plus 4 directories with an application.resources.dll file (100kb) in. I'd like to deploy this as a small standalone app. Is it possible to combine/merge all files into 1 application.exe? I've tried using MS's ILMERGE.exe and it creates a single 600kb merged-application.exe but when I run on a foreign language system, it only runs in English not with the localization that the non merged application does.

Files I have are:
application.exe
\FR\application.resources.dll
\IT\application.resources.dll
\DE\application.resources.dll
\ES\application.resources.dll

I tried ILMERGE.exe with the following command line:
ilmerge.exe c:\temp\application.exe c:\temp\fr\application.resources.dll c:\temp\es\application.resources.dll c:\temp\de\application.resources.dll c:\temp\it\application.resources.dll /out:c:\temp\NewApp.exe
NewApp.exe is created, but resource language don't seem to work now.

How can I get a single EXE with all the language resources working?
0
Comment
Question by:bjblackmore
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 82

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 40504479
Simple answer is you can't but in your installer you can choose not to install the other unneeded languages
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question