Ignore:
Timestamp:
Apr 10, 2011, 10:44:11 PM (13 years ago)
Author:
George Lilly
Message:

version 2.3 of GuiMail

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GuiMail/trunk/p/CWMAINI.m

    r1138 r1139  
    1 CWMAINI ;INDPLS/PLS - KIDS INITS FOR GUIMail INSTALL ;30-Jul-1999 10:42;PS;
    2         ;;2.1;CWMA GuiMail;;Jan 06, 1999
     1CWMAINI ;INDPLS/PLS - KIDS INITS FOR GUIMail INSTALL ;20-Jul-2005 14:46;CLC;
     2        ;;2.3;CWMAIL;;Jul 19, 2005
    33        ; Environment Check
    44EC      D VCHK("RPC BROKER",1.1)  ;RPC Broker
     
    2424        D ^CWMAPP  ;populate package parameters
    2525        D EN^CWMACPPI  ;convert CWMAIL1 to Generic Parameter Utility
    26         D PDEL890  ;prompt for deletion of File 890 CW GUI VISTA MAIL USER
     26        D UPCURVER(2.3)     ;make sure current version is updated
     27        ;D PDEL890  ;prompt for deletion of File 890 CW GUI VISTA MAIL USER
    2728        D MMSG  ;send mail message indicating package installation
    2829        Q
     
    3334        S CWSUBJ="GUIMail Installation at "_$G(^XMB("NETNAME"))
    3435        S ^TMP($J,"CWBODY",1)="GUIMail has just been installed at: "_$G(^XMB("NETNAME"))_"."
    35         S ^TMP($J,"CWBODY",2)="Version #: 2.1"    ;_$$VERSION^XPDUTL("CWMA")  ;set version number
     36        S ^TMP($J,"CWBODY",2)="Version #: 2.3"    ;_$$VERSION^XPDUTL("CWMA")  ;set version number
    3637        S ^TMP($J,"CWBODY",3)="Installer: "_$P($G(^VA(200,+$G(DUZ),0)),U)
    3738        S CWRECP("G.GUIMAIL@INDIANAPOLIS.VA.GOV")=""
     
    4950        S DIU="^CWMAIL1(",DIU(0)="DST" D EN^DIU2
    5051        Q
     52UPCURVER(VER)   ;
     53        N IEN,CWFDA
     54        S IEN=$$FIND1^DIC(9.4,"","B","CW GUIMail","B","","OUT")
     55        I IEN D
     56        .Q:$G(^DIC(9.4,IEN,"VERSION"))=VER
     57        .S CWFDA(9.4,IEN_",",13)=VER
     58        .D FILE^DIE("","CWFDA")
     59        Q
    5160READY(CWPRMPT,CWDEF)    ; Prompts user for input
    5261        ;Input - CWPRMPT - will set DIR("A" to this value
Note: See TracChangeset for help on using the changeset viewer.