Help with utl_file package

hi
I need to write a procedure using utl_file package to read the data from excel sheet and then checking the avaibility
of that data in existing library. can anybody suggest me how to start with?

Probably is better if you export your Excel as a CSV file and then map it to an external table.
By the way, you could read the Excel file directly if you can use ODBC driver (which can be a bit tricky in an Unix system)
Bye,
Antonio

Similar Messages

  • Need help with Nagios package

    I'm attempting to build a Nagios package, and I'm pretty close, actually have it installed and running, BUT...
    when I run the web interface, it calls some CGI files, and I get an error that it can't find them.  It can't find them because it's looking for them in /repo/packages/nagios/usr/sbin/nagios/sbin  (with '/repo/packages/nagios' being our local repo where the package was built, and '/usr/sbin/nagios/sbin' being where it should be looking for the CGI files.)
    I cheated by setting up that path and copying the files over, just to get it working, but obviously my PKGBUILD needs some help.  I think the problem is pretty simple (just like me) and probably has to do with a configure prefix (with 'cgiurl' being the likely culprit.)
    Here's my package build, any help would be greatly and fantasticly appreciated.
    pkgname=nagios
    pkgver=1.2
    pkgrel=6
    pkgdesc="host and service monitor designed to inform of network problems"
    url="http://nagios.org/"
    license=()
    depends=()
    makedepends=()
    conflicts=()
    replaces=()
    backup=()
    source=('http://internap.dl.sourceforge.net/sourceforge/nagios/nagios-1.2.tar.gz')
    md5sums=('414d70e5269d5b8d7c21bf3ee129309f')
    build() {
    mkdir $startdir/pkg/usr
    mkdir $startdir/pkg/usr/sbin
    mkdir $startdir/pkg/usr/sbin/nagios
    mkdir $startdir/pkg/etc
    mkdir $startdir/pkg/etc/rc.d
    cd $startdir/src/$pkgname-$pkgver
    ./configure --prefix=$startdir/pkg/usr/sbin/nagios --with-cgiurl=/nagios/cgi-bin --with-html=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios --with-init-dir=$startdir/pkg/etc/rc.d
    make all
    make install
    make install-init
    make install-config
    Thanks much

    manica wrote:
    When you have a Nagios PKGBUILD ready, could you please make it available to others?  That would be great.
    Thank you,
    Darin
    Definitely, if I ever get it working properly.  However, since I have it working it working well enough for our purposes, I won't be putting a whole lot of time in the PKGBUILD.
    Thanks to Cactus for the advice above, but the build failed (don't have the error message handy.)
    This was for Nagios 1.2, I may try building a package for Nagios 2.0b4 and see if I have any luck.

  • Help with workflow - Package etc.

    We just started using Package to update our running file... a small publication twice monthly, with lots of photos, pdf's etc. instead of the links file getting bigger and bigger with age, package will bring forward only what's repeating, right? - Looks good so far. Now we want to generate our print version, mostly b&w, some spot color, but offer advertisers the option of sending color ads to be used on the web version. First impression is, they're gungho... Haven't figured out how to get this accomplished just yet. Thought to make up the regular file, save, make plates etc. then copy, swap the color stuff in and make PDF's for the web... but where to put the color stuff, in the regular link folder, it'll start growing immediately, but maybe still manageable. Making sense? Any good ideas would be welcome... the web version is frontlinebuses.com  (((it's elementary, we know... we're really bus folks, not design artists...)))..  Thanks   By the way,  still using CS3.  L W

    L Welch wrote:
    Somehow in our process we've avoided problems, every issue opens and works perfect (has for years now). We do use a save-as often, they may be the key... We're looking at several ways to accomplish the color for web thing.
    Well, that's what everyone says rith up to the point where the file fails catastrophically, usually just before deadline. Consider yourself luck and living a good life.
    Save As isn't going to get rid of cumulative corruption, it just either overwrites or creates a new copy of the file with the same corrupt components. It will remove useless change history, though. When you start fresh from the template each time you are always saving a second-generation file so the odds of problems are vastly smaller than the odds with a 52nd generation file.

  • Upgrade 10gR2 to 11gR2 with apps 11.5.10.2  - Please help with rpm package

    Hi
    OS : Oracle Enterprise Linx 4 update 5
    DB: 10.2.0.4
    Apps: 11.5.10.2
    I am upgrading my current 10.2.0.4 db with 11.5.10.2 apps TO 11.2.0 db and apps 11.5.10.2
    When I am installing 11g software only. I am getting the following error
    Package: ocfs2-tools-1.2.7
    it says this is prereq for 11g and also shows actula value ocfs2-tools-1.2.4.-1
    I have installed ocfs2-tools-1.2.4.1 from my oel 4 cd. Problem is it is expecting ocfs2-tools-1.2.7-1
    I have searched everywhere on oss.oracle.com and google. did not find ocfs2-tools-1.2.7.-1 package , can anyone please help me.
    same issue with glibc-2.3.4-41 package
    expected value = glibc-2.3.4-41
    actual value = glibc-2.3.4-2.36
    Thanks

    Srini,
    Thanks your reply
    It says I need to register. So , is it paid site or how to complie my own rpm from source with public key which is mentioned on the website
    Oracle's Enterprise Linux: OCFS2 Tools 1.2.7-1 packages for EL4 and EL5 are available on the Unbreakable Linux Network. Subscribers can upgrade to this release by issuing the following command:
    $ up2date --install ocfs2-tools ocfs2console
    What is this up2date, when I run that it is asking for username and password. Please give me instructions.
    Thanks
    Rao

  • Help with utl_file (read/write file from local directory)

    Need help reading/writing file on local machine from plsql using 10.2 DB.
    I am trying to read/write a file from a local directory(laptop) without success.
    I have been able to read/write to the database server directory but can't write to directory on local machine.
    The utl_file_dir parm has been set to * and the db restarted but I can't get it to work... Here's the plsql statement.
    out_file := UTL_FILE.FOPEN ( 'C:\PLSQL', 'TEST.TXT', 'W' ,32767);
    Whenever I run it continues to write to c:\PLSQL dir on the database server. Have looked at the "Directory" object and created MY_DIR = C:\PLSQL but it writes to the db server.
    Running 10.2 on a remote windows server, running PLSQL using sql*navigator.
    Thanks in advance for your help..

    I don't see how you expect the server to be able to see your laptop across the network, hack into it and start writing files. Even if it could, what if there is more than one laptop with a C: drive? How would it know which one to write to?
    Is there a shared drive on the server you can access via the laptop?

  • Problem with utl_file package

    Hi guys.
    I was trying I/O in oracle using utl_file packege the codes written my me was:
    DECLARE
    Temp UTL_FILE.File_Type;
    BEGIN
    Temp:=UTL_FILE.Fopen('/DOGS','TEST.txt','w');
    UTL_FILE.Put(Temp,'Hell');
    UTL_FILE.FFLUSH(Temp);
    UTL_FILE.Fclose(Temp);
    EXCEPTION
    WHEN UTL_FILE.INVALID_PATH THEN
    DBMS_OUTPUT.PUT_LINE('PATH');
    WHEN UTL_FILE.INVALID_FILEHANDLE THEN
    DBMS_OUTPUT.PUT_LINE('HANDLE');
    END;
    but its going state to exception invalid_path can any one help me out please.
    the entry in init.ora file was
    utl_file_dir="c:/help"
    please help me out please ur help will be appreciated. thanx
    nikhil
    null

    Nikhil,
    If we consider the following line from your code:
    Temp:=UTL_FILE.Fopen('/DOGS','TEST.txt','w');
    The first parameter in the FOPEN function ('/DOGS') is not a file system directory name, but an Oracle DB directory name. You need to create the directory thus:
    CREATE DIRECTORY dogs AS 'C:\help' ;
    You then need to permit the database server to access the physical directory by setting UTL_FILE_DIR as follows:
    UTL_FILE_DIR = 'C:\help'
    in init.ora. Don't forget to bounce the DB!
    Now you can open the file with:
    Temp:=UTL_FILE.FOPEN('dogs','TEST.txt','w');

  • Please help with importing packages

    I am trying to learn the Java Advanced Imaging (JAI) API. I have successfully installed java2SDK.
    I downloaded the JAI library (jai-1_1_2-rc-lib-windows-i586.exe) and have installed it.
    After installation, I added the JAI lib to the CLASSPATH.
    CLASSPATH = C:\java\jai-1_1_2-rc\lib
    when I try compiling a demo program from this tutorial page:
    http://developer.java.sun.com/developer/onlineTraining/javaai/jai/src/FrontPage.java
    I get these errors,
    package javax.media.jai does not exist
    import javax.media.jai.JAI;
    how do I know which directory to copy the JAI lib files to so that
    this import statement can find JAI
    import javax.media.jai.JAI;
    please help if you can
    Thanks
    John

    Hi,
    You have to give the full path of the jar file in classpath along with the jar file name
    something like CLASSPATH = C:\java\jai-1_1_2-rc\lib\jai.jar ...see the jar file name and include that also

  • Some help with dbms_metadata package

    Hi
    I starting to use the package DBMS_Metadata for return metadata and I have some questions
    Firts
    I have a table TBMETADATA (subject varchar2, result clob)
    object = 'table', 'procedure', etc.
    result = keep output dbms_metadata.get_dll
    Now if I drop a table x from my database. How can I to run the script for this table x, stored in TBMETADATA.
    Any idea

    hi user,
    try with this,
       select a from
        select dbms_lob.substr(result,4000) a  from TBMETADATA
       ) where a like '%X%'
       Since you are not saving the table name in the TBTEMPDATA table im searching the same using like operator.
    Hope this helps.
    Regards
    Sankar MN

  • Need help with a package

    I'm don't know anything about packages or much at all as flash is concern. I'm trying to help the company I work for with a banner for the site... I have everything working fine as long as I do it from my desktop but the moment I put it on the site is blank.. I figure out the it may have something to do with my 1st line. I made a directory on the site with the exact same folder structure but I may be missing something. I thing that maybe it because if i rename or move the folder from where is at on the desktop it gives error in flash. How would i go about doing the import so it will read from a website directory.
    package
    import cn.com.aven.*;
    import flash.display.MovieClip;
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    import flash.events.MouseEvent;
    import flash.events.Event;
    import flash.events.IOErrorEvent;
    import flash.display.Sprite;
    import flash.display.Loader;
    import flash.net.navigateToURL;
    import flash.text.TextField;
    import flash.text.TextFieldAutoSize;
    import flash.text.TextFormat;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    public class BannerRotatorMain extends MovieClip

    The class files are used for creating the file that you will place on the server, the fla and as file do not get placed on the server, just the html, swf, and possibly others.  What files did you load to the server?  Do you have a URL you can share?

  • Please help with bean package problem - serlvet can't find package

    Hi,
    I'm fairly new to java web development, and I can't make any good learning progress due to an error I just can't seen to fix. It seems humiliatingly trivial, but I can't get past it.
    Explanation:
    I'm experimenting with beans, and I've created a very simple servlet called AppSetup to create a LinkBean instance and store it in the servlet context for later retrieval. My problem is that the servlet wont compile because it's telling me the package in which the LinkBean class file is in doesn't exist.
    The servlet is in package org, and the bean is in package org.bean. This is the import statement in the servlet:
    Code:
    import org.bean.*;I've also tried:
    Code:
    import org.bean.LinkBean;and
    Code:
    import bean.*;I've tried all sorts of different package structures, but I get the same following error for all of them:
    Quote:
    C:\tomcat\webapps\chub\WEB-INF\classes\org>javac AppSetup.java
    AppSetup.java:14: package org.bean does not exist
    import org.bean.*;
    ^
    AppSetup.java:19: cannot find symbol
    symbol : class LinkBean
    location: class org.AppSetup
    LinkBean lb;
    ^
    AppSetup.java:23: cannot find symbol
    symbol : class LinkBean
    location: class org.AppSetup
    lb = new LinkBean();
    ^
    3 errors
    edit
    Server is Tomcat 5.5
    Any help would be greatly appriciated. Thanks.

    The bean class has to be in the classpath. The classpath variable informs the compiler\jvm where to find the .class files that are being referred.
    To set a classpath,
    javac -classpath C:\tomcat\webapps\chub\WEB-INF\classes;C:\tomcat\webapps\chub\WEB-INF\lib;C:\tomcat\common\lib;.; AppSetup.javaThere are 3 paths in the classpath variable above.
    1.\WEB-INF\classes => Your class files
    2. \WEB-INF\lib => Your app library files (.jar files)
    3. \common\lib => common library .jar files
    4 The dot (.) => current directory.
    Read about classpaths [url http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javac.html]here
    ram.

  • Help with fixing package

    Almost a year ago, the SVN URL for the redeclipse-svn package changed. At that time, it was orphaned, so I adopted the package and fixed the URL in the PKGBUILD. Since then, I stopped playing the game. Now, when I try to install it on my new computer, the package function fails. Being inexperienced with PKGBUILDS, etc., I would like some help in fixing the package.
    Here's the package function:
    cd "$srcdir/$_svnmod"
    make -C src/ DESTDIR="$pkgdir" prefix=/usr \
    appname=redeclipse cappname=REDECLIPSE \
    appsrcname=redeclipse \
    system-install
    install -Dm644 doc/all-licenses.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    And here's what I get when I try to makepkg:
    ==> Entering fakeroot environment...
    ==> Starting package()...
    make: Entering directory '/home/sub/aur/redeclipse-svn/src/redeclipse/src'
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse
    cp -r ../data /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/redeclipse/data
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/man/man6
    cp: cannot create directory '/home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/redeclipse/data': No such file or directory
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin
    system-install.mk:98: recipe for target 'system-install-data' failed
    make: *** [system-install-data] Error 1
    make: *** Waiting for unfinished jobs....
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/doc/redeclipse
    install -m755 redeclipse /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse/redeclipse
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/redeclipse
    sed -e 's,@LIBEXECDIR@,/usr/lib,g' \
    -e 's,@DATADIR@,/usr/share,g' \
    -e 's,@DOCDIR@,/usr/share/doc,g' \
    -e 's,@APPNAME@,redeclipse,g' \
    -e 's,@CAPPNAME@,REDECLIPSE,g' \
    ../doc/man/redeclipse.6.am | \
    gzip -9 -n -c > /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/man/man6/redeclipse.6.gz
    install -m755 redeclipse_server \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse/redeclipse-server
    sed -e 's,@LIBEXECDIR@,/usr/lib,g' \
    -e 's,@DATADIR@,/usr/share,g' \
    -e 's,@DOCDIR@,/usr/share/doc,g' \
    -e 's,@APPNAME@,redeclipse,g' \
    -e 's,@CAPPNAME@,REDECLIPSE,g' \
    ../doc/man/redeclipse-server.6.am | \
    gzip -9 -n -c > /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/man/man6/redeclipse-server.6.gz
    cp -r ../doc/examples /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/doc/redeclipse/examples
    cp ../doc/guidelines.txt /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/doc/redeclipse/guidelines.txt
    install -m755 install/nix/redeclipse-server.am \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin/redeclipse-server
    printf "\
    g,@LIBEXECDIR@,\
    s,@LIBEXECDIR@,/usr/lib,g\n\
    g,@DATADIR@,\
    s,@DATADIR@,/usr/share,g\n\
    g,@DOCDIR@,\
    s,@DOCDIR@,/usr/share/doc,g\n\
    g,@APPNAME@,\
    s,@APPNAME@,redeclipse,g\n\
    w\n" | ed -s /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin/redeclipse-server
    install -m755 install/nix/redeclipse.am \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin/redeclipse
    printf "\
    g,@LIBEXECDIR@,\
    s,@LIBEXECDIR@,/usr/lib,g\n\
    g,@DATADIR@,\
    s,@DATADIR@,/usr/share,g\n\
    g,@DOCDIR@,\
    s,@DOCDIR@,/usr/share/doc,g\n\
    g,@APPNAME@,\
    s,@APPNAME@,redeclipse,g\n\
    w\n" | ed -s /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin/redeclipse
    install -m644 ../data/config/version.cfg \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/redeclipse/version.cfg
    ln -s /usr/share/redeclipse/version.cfg \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse/version.cfg
    ln -s /usr/share/redeclipse/data \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse/data
    make: Leaving directory '/home/sub/aur/redeclipse-svn/src/redeclipse/src'
    ==> ERROR: A failure occurred in package().
    Aborting...
    The error seems to be here:
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/man/man6
    cp: cannot create directory '/home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/redeclipse/data': No such file or directory
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin

    Sorry for derailing this.  Karol, the size was only an issue for me - that doesn't seem to be related to the OPs problems.  I don't know where the 800MB figure came from, but nearly 2GB of space were used up before the svn checkout stalled due to running out of space - the download never even completed.  I didn't try again after that as my download speed isn't that good and it would take a long while to just confirm what I already suspected about the Makefile.

  • Help with Mail Package

    Hi all,
    I have a interface PROXY - MAIL.
    I need to generate the attachment name dynamically, send an attachment and fill the body of email. I'm using Mail Package, according to note 748024.
    But I do not know how to fill the body of email and send attachment.Could someone help me?
    For the attachment name dynamically, I used the link: http://wiki.sdn.sap.com/wiki/display/SI/DynamicEmailAttachmentnameforReceivedMails

    Francis,
    Issue resolved.
    I didn't use the adapter module.
    I use the Mail Package and follow the links:
    /people/samuel.chandrasekaran2/blog/2008/10/06/xi-mail-adapter-dynamically-building-attachment-and-message-body-content-using-a-simple-udf
    send a mail with a body and attachment
    Thanks.

  • Help with dbms_xmlparser package

    Hello.
    release:
    SQL*Plus: Release 9.2.0.8.0 - Production on Jue Abr 5 22:50:21 2007
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Conectado a:
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.8.0 - ProductionI do not know why in this db I am having this error in a sql session with pl/sql block (it works ok in different environments):
    sqlplus>r
      1  declare
      2    newParser constant dbms_xmlparser.parser:=dbms_xmlparser.newParser;
      3  begin
      4    null;
      5  exception
      6    when others then
      7      dbms_output.put_line(sqlerrm);
      8* end;
    declare
    ERROR en línea 1:
    ORA-06502: PL/SQL: error : longitud de variable raw demasiado grande numérico o de valor
    ORA-06512: en "XDB.DBMS_XMLPARSER", línea 60
    ORA-06512: en línea 2

    Maybe the error message in English can help:
    [email protected]> r
      1  declare
      2    newParser constant   dbms_xmlparser.parser:=dbms_xmlparser.newParser;
      3  begin
      4    null;
      5  exception
      6    when others then
      7      dbms_output.put_line(sqlerrm);
      8* end;
    declare
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: raw variable length too long
    ORA-06512: at "XDB.DBMS_XMLPARSER", line 60
    ORA-06512: at line 2

  • Need help with function (package)

    HI,
    Here is my scenario
    I have a package (stored procedure), and 3 functions and 1 procedure. Procedure calls all the functions to fetch data. I am having a trouble in accessing one of the functions. I need to count the number of records satisfy my where clause. Following is my example.
    FUNCTION S_LEVEL (ME_NO IN VARCHAR2, STDATE IN DATE, ENDATE IN DATE) RETURN NUMBER AS LEVEL NUMBER;
    SELECT COUNT(*)
    FROM --- xS, -- SP
    WHERE XS.SRVNBR = SP.NBR
    AND XS.MEMBER_NBR = ME_NO
    AND ((XS.DIR IN ('2824','28241','28242','5173','28952')
    and xs.date between stdate and endate;
    RETURN LEVEL;
    END s_level
    Now when I call this function from procedure (through a Crystal report), it never return anything and just freeze. Could someome please guide me what I am doing wrong or how it is supposed to be done?
    Please help me, I will really appreciate your time and efforts.

    Khurram,
    It's always a bad idea to use a reserved word to name something, regardless whether Oracle allows it or not.
    Sooner or later you'll run into trouble.
    SQL> create or replace
      2  FUNCTION S_LEVEL RETURN NUMBER
      3  AS
      4    v_cnt NUMBER;
      5  --  level NUMBER := 999;
      6  begin
      7    SELECT level
      8    INTO   v_cnt
      9    FROM   dual
    10    CONNECT BY rownum < 2;
    11
    12    RETURN v_cnt;
    13
    14  END s_level;
    15  /
    Function created.
    SQL> select s_level from dual;
       S_LEVEL
             1
    SQL> create or replace
      2  FUNCTION S_LEVEL RETURN NUMBER
      3  AS
      4    v_cnt NUMBER;
      5    level NUMBER := 999;
      6  begin
      7    SELECT level
      8    INTO   v_cnt
      9    FROM   dual
    10    CONNECT BY rownum < 2;
    11
    12    RETURN v_cnt;
    13
    14  END s_level;
    15  /
    Function created.
    SQL> select s_level from dual;
       S_LEVEL
           999
    SQL>

  • Help! Need help with preflight package script

    I am trying to write a package with Iceberg to push Office 2004 to 250 Macs. I need a preflight script with a condition that will stop my script if /Applications/Microsoft Office 2004 exists OR if OFFICE 2004 exists. Don't know if searching on the folder name is the best or if there is better way
    If it doesn't exist I want it to continue with with placing Office 2004 in the /Applications folder.
    I don't know how to do conditions (If, then, end)
    PREFLIGHT SCRIPT
    IF /Applications/Microsoft Office 2004 folder exist = STOP
    IF /Applications/Microsoft Office 2004 folder doesn't exist continue with laying down files/folder in the package.
    LAYDOWN FILES
    LAY DOWN FILES IN ICEBERG FILE SECTION OF THE PACKAGE
    POSTFLIGHT SCRIPT
    #!/bin/sh
    #Change to root directory
    cd /
    # Move Microsoft Office X folder to Messages Received folder
    mv /Applications/Microsoft\ Office\ X /Messages\ Received
    #Open Office 2004 Installer
    open /Applications/Utilities/Installers/Office2004Installer
    ALL Mac OS X (10.4.6)
    ALL Mac OS X (10.4.6)
    ALL   Mac OS X (10.4.6)  

    A simple condition (not using iceberg) would be:
    #!/bin/sh
    if [ -e "/Applications/Microsoft Office 2004.app" ]
    then
    echo "Microsoft Office 2004 exists, aborting installation"
    exit 1
    fi
    open -a "/Applications/Utilities/Installers/Office2004Installer"
    If Microsoft Office 2004 is installed then the script will exit with a message. If Microsoft Office 2004 is not there then the last line will be executed and the installer will open.
    PowerBook G4   Mac OS X (10.4.8)   MacBook Pro

Maybe you are looking for

  • Error in Extended Receiver Determination

    Hello Experts, We are working on a scenario where, we are using Extended Receiver Determination. In this reveiver determination mapping we are doing JDBC lookup and some receivers are determined on that basis. Also, we have a default receiver in mapp

  • Is there a way to show the end dates of the previous month stand out?

    is there a way to show the end dates of the previous month in bold or make it stand out? so 30,31 and 1st of this month don't all look the same? For example the 30,31st get a regular text since they are a part of the the last month and this month get

  • Java 2D Robot Maze

    Can anyone provide some guidance or perhaps a working solution to this problem as I need this very urgently: Implement an animation program based on Java 2D which simulates the navigation of a tiled maze by a robot. The maze should be splitted into N

  • Problems with firefox in xfce

    I'm not sure if this is a firefox or xfce's fault, but when I try to open a file or a folder (open containing folder) from the download manager in firefox it does nothing. Any clue?

  • SQL Query on URL parameter

    I have a "list of values" that has one option in it with the value 10,153,155 Now on the next page I'm expecting something like this: AND a.OFF_LOC IN NVL(:srch_facility,a.OFF_LOC) where :srch_facility is the passed parameter...Now since 10,153,155 c