1. 程式人生 > 實用技巧 >InstallShield Build Error -1014: Cannot rename directory <PATH> to <PATH>\folder.Bak.

InstallShield Build Error -1014: Cannot rename directory <PATH> to <PATH>\folder.Bak.

InstallSheild執行Build結果錯誤:

  

  

  錯誤詳細資訊:

  Cannot rename directory <PATH> to <PATH>\folder.Bak. Windows Explorer or a DOS prompt may be pointing to a subfolder of the release output folder (Disk1) or to the Interim folder, locking it. Change the current directory. Close any open files in the Disk1 folder. Close Msidb.exe if it is open.

  解決辦法:Open Release Folder

  

  將Disk1資料夾刪除

  

  具體刪除方法:

  開啟“工作管理員”——選擇“效能”標籤下的“資源監視器”——在“CPU”標籤下的“關聯的控制代碼”欄輸入該檔案或資料夾的名稱。

  比如,我要刪除的資料夾叫“Disk1"——待搜尋出結果後逐個右擊關聯的程序,並選擇結束程序。——待所有的關聯程序都結束完畢後(右擊搜尋出的程序,此時“結束程序”是灰色的),再對檔案或資料夾進行操作就行了。

  個人覺得,當你不知道哪個程式在佔用時,這個方法很不錯,很實用。親測!

  

***當然如果系統重啟也是可以自動釋放解決問題的。