Why do I receive the error “cannot open C:\Program
Files\Stata11\STATA.LIC” on a Windows Vista machine?
Windows Vista error while creating stata.lic
Theresa Boswell, StataCorp
July 2007; minor revisions October 2012
Some users may encounter the following error message when attempting to
install Stata on a Windows Vista machine:
I cannot open
C:\Program Files\Stata11\STATA.LIC for
No Action Taken.
The default Vista or Windows 7 permission settings do not allow applications write
permissions to their respective install directories, even if you are logged
into a machine as administrator. Stata needs these permissions to create
its license file. (This issue has been resolved in Windows 8.)
To get around the problem, you must right-click the Stata executable in
the Stata install directory and select “Run as Administrator”
from the right-click menu to open Stata. Then you can enter your
authorization information, etc., and Stata will create the proper file.
If you are having trouble updating Stata on a Vista machine,