Changes

Stata

1,164 bytes added, 01:38, 1 November 2013
New page
To Stata's credit they have made it easy to install Stata. They provide an MSI that is happy being installed with the /qn switch and you can select the exact version of Stata to install. However there is no official way to license Stata. Whne you license Stata it creates a LICENSE.LIC file in it's directory, simply copying it on install seems to do the trick, although you will need to be careful with your licensing.


<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages>

<package
id="stata13"
name="Stata 13"
revision="%PKG_VERSION%"
reboot="false"
priority="10">

<variable name="PKG_VERSION" value="13.0" />

<check type="uninstall" condition="version" path="Stata 13" version="%PKG_VERSION%" />

<install cmd='msiexec /i %SOFTWARE%\stata\stata13\Stata13MSI.msi /qn ADDLOCAL=Ado,Core,StataIC64' />
<install cmd='%COMSPEC% /c copy /y "%SOFTWARE%\stata\STATA.LIC" "C:\Program Files (x86)\Stata13\"' />
<upgrade include="install" />
<remove cmd='' />
</package>
</packages>
</source>


[[category:Silent Installers]]
47
edits