Amiga Forever by Cloanto
 
Home Products
 
 
TITLE

Locating the Installation under Windows

 

TOPIC

This article explains how to the Amiga Forever installation directories can be located by third-party software.

 

DISCUSSION

Beginning with Amiga Forever 2005, and in accordance with the latest security best practices, Windows software executables are installed inside the "Program Files" system folder (or equivalent), while Amiga executable files and all other data files are stored inside the "Amiga Files" folder. Both resources are shared and accessible by all users of the same system.

Environment Variables

The Amiga Forever installer defines two environment variables, which make it possible to locate the Amiga Forever installation (e.g. from batch files) without accessing the registry. The variables, in the "%%" format used in directory paths, are:

%AMIGAFOREVERROOT%

and

%AMIGAFOREVERDATA%

On an English-language version of Windows %AMIGAFOREVERROOT%typically points to "C:\Program Files\Cloanto\Amiga Forever". This is where all Windows executable files used by Amiga Forever are stored.

Similarly, %AMIGAFOREVERDATA% points to the "Amiga Files" folder, which contains emulation software configuration settings, and all Amiga files (ROMs, ADFs, hard disk images, etc.)

System Registry Values

The %AMIGAFOREVERROOT% path is also stored in the "Path" value of the "HKEY_LOCAL_MACHINE\SOFTWARE\Cloanto\Amiga Forever\#.#" registry entry, where "#.#" is the version number. Version numbers used so far in the registry are "1.0", "1.1", "2.0", "3.0", "4.0", "5.0", "6.0", "2005.0" and "2006.0". In case of multiple entries, higher numbers should be given priority.

The %AMIGAFOREVERDATA% path is also stored in the "AmigaFiles" value of the "HKEY_LOCAL_MACHINE\SOFTWARE\Cloanto\Amiga Forever\#.#" registry entry. The "AmigaFiles" value was introduced in Amiga Forever 2005. Version numbers used so far in the registry are "2005.0" and "2006.0". In case of multiple entries, higher numbers should be given priority.

Additional Information

The following article explains how to programmatically find the "Amiga Files" directory on Windows, independently of an Amiga Forever installation:

  • 5-112 - Use of "Amiga Files" in Amiga Forever for Windows

The following article explains where other files, including floppy disk image files, are located:

  • 5-101 - Structure and Names of Emulation and System Files

The following article has a focus on locating ROM and operating system files, both in an Amiga Forever installation, and on CD:

  • 5-110 - Location of ROM and Operating System Files

 

Article Information
Article ID: 5-102
Platform: All
Products: Amiga Forever
Additional Keywords: None
Last Update: 2007-08-28
Your feedback is always appreciated. It is safe to link to this page.