InstallShield安裝時出現“1152:error extracting"的解決方案
InstallShield製作的安裝檔案可能會出現”1152:error extracting"錯誤。那麼應該怎麼解決呢?
如果安裝的是英文作業系統,這個問題一般不太會出現,但是是中文系統或者韓文作業系統,這個問題就很有可能出現,不管是XP,2K,還是server。
到底為什麼會出現這種錯誤呢?
答案是安裝時可能會涉及到一些特殊的字元(例如版權符號等),而這些字元在中文系統下不一定會識別。當然可能會有其他原因。
至於最常見的原因可以參看Installshield的官方解決方案,Q107317: ERRDOC: Setup.exe Error 1152
無非就是重新下載,temp的許可權修改。
下面介紹的是我自己的安裝經歷:
我的機器是Windows server 2003,中文版的。安裝時出現上述錯誤。不得已,跑到英文版上的去安裝,成功了。於是我檢查了一下windows installer的版本,是最新版本的,然後再檢查temp的許可權,改成writable,但是還是不行。
一不小心發現安裝的介面上有幾個亂碼,於是想是不是這個方面的原因呢?突然想起3年前編譯個專案因為裡面有些法文字元,改一下區域和語言設定解決了問題。於是跑到控制皮膚裡將裡面的所有設定都修改英文的。重啟機器。然後安裝,搞定。但是同時我發現我機器上很多原來顯示正常的中文現在不正常了,於是又改了回來。
以上轉自 http://www.cnblogs.com/confach/archive/2008/05/29/1209870.html
經過嘗試,出現這個錯誤貌似只能重新安裝系統了。
我的機器同樣是server2003,中文版,我修改了計算機的語言,還有temp的許可權,(其中temp許可權的修改根本不能起作用,改為之後再次檢視發現還是隻寫的)
官方的解決方案中:http://kb.flexerasoftware.com/selfservice/viewContent.do?externalID=Q107317
導致這個問題的原因:
When a compressed network image (single compressed setup.exe) is launched, the files compressed within it will be extracted to the TEMP folder and launched from that location. If one or more files cannot be
extracted, then error 1152 occurs.
大概意思是 安裝過程中會在安裝包中抽出一個安裝檔案,到temp資料夾下,然後啟動這個 安裝檔案,現在不能安裝大概就是拷貝檔案到這個目錄下或者從這個目錄啟動的時候失敗了,我在彈出 這個錯誤的時候檢視temp資料夾下的內容發現一個
安裝包檔案,直接點選安裝,安裝到一半提示失敗,提示有檔案沒有找到,感覺在中文系統下路徑不能解析正確。
官方的解決方案不知道怎麼實施:
- To find the name of the default Temp directory, launch the DOS prompt on the machine, type 'Set T', and then hit the 'Enter' key. This will display the values of all the environment variables that have names that start with 'T', including TEMP.
- Open Windows Explorer. Using the directory name found in Step 1, locate the TEMP folder, right-click on it, and choose properties. Verify that the Read-Only check box is not checked.
- If you are running the installation on a Windows 2000 or Windows NT Operating System that is using a NTFS partition, verify that the user running the setup has permissions to write to this folder.
- Right-click the TEMP folder, and choose properties. Now select the Security tab. A list of users will be viewable within this tab. The permissions for each user will be viewable underneath. You can add additional users and change permissions if needed. Permissions should not be an issue if running on Windows 9X systems.
- Re-download and rerun the installation.
- If the installation is being run from a network location, try running it locally.
我將安裝報考到win7系統下已經正常安裝。
這個問題真麻煩。。
相關文章
- 安裝npm報錯,安裝淘寶映象cnpm時出現問題及解決方案NPM
- 安裝VMware出現“Error 1406”的解決辦法Error
- 安裝MySql出現Error Nr.1045的解決辦法MySqlError
- ubuntu 20.04 安裝 vim 出錯的解決方案Ubuntu
- win10系統安裝時出現“無法繼續安裝”的解決方法Win10
- composer 安裝擴充套件出現 "PHP Fatal error: Allowed memory ..."的解決辦法套件PHPError
- 從根本解決windows安裝JDK出現error:could not open ‘...jvm.cfg‘的問題WindowsJDKErrorJVM
- ant構建時出現錯誤解決方案
- scp時候出現ssh Connection refused的解決方案
- 工程make時出現"時鐘錯誤的問題"的解決方案
- CocoaPods安裝出現SSL verification errorError
- oracle 安裝時先決條件檢查失敗的解決方案Oracle
- ArchLinux出現ACPI ERROR的解決方法LinuxError
- CDH安裝時出現的坑
- yarn add cross-env 出現 protocol error, symlink 解決方案YarnROSProtocolError
- mac Os下全域性安裝vue cli3.0出現的報錯解決方案MacVue
- 安裝adobe 直裝版應用出現Error無法繼續安裝,檔案已損壞解決方法Error
- Linux安裝mysql出現ERROR! The server quit without updating PID file問題解決LinuxMySqlErrorServerUI
- MySQL解除安裝重灌解決方案MySql
- 安裝sass報錯解決方案
- npm安裝失敗解決方案NPM
- yum安裝軟體時,出現"No package XXX available"的解決辦法PackageAI
- 在Linux上安裝Oracle時DISPLAY問題解決方案LinuxOracle
- 簡單幾步解決win10安裝軟體出現error launching installer的問題Win10Error
- Python: 安裝 sklearn 包出現錯誤的解決方法Python
- mysql安裝出現 conflicts with mysql*的解決辦法MySql
- 安裝額外DC時出現”RPC服務不可用”解決方法RPC
- Laravel安裝horizon報錯解決方案Laravel
- win安裝wordcloud報錯解決方案Cloud
- 【Oracle】11gR2的安裝Grid執行root.sh出現ohasd failed解決方案OracleAI
- InstallShield X製作安裝程式
- 安裝CentOS7出現dracut:/#……time解決辦法CentOS
- windows10更新提示安裝一些更新時出現問題解決方法Windows
- 【python】pip安裝庫時出現Read timed out.解決辦法Python
- 在solaris 10 中安裝vmware tool 進入CDE介面時出現亂碼的解決方法
- 移動端點選連結時出現灰色背景解決方案
- 安裝jive時出現這樣的問題:
- win10彈出usb時出現該裝置正在使用的解決方法Win10