Installers: Difference between revisions
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
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=" | <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 13: | ||
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=" | <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. | ||
Revision as of 22:01, 6 January 2011
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.