home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pmafire!news.dell.com!swrinde!sdd.hp.com!spool.mu.edu!caen!batcomputer!munnari.oz.au!bruce.cs.monash.edu.au!merlin!resmel.bhp.com.au!resmel.bhp.com.au!news
- Newsgroups: comp.os.os2.programmer
- Subject: re: How do you create a new Program Object on the WPS (with REXX)?
- Message-ID: <1993Jan25.091046.302@vulcan.resmel.bhp.com.au>
- From: paulg@a1.resmel.bhp.com.au (Paul Gallagher)
- Date: 25 Jan 93 09:10:45 +1000
- References: <1993Jan22.050018.14048@netcom.com>
- Nntp-Posting-Host: 134.18.1.52
- Lines: 21
-
- In article <1993Jan22.050018.14048@netcom.com> jhesse@netcom.com (John Hesse) writes:
- >The objective is to have the user execute an "install" CMD or EXE file
- >that creates a Program Object for the user.
-
- You may have seen the Paradox 4.0 install script, which uses
- SysCreateObject to make a WPS object
-
- Hope they don't mind me posting a fragment of the script by:
- /* Rob Gordon Borland International 6/8/92 */
-
- title = "Paradox 4.0"
- classname = 'WPProgram'
- location = '<WP_DESKTOP>'
- setup = 'PROGTYPE=WINDOWEDVDM;EXENAME='pdoxpath'paradox.exe;
- STARTUPDIR='pdoxpath';SET DPMI_DOS_API=ENABLED;
- SET DPMI_MEMORY_LIMIT=4;ICONFILE 'pdoxpath'pdoxos2.ico;'
-
- BldObj:
- call charout , 'Building : 'title
- result = SysCreateObject(classname, title, location, setup)
-
-