470,815 Members | 1,313 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

Creating a self extractable file for the files (a.exe, b.dll, e.doc)

I have to create a C# windows application that will take 4 different kind of files (a.exe, b.dll, c.doc etc....) and the application should generate a .exe say "MySetup.exe" file (self extracting exe).

On clicking the "MySetup.exe" the files should get extracted to a folder. After extracting the files, it should register the "b.dll" and start "a.exe".

requesting your help on this....

Lucky
Feb 4 '08 #1
1 1776
radcaesar
759 Expert 512MB
1. Srart a windows app to create an EXE
2. Copy those files into a folder using System.IO
3. Register the dll using regsvr32.exe and start the process for a.exe using the System.Diagnostics namespace.

Reply me if i had missed anything.

Thanks.


I have to create a C# windows application that will take 4 different kind of files (a.exe, b.dll, c.doc etc....) and the application should generate a .exe say "MySetup.exe" file (self extracting exe).

On clicking the "MySetup.exe" the files should get extracted to a folder. After extracting the files, it should register the "b.dll" and start "a.exe".

requesting your help on this....

Lucky
Feb 4 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by John Spiegel | last post: by
1 post views Thread by Remote_User | last post: by
1 post views Thread by sony.m.2007 | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.