查找位置
查找檔案 檔案位置是查找可執行檔的最簡便方法,但是也是最脆弱的。大多數安裝程式將檔案放入任意位置,因此這通常不是最佳解決方案。請注意,此處提供的所有變數都可使用。 <Location Type="file" File="%programfiles%\Adobe\Illustrator 10\Illustrator.exe" /> 在註冊表中查找 查找可執行檔的第二簡便方法是查找該檔案在註冊表中的路徑,其中大多數安裝程式都儲存參考。它會關注安裝程式可以將檔案放入任意位置的情況。 <Location Type="registry" SubType="value"> HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\Acrobat.exe </Location>
| |||||||||||||||||||||||||
Topic 4440: Send Feedback. Download a PDF of this online book from the first topic in the table of contents. |