8.9 Files with Special Processing
|
The dialog opens from the toolbar.Special Files are files to be installed in predefined locations with specific processing per file . |
Files can be delivered using the
As well as delivering these files, the associated with the Type nominated determines how it is processed during installation. For example, shortcuts, X_START files or the definition of an End User License Agreement can be delivered.
To deliver files which do not require special processing use the
dialog and include these files as Non-LANSA objects, or as External Resources if they are defined in the LANSA database.Shortcuts to files such as .doc and .rtf rely on Windows file associations to work, therefore the applications that load these files must be installed separately.
All shortcuts will be created in the Application's program folder and not placed on the end user's desktop. Only the default Application shortcut is automatically placed on the desktop.
ID
|
Required. Sequential numbers are automatically generated but this can be re-sequenced as required. |
Type
|
Required. The [Shortcut] Type can be selected from drop down list. The supported types are:
Shortcuts to existing executables can be created using the .pages can be created using the . Licenses supplies a text file to be used as the License Agreement when running the MSI File. This will replace the file supplied in will run X_Run.exe with any Parameters provided. will run X_Start.exe using the original start file as the basis, with overrides applied as supplied in the Parameters. indicates the DC_W08.dat file. There are three ways to execute non-LANSA objects: Ship the object and Open it. (Shortcut text has 'Open'). This is most appropriate for non-executables, like a spreadsheet. The application that opens the object must already be installed. Ship the object and execute it with parameters. (Shortcut text has 'Start) Execute an object which is already installed with parameters. (Shortcut text has 'Start') All three, , and , can be used with any file extension that has a registered default program on the installed machine. |
Language |
Optional. Leave blank for all languages supported by the Application or select a Partition Language from the drop down list. If a language is entered, ensure this is also selected in the Languages. Files may be targeted at specific language installations. For all languages, leave the Language column empty (meaning all languages) and use a to provide an appropriate description if multiple languages are supported.For a single language, select the specific language from the drop down list of Partition Languages. Ensure the selected language is a selected as a supported package language. Enter a description appropriate for this language or use a multilingual variable. |
Description |
Optional. Multilingual variables can be selected to provide a description appropriate to each language process. If no Description is entered, the filename will be used. |
Path |
Optional. The target path where special files will be installed. The System Type may use a Path with a sub-directory, for example: The following substitution variables are supplied by MS Windows and may be specified in the Path surrounded by square brackets, for example [SystemFolder]. |
Substitution variable |
Expanded Path |
|
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\ |
||
C:\Users\Installer.NYB\AppData\Roaming\ |
||
C:\ProgramData\ |
||
C:\Program Files\Common Files\ |
||
C:\Windows\Fonts\ |
||
C:\Users\Installer.NYB\AppData\Local\ |
||
C:\Users\Installer.NYB\Pictures\ |
||
C:\Users\Installer.NYB\AppData\Roaming\Microsoft\Windows\Network Shortcuts\ |
||
C:\Users\Installer.NYB\Documents\ |
||
C:\Users\Installer.NYB\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\ |
||
C:\Program Files\ |
||
C:\Users\Installer.NYB\AppData\Roaming\Microsoft\Windows\Recent\ |
||
C:\Users\Installer.NYB\AppData\Roaming\Microsoft\Windows\SendTo\ |
||
C:\ProgramData\Microsoft\Windows\Start Menu\ |
||
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\ |
||
C:\Windows\system\ |
||
C:\Windows\system32\ |
||
C:\Temp\ |
||
C:\ProgramData\Microsoft\Windows\Templates\ |
||
C:\Windows\ |
Any path that exists in the MSI Directory table may be used in the same way. You can use Orca on an MSI (right click Edit with Orca) to see the Directory table. Following is an example of the Directory table:
For example, to reference myapp.exe in the x_win95\x_lansa\execute directory use [dir_X_Win95.X_Lansa.Execute]myapp.exe
To obtain Orca, install the Windows SDK and run Orca-x86_en-us.msi. In version 8.0 of the SDK you will find it here: C:\Program Files (x86)\Windows Kits\8.0\bin\x86
Parameters |
Optional. Depending on the File Type selected, parameters can be provided to execute with file processing. Parameters are only applicable for , , or File Types. |