在线高手请看:出现的大致情况:部署项目后,在其它机子试装提示未找到c:\winnt\ano_Data.mdf和ano_Data.ldf.安装自动回滚退出。具体的部署程序如下:
在部署项目中添加了文件选择了ano_Data.mdf和ano_Data.ldf
在部署项目自定义安装操作中,增加了自定义安装类。
安装类代码:

RegistryKey key1 = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\\Microsoft\\MSSQLServer\\Setup", false);
string text2 = StringType.FromObject(ObjectType.AddObj(key1.GetValue("SQLPath"),@"\Data"));
key1.Close();
key1 = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\\Microsoft\\WindowsNT\\CurrentVersion", false);
string text4 = StringType.FromObject(key1.GetValue("SystemRoot"));
key1.Close();

 System.IO.File.Move(text4 + @"\ano_Data.mdf", text2 + @"\ano_Data.mdf");
 System.IO.File.Move(text4 + @"\ano_Log.ldf", text2 + @"\ano_Log.ldf");

错在哪里?