Installers: Difference between revisions

From SignalWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DeveloperNav}}
It is possible for 3rd parties to develop installers to add or augment the content within simulator installation. There are 2 key directories where data is stored.
It is possible for 3rd parties to develop installers to add or augment the content within simulator installation. There are 2 key directories where data is stored.


Line 4: Line 7:
The installation folder can be determined by reading the following registry key:  
The installation folder can be determined by reading the following registry key:  


<code><font size="6">
<code><font size="4">
HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\APP_NAME
HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\APP_NAME
</font></code>
</font></code>
Line 13: Line 16:
The data folder is the folder where saved simulations and other data are stored. This folder is:
The data folder is the folder where saved simulations and other data are stored. This folder is:


<code><font size="6">
<code><font size="4">
C:\Documents and Settings\%username%\My Documents\Signalsoft\APP\
C:\Documents and Settings\%username%\My Documents\Signalsoft\APP\
</font></code>
</font></code>


where APP is the name of the application (Post T Amsterdam CS, Post T Hengelo, etc). Note that %userame% is the name of the current user.
where APP is the name of the application (Post T Amsterdam CS, Post T Hengelo, etc). Note that %userame% is the name of the current user. For Windows Vista and Windows 7, this path should still resolve to the correct folder.
 
 
{{DeveloperNavBottom}}

Latest revision as of 12:31, 13 July 2011

Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers



It is possible for 3rd parties to develop installers to add or augment the content within simulator installation. There are 2 key directories where data is stored.

Installation Folder

The installation folder can be determined by reading the following registry key:

HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\APP_NAME

where APPN_NAME is the name of the application filename (Post T Hengelo.exe, Post T Amsterdam.exe, etc). The parent folder is the installation folder.

Data Folder

The data folder is the folder where saved simulations and other data are stored. This folder is:

C:\Documents and Settings\%username%\My Documents\Signalsoft\APP\

where APP is the name of the application (Post T Amsterdam CS, Post T Hengelo, etc). Note that %userame% is the name of the current user. For Windows Vista and Windows 7, this path should still resolve to the correct folder.



Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers