MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically.

Share this post

Link to post

Share on other sites

hi guys i am new at autoit, but i can't find how to add exe file in the script... I am create script and whan i compile my file is only 295kb but program is 19mb...

program is VLC 1.1.5 when i start script from the autoit everything is fine and install work perfectly, but only in the autoit working, i have write "RUN" and the vlc is in the same folder and then is perfectly, but what i need to type to get vlc inluced in the script whan i compile, exe compile file just run and run, in the task manager i have cca 15 VLC apps runing, but

how i can inlcude vlc in the script, what options file install, installer?

sorry if i have mistakes in the english i am croatian thnx in advanced

Share this post

Link to post

Share on other sites

hi guys i am new at autoit, but i can't find how to add exe file in the script... I am create script and whan i compile my file is only 295kb but program is 19mb...

program is VLC 1.1.5 when i start script from the autoit everything is fine and install work perfectly, but only in the autoit working, i have write "RUN" and the vlc is in the same folder and then is perfectly, but what i need to type to get vlc inluced in the script whan i compile, exe compile file just run and run, in the task manager i have cca 15 VLC apps runing, but

how i can inlcude vlc in the script, what options file install, installer?

sorry if i have mistakes in the english i am croatian thnx in advanced

When you compile the script, you are not compiling the source files necessary for the installation. You're just compiling the script. You have to supply the executable for the installation and make references to there location in the script. An AutoIT script is just a gloried batch file.

Share this post

Link to post

Share on other sites

Need a little help. Just confussed what is the best try to make script to do what i want to do.

I want to make a script:

1. ask a workstation name and set to the computer.

2. restart same.

3. if there is installed .net, go to next step, if isnt, install it...

Is it possible to make script which would be in startup and do these first steps?

Is it possible to make script which would be usable to test is it name of computer setups after restart?

If using IF command how to check is there some folder or file and not having IFNOTEXIST...

I'll made script with something like this: IF FILEEXIST("C:\Folder") then goto

but there isnt goto command. If there is something like IF FILEnotEXIST("C:\Folder") it would be much easyer...

Any help?

My idea is to make script to make useable computer after driver installation. Setup workstation name, install .net, install messenger, Office, divx codecs, and at last join the workstation to domain...