Find LocationThe Finding Files A file location is the easiest way to locate the executable, but also the most brittle. Most installers can put their files into arbitrary locations, so this is generally not the best solution. Note that all variables are available here. <Location Type="file" File="%programfiles%\Adobe\Illustrator 10\Illustrator.exe" /> Finding in the Registry The second easiest way to locate the executable is to find the path to it in the registry, where most installers store a reference. This will take care of the case where the installer can put the files in arbitrary locations. <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. |