差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

java:installanywhere:slashinstallpathproblemonwindows [2016/02/03 18:18]
tony [How to resolve?]
java:installanywhere:slashinstallpathproblemonwindows [2023/06/25 09:48]
行 1: 行 1:
-{{tag>​InstallAnywhere java}} 
-====== Forward-Slash的安裝路徑,在Windows上無法正常反安裝 ====== 
-===== Problem ===== 
-在Windows上,silent mode properties中的USER_INSTALL_DIR,建議使用double backward-slash去當分隔號:​ 
-<​code>​ 
-USER_INSTALL_DIR=C:​\\Product\\Sub-Product1 
-</​code>​ 
-然而有時為了和Linux一致,會改用:​ 
-<​code>​ 
-USER_INSTALL_DIR=C:/​Product/​Sub-Product1 
-</​code>​ 
-透過2008產生的Installer使用起來相當正常,而在2015則會發生無法移除的問題:​\\ 
-{{:​java:​installanywhere:​ia_no_product_id.png|}}\\ 
-\\ 
-在移除資料夾後,按新增移除程式的移除可能會發生以下錯誤:​\\ 
-{{:​java:​installanywhere:​ia_cant_uninstall_add_remove_panel.png|}}\\ 
-\\ 
-發生這個問題後,我是直接刪除以下Registry好重新安裝:​ 
-<​code>​ 
-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\${MyProduct} 
-</​code>​ 
-===== How to resolve? ===== 
-在GUI模式下,即使你輸入forward-slash,InstallAnywhere也會強制把你轉成back-slash。如果把它列為使用上限制,還是有使用者會不小心踩雷;而且forward-slash不能用,有些難搞的使用者也會提出質疑。因此我最後想到的方法是,直接將forward-slash轉為back-slash。 
-===== Reference ===== 
-  * [[https://​community.flexerasoftware.com/​showthread.php?​176519-Evaluate-empty-string|如何使用空字串?​]] 
-  * [[http://​www.jb51.net/​article/​53022.htm|如何在windows batch echo不跳行?​]] 
  
-=====    ===== 
----- 
-\\ 
-~~DISQUS~~