View unanswered posts | View active topics It is currently 23 Oct 2014 06:23



Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Batch File to EXE and Hide Files 
Author Message

Joined: 25 Feb 2012 22:12
Posts: 8
Post Batch File to EXE and Hide Files
Hey guys I just registered and I am looking for a little help with a project that I am working on.

I created a batch file design to install certain things onto an Android device. Then I converted into an EXE using

Advance BAT to EXE Converter v2.50

Now everything works like its supposed to no problems there.

I can even give the EXE an icon. Its a pretty neat program that I found.

But what I need help with is actually taking the files and sub folders that hold even more files and include them in my EXE.

Can anyone help me with how would I combine all the files and folders with my EXE that way they cannot be seen?

Thank You very much in advance



25 Feb 2012 22:19
Profile
Online

Joined: 10 Feb 2012 02:20
Posts: 4319
Post Re: Batch File to EXE and Hide Files
What is the purpose of this program?


25 Feb 2012 23:57
Profile

Joined: 25 Feb 2012 22:12
Posts: 8
Post Re: Batch File to EXE and Hide Files
This allows you to install android apps, which are in .apk extensions using adb mode. I prompt users to select the app and then it installs it for them.

I just dont want it to be a folder with all the dlls adb.exe for adb commands, the folders and apks etc.


I want to combine them all into one exe.

Thanks


26 Feb 2012 01:38
Profile
Online

Joined: 10 Feb 2012 02:20
Posts: 4319
Post Re: Batch File to EXE and Hide Files
So how does the batch file install apps on the android device?

You can create a self extracting archive file with everything inside.


26 Feb 2012 03:19
Profile

Joined: 23 Dec 2011 13:59
Posts: 1935
Post Re: Batch File to EXE and Hide Files
Sounds like you need a different batch packager. The ones I have used in the past allow to include any additional resource files you need.


26 Feb 2012 11:29
Profile

Joined: 25 Feb 2012 22:12
Posts: 8
Post Re: Batch File to EXE and Hide Files
Squashman wrote:
Sounds like you need a different batch packager. The ones I have used in the past allow to include any additional resource files you need.



Do you mind sharing what program/s you have used to include the source files please.

Thank You


26 Feb 2012 12:34
Profile

Joined: 25 Feb 2012 22:12
Posts: 8
Post Re: Batch File to EXE and Hide Files
foxidrive wrote:
So how does the batch file install apps on the android device?

You can create a self extracting archive file with everything inside.




It installs the apps by doing the following command: adb install name.apk


Then it installs the app onto the phone.

I also have it check the Android OS version to verify that the apk will work on that version.


26 Feb 2012 12:42
Profile

Joined: 25 Feb 2012 22:12
Posts: 8
Post Re: Batch File to EXE and Hide Files
A quick note.

I don't want the files to ever be decompiled or unzipped.

I want the EXE to Remain whole.

Thanks Again


27 Feb 2012 00:39
Profile
Online

Joined: 10 Feb 2012 02:20
Posts: 4319
Post Re: Batch File to EXE and Hide Files
spiderman187 wrote:
I don't want the files to ever be decompiled or unzipped.


AFAICS It can't be done.

If you have an application that runs and calls files from a folder structure, then it will not run unless the folder structure and files are available on the hard drive or other media, at least temporarily.


27 Feb 2012 03:30
Profile

Joined: 25 Feb 2012 22:12
Posts: 8
Post Re: Batch File to EXE and Hide Files
I see what you mean.

Any suggestions on how to make it so that the files are temporary ?

Thank you


27 Feb 2012 10:41
Profile

Joined: 23 Dec 2011 13:59
Posts: 1935
Post Re: Batch File to EXE and Hide Files
spiderman187 wrote:
A quick note.

I don't want the files to ever be decompiled or unzipped.

I want the EXE to Remain whole.

Thanks Again

That is all a BAT to EXE converter does. It packages up all your files into a Self extracting archive. When you execute the exe it unpacks the archive and executes your batch file. Then it deletes what it unpacked.


27 Feb 2012 11:18
Profile
Expert

Joined: 04 Oct 2008 09:49
Posts: 357
Post Re: Batch File to EXE and Hide Files
TrueCrypt will encrypt partitions or folders or possible files to render inaccessible any information on the disc.
It will decrypt and supply the original in plain text/code without placing the plain text/code on the disc.

I think the technology exists to prevent the average user from gaining access to your decrypted code.
I suspect however there would be ways of capturing the contents of memory.


27 Feb 2012 13:18
Profile
Online

Joined: 10 Feb 2012 02:20
Posts: 4319
Post Re: Batch File to EXE and Hide Files
Squashman wrote:
That is all a BAT to EXE converter does. It packages up all your files into a Self extracting archive. When you execute the exe it unpacks the archive and executes your batch file. Then it deletes what it unpacked.


That's what an install wrapper type of program would do too.

Traditionally a bat to exe program just makes an executable out of a bat file - I hadn't been aware that modern ones wrap up folders and files too.


27 Feb 2012 14:59
Profile

Joined: 25 Feb 2012 22:12
Posts: 8
Post Re: Batch File to EXE and Hide Files
foxidrive wrote:

That's what an install wrapper type of program would do too.

Traditionally a bat to exe program just makes an executable out of a bat file - I hadn't been aware that modern ones wrap up folders and files too.


I did find a program that includes files but when you run the exe it extracts the files into the folder. One step closer lol.

I wish it made them temp but this program doesn't do that. As soon as I find it I will post it here.

Thank You guys again for all your help.

:lol:


27 Feb 2012 15:13
Profile

Joined: 24 Aug 2009 10:11
Posts: 14
Post Re: Batch File to EXE and Hide Files
Hi,

Quote:
I wish it made them temp but this program doesn't do that.


Bat To Exe-Converter (http://www.f2ko.de/programs.php?lang=en&pid=b2e has this feature.

To add folders/sub-folder, the only solution I can think of would be:
1. 7zip the folders.
2. Add the parameters (7z.exe x folder.7z) in the batch-script to extract the archives when executed.
3. Add the 7zip binaries (7z.exe, 7z.dll) and 7zipped files to the Bat To Exe-Conveter program.

The program also have a feature to password protect the exe and delete temp when finished.


28 Feb 2012 07:35
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next


Who is online

Users browsing this forum: dbenham, Google [Bot], Yahoo [Bot] and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Forum style by Vjacheslav Trushkin for Free Forums/DivisionCore.