Stata
Products Purchase Support Company
Search
   >> Home >> Resources & support >> FAQs >> Installing Stata from the Windows command line Bookmark and Share

How can I install Stata 11 from the command line without GUI under Windows?

Title   Installing Stata from the Windows command line
Author Hua Peng, StataCorp
Date June 2009

  1. To install Stata 11 from the command line without GUI, use the /qn option.
  2. To add features, use ADDLOCAL. There are two required features:
    Ado Stata ado-files
    Core Other required Stata files and dlls
    The following features need to be installed based on your license and operating system:
    StataMP6464-bit Stata/MP
    StataSE6464-bit Stata/SE
    StataIC6464-bit Stata/IC
    StataMP3232-bit Stata/MP
    StataSE3232-bit Stata/SE
    StataIC3232-bit Stata/IC
    StataSMSmall Stata
  3. The following properties can be used to control the behavior of the installation:
    USEPERSONALDIRDefault to 1
    INSTALLDIR1Default to “C:\data”
    ALLUSERDefault to 1
    USERNAMEDefault to current user
  4. Examples (drive E: is arbitrary and represents the DVD drive)
    To install 64-bit Stata/MP for all users:
           E:\setup.exe /qn ADDLOCAL=Ado,Core,StataMP64
    
    To install 32-bit Stata/SE for all users:
           E:\setup.exe /qn ADDLOCAL=Ado,Core,StataSE32	
    
    To install 64-bit Stata/IC for all users, and using the “C:\data” folder as the default working directory:
           E:\setup.exe /qn ADDLOCAL=Ado,Core,StataIC64 USEPERSONALDIR=0
    
    To install 32-bit Stata/IC for all users, and using the “C:\statadata” folder as the default working directory:
           E:\setup.exe /qn ADDLOCAL=Ado,Core,StataIC32 USEPERSONALDIR=0 INSTALLDIR1="C:\\statadata"
    
FAQs
What's new?
Statistics
Data management
Graphics
Programming Stata
Mata
Resources
Internet capabilities
Stata for Windows
Stata for Unix
Stata for Mac
Technical support
Resources & support
FAQs
Technical support
NetCourses
Short courses
Users Group meetings
Statalist
Links
Software updates
Software archives
Customer service
Manuals & supplements
Stata Journal
STB
Stata News
Stata Automation
Plugins

Site overview
Products
Resources & support
Company
Site index

© Copyright 1996–2009 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index