Previous     Contents     Index     Next     
Setup Util Programmer's Guide



Chapter 21   Uxres.h Library Reference


This chapter describes uxres.h, the library containing UNIX-specific Setup Util string definitions as well as methods for setting and retrieving them. It contains the following sections:



Methods

Uxres.h contains the following methods.


setResource

This method sets a string value for a given resource ID. See Definitions" below for a list of default resource IDs.

void setResource(const char *id, const char *text);


getResource

This method returns the string value for a given resource ID. See Definitions" below for a list of default resource IDs.

NSString getResource(const char *id);



Definitions

Uxres.h contains the following definitions. The values for the definitions are in uxres_data.cc, which is in the setuputil/installer/unix directory.


Initialized in Information Files

The following resource IDs are initialized in your master and package information files. If you need to change their values during installation, you can do so using setResource.

RES_GLOBAL_VENDOR SETUP_INF_VENDOR

RES_GLOBAL_PRODUCT SETUP_INF_NAME


For Use in Dialogs

Table 21-1 lists resource IDs that you can use when creating UNIX dialogs.


Table 21-1 Resource IDs and default values for use when creating UNIX dialogs.

Resource ID

Default Value

RES_DIALOG_WELCOME_TEXT  

"dialog_welcome_text"  

RES_DIALOG_WELCOME_TEXT2  

"dialog_welcome_text2"  

RES_DIALOG_WELCOME_PROMPT  

"dialog_welcome_prompt"  

RES_DIALOG_LICENSE_TEXT  

"dialog_license_text"  

RES_DIALOG_LICENSE_PROMPT  

"dialog_license_prompt"  

RES_DIALOG_SELECTION_TEXT1  

"dialog_selection_text1"  

RES_DIALOG_SELECTION_TEXT2  

dialog_selection_text2"  

RES_DIALOG_SELECTION_TEXT3  

"dialog_selection_text3"  

RES_DIALOG_CLIENTORSERVER_TEXT  

"dialog_clientorserver_text"  

RES_DIALOG_CLIENTORSERVER_PROMPT  

"dialog_clientorserver_prompt"  

RES_DIALOG_INSTALLTYPE_TEXT  

"dialog_installtype_text"  

RES_DIALOG_INSTALLTYPE_PROMPT  

"dialog_installtype_prompt"  

RES_DIALOG_SERVERROOT_TEXT  

"dialog_serverroot_text"  

RES_DIALOG_SERVERROOT_PROMPT  

"dialog_serverroot_prompt"  

RES_DIALOG_CLIENTROOT_TEXT  

"dialog_clientroot_text"  

RES_DIALOG_CLIENTROOT_PROMPT  

"dialog_clientroot_prompt"  

RES_DIALOG_HOSTNAME_TEXT  

"dialog_hostname_text"  

RES_DIALOG_HOSTNAME_PROMPT  

"dialog_hostname_prompt"  

RES_DIALOG_SSUSER_TEXT  

"dialog_ssuser_text"  

RES_DIALOG_SSUSER_PROMPT  

"dialog_ssuser_prompt"  

RES_DIALOG_REMOVEINSTALLINFO_TEXT  

"dialog_removeinstallinfo_text"  

RES_DIALOG_REMOVEINSTALLINFO_PROMPT  

"dialog_removeinstallinfo_prompt"  

RES_DIALOG_LDAPINFO_TEXT  

"dialog_ldapinfo_text"  

RES_DIALOG_LDAPINFO_PROMPT  

"dialog_ldapinfo_prompt"  

RES_DIALOG_INSTALLDN_TEXT  

"dialog_installdn_text"  

RES_DIALOG_INSTALLDN_PROMPT  

"dialog_installdn_prompt"  

RES_DIALOG_LDAPUSER_TEXT  

"dialog_ldapuser_text"  

RES_DIALOG_LDAPUSER_PROMPT  

"dialog_ldapuser_prompt"  

RES_DIALOG_USERDIRECTORYINFO_TEXT  

"dialog_userdirectoryinfo_text"  

RES_DIALOG_USERDIRECTORYINFO_PROMPT  

"dialog_userdirectoryinfo_prompt"  

RES_DIALOG_USERDIRECTORYADMIN_TEXT  

"dialog_userdirectoryadmin_text"  

RES_DIALOG_USERDIRECTORYADMIN_PROMPT  

"dialog_userdirectoryadmin_prompt"  

RES_MESSAGE_VERIFYLDAPINFO1  

"message_verifyldapinfo1"  

RES_MESSAGE_ASKINSTALLDNNEXT1  

"message_askinstalldnnext1"  

RES_MESSAGE_VERIFYLDAPUSER1  

"message_verifyldapuser1"  

RES_MESSAGE_VERIFYLDAPUSER2  

"message_verifyldapuser2"  

RES_MESSAGE_VERIFYLDAPUSER3  

"message_verifyldapuser3"  

RES_MESSAGE_VERIFYLDAPUSER4  

"message_verifyldapuser4"  

RES_MESSAGE_VERIFYLDAPUSER5  

"message_verifyldapuser5"  

RES_MESSAGE_VERIFYLDAPUSER6  

"message_verifyldapuser6"  

RES_MESSAGE_VERIFYINSTALLPRIVILEGE1  

"message_verifyinstallprivilege1"  

RES_MESSAGE_VERIFYINSTALLPRIVILEGE2  

"message_verifyinstallprivilege2"  

RES_MESSAGE_VERIFYINSTALLPRIVILEGE3  

"message_verifyinstallprivilege3"  

RES_MESSAGE_VERIFYINSTALLPRIVILEGE4  

"message_verifyinstallprivilege4"  

RES_MESSAGE_CHECKSERVERROOT1  

"message_checkserverroot1"  

RES_MESSAGE_CHECKSERVERROOT2  

"message_checkserverroot2"  

RES_MESSAGE_CHECKCOMPONENTDEPENDENCY1  

"message_checkcomponentdependency1"  

RES_MESSAGE_CHECKCOMPONENTDEPENDENCY2  

"message_checkcomponentdependency2"  

RES_MESSAGE_CHECKCOMPONENTDEPENDENCY3  

"message_checkcomponentdependency3"  

RES_MESSAGE_CHECKCOMPONENTDEPENDENCY4  

"message_checkcomponentdependency4"  

RES_MESSAGE_CHECKCOMPONENTDEPENDENCY5  

"message_checkcomponentdependency5"  

RES_MESSAGE_CHECKCOMPONENTDEPENDENCY6  

"message_checkcomponentdependency6"  

RES_MESSAGE_VERIFYSSUSER1  

"message_verifyssuser1"  

RES_MESSAGE_VERIFYSSUSER2  

"message_verifyssuser2"  

RES_MESSAGE_VERIFYSSGROUP1  

"message_verifyssgroup1"  

RES_MESSAGE_VERIFYSSGROUP2  

"message_verifyssgroup2"  

RES_MESSAGE_VERIFYSSGROUP3  

"message_verifyssgroup3"  

RES_MESSAGE_VERIFYSSGROUP4  

"message_verifyssgroup4"  

RES_MESSAGE_UNINST_VERIFYSELECTION1  

"message_uninst_verifyselection1"  


Previous     Contents     Index     Next     
Copyright (C) 2005 Red Hat, Inc. All rights reserved.
This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at http://www.opencontent.org/openpub/

Last Updated September 21, 2001