Sign in to follow this  
Followers 0
Francis Lennert (France)

Integrate Data in the Exe ?

6 posts in this topic

Hello all,

I would like to create a little "EXE" with two things in the same file :

1. the GUI

2. The Data

I would to send this little program to users which will :

- Write Data with the Gui

- Click on the "Ok" Button

And then, put the data in the "EXE" files.

Like that, the user will just have to send back the program to me.

The main thing will be also, for me, to take back the data from the "EXE" that I will receive.

Well, I hope that my explanations are (at minimum) clear.

Any Ideas ?

Thanks for help

Francis :">

Share this post


Link to post
Share on other sites



You can't write in the compiled script, the executable.

You will need to use the registry (RegWrite) or write to an INI file (INIWrite).

And use default data if the keys don't exist.

Share this post


Link to post
Share on other sites

Seems like a waste to get back the EXE as well as the data. Why not just send back the data?

Writing self-modifying exe files is akin to writing trojans or viruses - frowned on in most polite circles. I suggest you carefully consider if that is really what you want to do.

Share this post


Link to post
Share on other sites

Hello again,

We develop software for human ressources head hunters. So, time by time, the head hunters would like to send by email to their candidates the informations which are in their Mysql Databases.

Like that, the candidate can update his CV (which is in the email) with their new experiences and send these informations back to the users of our application.

At 44 yo, I can't be a trojan specialist B)

Francis

Seems like a waste to get back the EXE as well as the data. Why not just send back the data?

Writing self-modifying exe files is akin to writing trojans or viruses - frowned on in most polite circles. I suggest you carefully consider if that is really what you want to do.

Share this post


Link to post
Share on other sites

You could always look at command parameters in the help file.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Hi Francis,

Is there a particular benefit to storing the data in the EXE that I've missed? I ask this because I can think of a few disadvantages to this method:

  • Virus scanners/firewalls will flag the file as bad (as already mentioned); and
  • The file to be sent back will be much greater in size than the data itself (most likely).
One advantage that I can see is that if you need to send initial data along with the EXE, you will only need to send one file -- however you could simply compile the initial information into the script and have them send back a different file (created by the EXE after the user saves his/her changes).

This may be better suited to something web-based like Perl or PHP. If that is an option, it would be worth pursuing because then there will be no need to send files back and forth at all.

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