arryo Posted November 11, 2009 Share Posted November 11, 2009 Hi, Im programming a program with AutoIT. Its very complex, it has multiple functions etc. Means I need multiple .exe. So my questions: 1. Is it possible to make an install .exe with autoit? My Solution: When one of the Scripts gets started the first time, it just moves all the files to Program Directions and creates there a new folder. But that's a strange solution. 2. Should I use the writereg functions for configuration? Is that possible? Or do certain users cant write something in the register without permission? (-> script doesnt work then! :=( ) 3. Any tips? =) Link to comment Share on other sites More sharing options...
Mat Posted November 11, 2009 Share Posted November 11, 2009 Hi,Im programming a program with AutoIT. Its very complex, it has multiple functions etc. Means I need multiple .exe.It shouldn't have to.So my questions:1. Is it possible to make an install .exe with autoit?My Solution:When one of the Scripts gets started the first time, it just moves all the files to Program Directions and creates there a new folder.But that's a strange solution.Look at "fileinstall", there are in fact a few very good examples of professional looking installers (TheSaint made one, and there is one called AIS somewhere too), search the forums.2. Should I use the writereg functions for configuration?Is that possible? Or do certain users cant write something in the register without permission? (-> script doesnt work then! :=( )You can do that no problem, most programs do. AutoIt has very nice inbuilt registry functions. Some computers do disable programs from accessing the registry, in which case a ".ini" file would do the job (Ini functions also exist built in)3. Any tips? =)If it's nice then post it in example scripts when your done Mat AutoIt Project Listing Link to comment Share on other sites More sharing options...
omikron48 Posted November 11, 2009 Share Posted November 11, 2009 Use FileInstall. Either that or find some software that makes installers, not everything always needs to be done using AutoIt. Just what kind of functions would merit multiple .exe(s)? Link to comment Share on other sites More sharing options...
whim Posted November 11, 2009 Share Posted November 11, 2009 Just what kind of functions would merit multiple .exe(s)?i was asking myself the same question - my 5000+ lines of AI code compilesto less than 325K ... Link to comment Share on other sites More sharing options...
arryo Posted November 11, 2009 Author Share Posted November 11, 2009 It shouldn't have to.The problem is - The GUI laggs hard when I start a script. Its like disabled until the action is finished. That's my problem.Thank you very much! Link to comment Share on other sites More sharing options...
Developers Jos Posted November 11, 2009 Developers Share Posted November 11, 2009 The problem is - The GUI laggs hard when I start a script. Its like disabled until the action is finished. That's my problem.Thank you very much!You could still do it with one Script. What I end up doing in these type of situations where a separate process is needed I start a new instance of the same program with an specific parameter.So when the script is started without any Parameter it shows the GUI and when a Parameter is specified it starts that particular Function that needs to run.Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now