Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generate a stand-alone EXE file from your application.

Status
Not open for further replies.

1RobDog1

MIS
Jul 24, 2000
41
US
Hey all,

I am in a project that I need to create an exe file from my app. It should work similar to like what WinZip does when you select make exe. It compresses the data then generates the exe file. When the user executes the stand alone exe a dialog box appears asking where to extract the files to or run WinZip etc... My app will work the same way. I can't seem to find any documentation on this subject. I to will use a compression algorithm to compress the data I need with a passwords etc... Any help or code snippets to this problem is greatly appreciated. Thanks
-Robert
System Analyst/Programmer
 
Hi,

Do you want to zip your app into a .exe zip file? -use WinZip to do this.

Do want to make a setup file for you project? -use an deployment wizard.
Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
Neither methods will work for me. I need this done programmatically. I work for a hospital and we deal with patient data which by law if we submit data it needs to be secure 128bit encryption. So, our solution is to research and develop a process to make a encryption pack and a stand alone exe with the data compressed. This needs to all be done programmatically. We have tried other products but they don't work for us. This way we can control the app as well as log where our data goes and who has it. This is in response to the new HIPPA laws... Thanks
-Robert
System Analyst/Programmer
 
Did you check with the federal agency (or department) that enforces the HIPPA laws? They may have a solution to you problem. Otherwise, you may have to surf the web.
 
HAHAHA hehe sorry had to laugh at that one. They don't help you they make things worse for you!!!! Thanks
-Robert
System Analyst/Programmer
 
Hi,

I'm still not sure that i understand completely; is it your program that you wnat to compress/encrypt or is it 'just' the data.

Take a look at that might get you going.

Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
No problem, We need it to work like Winzip where the main app will compress the data file(s) then generate a 128bit encryption key on the compressed data file(s) only. Then we need it to generate a stand alone exe file for distribution. This way the client will not need any dependency files at all. I would like not to use any VB dependency files if possible if not I may consider using deploy then. If not may look into a c++ solution. VB is faster to deploy for us. Thanks for all the response I am impressed with this forum so far... By the way I tried the link and I get the 404 error page or file not found. :( Thanks again.. Thanks
-Robert
System Analyst/Programmer
 
you have to create an exe (&quot;default.exe&quot;. when you want to create a new exe with your program open the default.exe file for input and copy all in a new file, then push a control code (example Print #newExe,&quot;<CONTROLCODE->&quot;) and insert all the data that the new exe will need.
the default.exe open itselves and search the control code.
 
Hmm I understand it but vagely could you explain further? Thanks
-Robert
System Analyst/Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top