![](/includes/ir18/stata18-dvd-case.png)
Title | Installing Stata 16 from the Windows command line | |
Author | Hua Peng, StataCorp |
core | Required Stata files and dlls |
---|
StataMP64 | 64-bit Stata/MP |
---|---|
StataSE64 | 64-bit Stata/SE |
StataIC64 | 64-bit Stata/IC |
USEPERSONALDIR | Default to 1 |
---|---|
INSTALLDIR1 | Default to “C:\data” |
ALLUSERS | Default to 1 |
USERNAME | Default to current user |
E:\SetupStata16.exe /s /v"/qn ADDLOCAL=core,StataMP64"To install 64-bit Stata/IC for all users, and using the "C:\data" folder as the default working directory:
E:\SetupStata16.exe /s /v"/qn ADDLOCAL=core,StataIC64 USEPERSONALDIR=0"To perform a silent uninstall from command line:
E:\SetupStata16.exe /s /x /v"/qn"
1. Create the folder stata16_install in the C: drive.
2. Launch cmd.exe as an Administrator.
3. Use cd to move into the folder where SetupStata16.exe is located.
4. Type
SetupStata16.exe /s /x /b"C:\stata16_install" /v"/qn"5. Stata 16.msi will be in C:\stata16_install\.
Method 2
1. Run SetupStata16.exe once it is on a Windows machine.
2. Search for Stata 16.msi; it is usually in the following location:
C:\Users\YOURUSERNAME\AppData\Local\Downloaded Installations\{682DAB62-6978-4241-BAA3-EE94996DF4B4}
How can I install Stata 15 from the command line without GUI under Windows?