Jump to content
Sign in to follow this  
roofninja

question about compiling

Recommended Posts

roofninja

I have a question...

When you compile a script into an EXE can you include other EXEs that are not an autoit made file or program?


RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

Share this post


Link to post
Share on other sites
roofninja

Sure.. That can be done with FileInstall() .

:)

My next question is do you call the external exe different in the program?


RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

Share this post


Link to post
Share on other sites
ReaImDown

My next question is do you call the external exe different in the program?

hmmm read up on run() and shellexecute()


[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]

Share this post


Link to post
Share on other sites
DirtDBaK

use the help file!


[center][/center]

Share this post


Link to post
Share on other sites
roofninja

I have used run and runwait but not shellexecute. I did not know about that one.


RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

Share this post


Link to post
Share on other sites
roofninja

use the help file!

I do use the help files. They really do help. I have learned a lot from them but I don't alway remember everything I read. I have always tried to find the answers in the help files or in the forums BEFORE I post a question or problems. I don't like to duplicate what other people have already solved.


RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

Share this post


Link to post
Share on other sites
roofninja

Sure.. That can be done with FileInstall() .

:)

I tried it but it doesn't work for me. It just copies the file from a static location to a chosen location and it does not even execute in the program. I will have to do some more reading.


RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

Share this post


Link to post
Share on other sites
ReaImDown

I tried it but it doesn't work for me. It just copies the file from a static location to a chosen location and it does not even execute in the program. I will have to do some more reading.

use fileinstall() to place the .exe wherever you'd like, then use shellexecute to run the file


[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]

Share this post


Link to post
Share on other sites
roofninja

I wanted to give a BIG thanks for everyone who helped me with this. I finally understand what it does and how useful it to a compiled program.

For future reference, I used dircreate to create all of the folders that I need. I then used fileinstall to include and install all of the files need to run the program correctly. I then used dirremove to delete what the user does not need to see. This gives the program portability for me.

Thanks, again.


RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

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  

×