15,886,362 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Fadi F (Top 10 by date)
Fadi F
2-Apr-13 9:26am
View
Yes I want to modify already built executable assembly to include my files in its resources section and retrieve them later.
Fadi F
2-Apr-13 6:39am
View
Why do you feel it is an abuse. I think it is how self extracting or decrypting archive works.
Here are a couple of links that explain the same
http://stackoverflow.com/questions/4939513/creating-a-pgp-sda-in-c-sharp-using-the-bouncy-castle-api#
http://www.codeproject.com/Articles/39/Creating-a-Self-Extracting-Executable
Fadi F
1-Apr-13 17:41pm
View
That way I have to make a new build each time I want to embed new files which is not my case. Actually, I am building a utility application that allows certain users(developers), to select files and embed them in other executable that is to be delivered to other users(support people) that can execute it on client machines.
Fadi F
1-Apr-13 16:50pm
View
I didn't get the idea, do you mean I can just rename the files to .resx before embedding them?
Please note that my intention is to create a tool that can embed .exe, .sql and .ddl files at runtime
Fadi F
1-Apr-13 16:27pm
View
I was able to use BeginUpdateResource/UpdateResource/EndUpdateResource methods to embed .exe and .dll files in my executable.
Fadi F
1-Apr-13 16:00pm
View
I think as you mentioned above this works only for .resx files
Fadi F
1-Apr-13 15:52pm
View
No, they are normal files. I am trying to implement a self extracting archive for maintenance purposes that can include any kind of file.
Fadi F
1-Apr-13 15:35pm
View
Yes, the resources are in the executing assembly. Here is a sample project and a screenshot of the resource hacker showing my embedded files: http://sdrv.ms/11Tz5FD
Is there any way I can extract the files out from an executing assembly?
Fadi F
1-Apr-13 15:02pm
View
But I can see my resources using Resource hacker or other tools and the size of the executable exceeds by the total size of the embedded files.
Fadi F
30-Mar-13 8:52am
View
GetManifestResourceNames() cannot find the embedded resources
Show More