Skip Ribbon Commands
Skip to main content

Distribution

:

Application Configuration Notes: Oracle Calendar Client

Documentation and logs for UVM OS and application distribution methodologies
Our Oracle Client installer is sweet... it installs the product, and also sets the default Calendar profile to use the UVM OC Server.
 
Documentation on how to customize the installer are available at Oracle.com, inside of the Oracle Collaboration Suite documentation set (although it was a bit difficult to find...):
 
First, we need to genrate an administative installation point for the OC Client:
  • run “cal_win_1012.exe /A” to extract the contents of the install shield application

Then, we then drop a custom unison.ini file into the installation point, overwriting the existing file:

  • copy the unison.ini file from a properly configured client’s Application Data directory. Strip out the user-specific lines. Paste it over the unison.ini in the install directory.

Next, install silently using "msiexec /i "Oracle Calendar.msi" /qb (or use the /qn switch for a fully silent install)

Annoyingly enough, the Oracle Calendar installer places start menu shortcuts only in the profile of the user who installs the application.  Further complicating life is the apparent uselessness of the shortcuts that are created... the OCal.exe link does not appear to contain a path to the executable, and the README link points to the folder that contains the readme.htm, not the file itself.

To work around this problem, I have added the free tool "XXMKLINK" to the installation archive:
(XXMKLINK URL removed due to apparent site compromise).
I have added logic to the install script to detect the installation platform, and create legitimate links to the executable and readme for ALL USERS:


:OSVer
REM Determine current OS Version
set OSVer=noSup
ver | find /i "5.1." && set OSVer=XP
ver | find /i "6.0." && set OSVer=Vista
echo OS Version is %OSVer%
IF %OSVer%==XP GOTO XPShort
IF %OSVer%==Vista GOTO VistaShort
IF %OSVer%==noSup GOTO unsupported

:XPShort
REM copy Oracle Calendar shortcut to Start Menu using XP directory structure
rmdir /s /q "%userprofile%\Start Menu\Programs\Oracle Calendar"
mkdir "%AllUsersProfile%\Start Menu\Programs\Oracle Calendar"
XXMKLINK.EXE "%AllUsersProfile%\Start Menu\Programs\Oracle Calendar\Oracle Calendar.lnk" "%programfiles%\Oracle\Calendar\OCal.exe" "" "%programfiles%\Oracle\Calendar"
XXMKLINK.EXE "%AllUsersProfile%\Start Menu\Programs\Oracle Calendar\Oracle Calendar Readme.lnk" "%programfiles%\oracle\calendar\readme.htm"
goto END

:VistaShort
REM copy Oracle Calendar shortcut to Start Menu using Vista directory structure
rmdir /s /q "%appdata%\microsoft\windows\start menu\programs\oracle calendar"
mkdir "%programdata%\Microsoft\Windows\Start Menu\Programs\Oracle Calendar"
XXMKLINK.EXE "%programdata%\Microsoft\Windows\Start Menu\Programs\Oracle Calendar\Oracle Calendar.lnk" "%programfiles%\Oracle\Calendar\OCal.exe" "" "%programfiles%\Oracle\Calendar"
XXMKLINK.EXE "%programdata%\Microsoft\Windows\Start Menu\Programs\Oracle Calendar\Oracle Calendar Readme.lnk" "%programfiles%\oracle\calendar\readme.htm"
goto END


Here are the contents of our current unison.ini:
(Note that the "offlineab" parameter previously present in the [GENPREFS] section is no longer valid under OC Client v10.1.2.3 and later.  The Offline Addressbook is no longer a supported feature.)


[WEBLINK]
mode=off
[CONNECTIONS]
Conn_00_Type=offline
Conn_00_Name=Offline
default=1
Conn_01_Type=normal
Conn_01_Name=UVM Calendar
Conn_01_Desc=
Conn_01_Serv=calendar.uvm.edu
Conn_01_MNCapability=FALSE
Conn_01_ConfiguredForNode=FALSE
Conn_01_Nodes=10000,CIT
Conn_01_Node=10000
Conn_01_Auth_00_Short=cs-basic
Conn_01_Auth_00_Long=CST Basic Authentication
Conn_01_Auth_00_NeedsItem=TRUE
Conn_01_Auth_00_ChangePassword=TRUE
Conn_01_Auth_01_Short=cs-standard
Conn_01_Auth_01_Long=Standard Authentication
Conn_01_Auth_01_NeedsItem=TRUE
Conn_01_Auth_01_ChangePassword=TRUE
Conn_01_NumAuths=2
Conn_01_Auth=cs-standard
Conn_01_Comp_00_Short=cs-simple
Conn_01_Comp_00_Long=Run Length Encoding Compression
Conn_01_Comp_01_Short=none
Conn_01_Comp_01_Long=None
Conn_01_NumComps=2
Conn_01_Comp=cs-simple
Conn_01_Encr_00_Short=cs-acipher1
Conn_01_Encr_00_Long=Affine Cipher
Conn_01_Encr_01_Short=cs-light
Conn_01_Encr_01_Long=Light Encryption
Conn_01_Encr_02_Short=none
Conn_01_Encr_02_Long=None
Conn_01_NumEncrs=3
Conn_01_Encr=cs-acipher1
numConnections=2
enableSingleSignIn=FALSE