Alfasoft

How to silent install Stata with a batch job

You can install updates to all machines silently with a batch job.. We recommend disabling the automatic update checking on a machine with the below commands in a sysprofile.do.. set update_query off. set update_prompt off Stata looks for the file sysprofile.do when it is invoked, and if it finds it, executes the commands in it. Stata looks for profile.do along your ADOPATH and in the current directory; we recommend that you put sysprofile.do in your Stata install directory.. For more information on the sysprofile.do type -help sysprofile- on your Stata command line. You can also find more information about how to automatically execute commands every time Stata starts here:. https://www.stata.com/support/faqs/programming/profile-do-file/. You can update Stata silently by running Stata in batch mode.. On Windows you will need to include /e /i switches followed by -update all- command as in:. Stata-64.exe /e /i update all. To kick off a Stata batch job run please see the FAQ:. https://www.stata.com/support/faqs/windows/batch-mode/.
Was this article helpful?

Still puzzling over something?

The agent has read this article — and everything around it. Ask a follow-up and it answers in seconds.