Archived:Showing a manufacturer disclaimer during application installation on Symbian
This code snippet demonstrates how to display a manufacturer disclaimer when an application is being installed. This behavior is required at least for VoIP applications that are meant to be sent to Symbian for signing.
This snippet can be self-signed.
This is an example of the disclaimer text by Symbian for VoIP applications:
You are about to use <APPLICATION NAME>, which is
developed and owned by <YOUR COMPANY NAME>. The
manufacturer of this device shall have no liability for
any aspect of the application whatsoever, including its
performance, call routing, intellectual property rights
To display the disclaimer to the user, add the following line to the PKG file of your application:
"..\data\disclaimer.txt" - "", FILETEXT, TEXTEXIT
The FILETEXT install option indicates that a file is to be displayed to the user during the installation procedure. The file itself is not installed on the target device (the target location is empty).
The TEXTEXIT install option displays a dialog box with "positive" and "negative" buttons, such as Ok and Cancel. If the dialog returns true (the user pressed Ok), the software installer continues with the installation. If the dialog returns false (the user pressed Cancel), the software installer is exited and any files that have already been installed are removed.
A manufacturer disclaimer is displayed when the application is installed. The user is given the option to continue with the installation or abort it.
- Showing a manufacturer disclaimer during the first launch on Symbian
- Advanced Package File Options, for more information about the options that you can specify in the pkg file
- Symbian Signed Test Criteria (especially the test case CAP-03)
- How to conform with Symbian Signed criteria