I have a named instance of SQL Server 2005 Express SP4 installed with the following command line:
setup /qb INSTANCENAME=MYINSTANCE ADDLOCAL=SQL_Engine SAPWD=my_psswd SQLACCOUNT="NT AUTHORITY\SYSTEM" SECURITYMODE=SQL DISABLENETWORKPROTOCOLS=0
I upgrade the instance to SQL Server 2012 Express SP2 with the following command line:
SETUP /Q /ACTION=UPGRADE /IACCEPTSQLSERVERLICENSETERMS /UpdateEnabled=0 /INDICATEPROGRESS /INSTANCENAME=MYINSTANCE
The upgrade completes successfully.
I then uninstall all SQL Server components using add/remove programs.
If I then re-install SQL Server 2005, and then attempt the upgrade to 2012 a second time, then the upgrade fails. The error description in the log is:
"The directory property cannot be found in the cache."
Is there any way to get the upgrade to work a second time on the same computer?
John