Sign in to follow this  
Followers 0
uber125

self-extraction.exe help plz

5 posts in this topic

I want to make a self-extraction.exe that will extract some batch files I have made to a specific location. Like (C:\Documents and Settings\UserName\Desktop) Is there a way to ZIP or put the files in to the exe? Anyone have a link maybe someone did this already I couldn't find one. Or know how this might work or if Autoit can even do this? Not asking for some to do it for me just point me in the right direction. Thanks.

Share this post


Link to post
Share on other sites



I want to make a self-extraction.exe that will extract some batch files I have made to a specific location. Like (C:\Documents and Settings\UserName\Desktop) Is there a way to ZIP or put the files in to the exe? Anyone have a link maybe someone did this already I couldn't find one. Or know how this might work or if Autoit can even do this? Not asking for some to do it for me just point me in the right direction. Thanks.

<{POST_SNAPBACK}>

Checkout FileInstall() ... :)

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

ok I now know how do include the file .DLL and the .BAT within the exe it self

Example (I hope you understand what Im trying to do here)

Install Test.dll

Install Test.bat

FileInstall("C:\Documents and Settings\UserName\Desktop")

Kind of like winzip self extraction wizard how it already has the files in exe,

only difference here this will not give the option to the user to spiffy a location it will just go to the desktop.

Keep in mind that the computer that is running this doesnt have the fills on it yet, and by running this it will extract the files that I have already made.

Or do I have to put the code of the file in the script and have it create the file that way, with the FileWright?

Edited by uber125

Share this post


Link to post
Share on other sites

ok I now know how do include the file .DLL and the .BAT within the exe it self

Example (I hope you understand what Im trying to do here)

Install Test.dll

Install Test.bat

FileInstall("C:\Documents and Settings\UserName\Desktop")

Kind of like winzip self extraction wizard how it already has the files in exe,

only difference here this will not give the option to the user to spiffy a location it will just go to the desktop.

Keep in mind that the computer that is running this doesnt have the fills on it yet, and by running this it will extract the files that I have already made.

Or do I have to put the code of the file in the script and have it create the file that way, with the FileWright?

<{POST_SNAPBACK}>

just add the lines:

FileInstall("c:\test.dll","c:\test.dll",1)
FileInstall("c:\test.bat","c:\test.bat",1)

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0