Stata – Creating an Installer

Creating an installer for the various versions of Stata:

On Windows:

  • 1) After installing and keying the correct version on a test PC, collect the keyed application and the “stata.lic” file (these are both different for each variant, IC, SE, MP)
  • 2) Place copies of those in the ./payload/wclicense/ folder in the installer directory
  • 3) Change the command in the “Install-RightClick-Run as Admin.bat” file to reflect the correct version.
 ./setupstata15.exe /qn /ADDLOCAL=Ado,Core,StataIC64
 or
 ./setupstata15.exe /qn /ADDLOCAL=Ado,Core,StataSE64

On MacOS:
Everything is contained within the Stata Folder in the applications folder.

  • 1) Install the correct version
  • 2) Key the app
  • 3) Package the Stata folder with “Packages”
  • 4) Zip the package and distribute
This entry was posted in Software and tagged , . Bookmark the permalink.

Comments are closed.