Baanboard.com

Go Back   Baanboard.com > Forum > Baan SIGs > Code & Utilities

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
37%
Installation Wizard into new VRC
39%
Manual into existing VRC
3%
Manual into new VRC
21%
Total votes: 38

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 10th January 2003, 16:05
montanac's Avatar
montanac montanac is offline
Junior Member
 
Join Date: Dec 2001
Location: Italy - Reggio Emilia
Posts: 14
montanac is on a distinguished road
Baan: Baan IV & BaanERP 5.0c & LN - DB: Informix, B-ISAM. Oracle, MS-SQL - OS: Linux, Windows, AIX, HP-UX
Best Baan Installation tools ever written

Hi all,

I am enclosing the best ever written installation tools:


Claudio Montanari
Senior Technical Manager KNOW-HOW Italy

Tel: +39 0522 232357
Fax: +39 0522 277364
Mobile: +39 348 7307217
E mail: claudio.montanari@know-how.it
Web: http://www.know-how.it

Code:
|******************************************************************************
|* Title	: tcmcsinstall - Install Based on Customization Part
|* Author	: Claudio Montanari
|* Co-Author	: Lorenzo Monteforte
|* Date		: 2002-05-07
|******************************************************************************
|* Script Type	: 4GL
|* Description	: Install software across hosts and VRC
|* Category	: SysAdmin
|* License	:
|*
|* Copyright 2002 by KNOW-HOW - All Rights Reserved 
|* 
|* Permission to use, copy, modify, and distribute this software and its
|* documentation for any purpose and without fee is hereby granted,
|* provided that the above copyright notice appear in all copies and that
|* both that copyright notice and this permission notice appear in
|* supporting documentation. 
|* 
|* Claudio Montanari nor KNOW-HOW DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
|* SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|* AND FITNESS, IN NO EVENT SHALL Claudio Montanari nor KNOW-HOW BE LIABLE FOR 
|* ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 
|* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 
|* WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 
|* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
|* OR PERFORMANCE OF THIS SOFTWARE.
|******************************************************************************
|* 
|* This session installs the components of a customization part from one
|* environment to another.
|* 
|* An environment is an host with a particular BSE (the same host can have
|* more that one environment, i.e. more tha one BSE).
|*
|* At the moment the session transfer the software from one environment to 
|* another.
|* With few modifications it is possible to transfer the software to a batch 
|* of hosts simultaneously.
|*
|* Export and Import of the software can be forced on VRC which are not the one
|* of the customization part.
|* 
|* Using PMC for the same scope was not possible far the following reasons:
|*      - Too many restrictions
|*      - Too cumbersome
|*      - Too many rigidity
|*      - Going from customization part to PMC solution needed a session
|*      - With the PMC it is not possible to have different origin VRC in the
|*        same solution
|*
|* This ambitious project uses the export logic based on customization part
|* of the famous ttiexdeliverp.
|*
|* The two most important features of the PMC (rollback and log) are present.
|* An optional backup dump is written in the directory $BSE/install/backup.
|* A log file with all the activities done is present "$BSE/log/log.install"
|*
|* The session is platform and configuration independent (or at least it should
|* be so...), hence it works also on NT using the BW services (ottdllbw).
|* 
|* Since it is nearly impossible (any volunteer?) from Baan code to know
|* where the BW client files are, if you want to use the BW, and you want 
|* to tranfer files on a remote host, you must have the files BWC associated
|* to the executable BW.EXE instead of the executable BECS.EXE.
|* In alternative, you can install on your PC the BW client for iBaanERP.
|* In this latter case it seems that the BECS handle it correctly...a bit
|* disgusting I know, but the ottdllbw functions are very limited!
|* Morover a quite recent BW version is needed (>= 0.48).
|* 
|* To save bandwidth (specially useful when you are connected trough a modem 
|* line) and you are using a UNIX server (do you really use NT???) with the r*
|* services enabled, the files can be transferred directly from the source host
|* to the destination host with the UNIX command rcp.
|*
|* Please note that, in order to minimize the fingerprint of the installation
|* on a new environment (it is a tool, remember, nothing else) messages and 
|* labels are hardcoded in english (this help too)... I know, this is a bit 
|* hugly but in this way you only need to install in your system one session, 
|* one form and one script on any existing VRC.
|*
|* You must also create the following directories:
|*
|*        ${BSE}/install                Root Directory
|*                      ./common        Various file
|*                      ./import        Used for imported dump
|*                      ./export        Used for exporting dump
|*                      ./backup        Used for backup dump
|*
|* The common directory must contain two foundamental files:
|*
|*	ShellExec.exe			On Windows 95 box I need a small VBS
|* 					exe which runs application files based
|*                                      on their association mechanism.
|*
|*      master.bwc                      A master bwc file for the BW client
|*
|*
|******************************************************************************
Attached Files
File Type: zip install.zip (205.5 KB, 367 views)
Reply With Quote
  #2  
Old 10th January 2003, 17:23
mark_h's Avatar
mark_h mark_h is offline
Guru
 
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 6,934
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Two Posts

Hi Claudio!

Thanks for the contribution. It looks like you posted it twice, so I deleted one of them.

Again thanks for the contribution.

Mark
Reply With Quote
  #3  
Old 17th January 2003, 19:35
Francesco's Avatar
Francesco Francesco is offline
Guru
 
Join Date: Aug 2001
Location: Antwerp, BE
Posts: 727
Francesco is on a distinguished road
Baan: 5b - DB: Oracle - OS: Solaris
Claudio,

I think this can be a very valuable script, but being paranoid (and I'm told that's a good quality for a system manager), I would like to nose around in the source code before actually installing this.

Any chance you can share this with us?

Thanks,

Francesco
__________________
Cheers,

Francesco
..............................................................

Admiral Business Solutions | My World | Baan Board | IT Happens!

"If everyone is thinking alike, then somebody isn't thinking" -- George Patton
"It's easy to cry 'bug' when the truth is that you've got a complex system and sometimes it takes a while to get all the components to co-exist peacefully." -- Doug Vargas
Reply With Quote
Sponsored Links
  #4  
Old 18th January 2003, 20:57
montanac's Avatar
montanac montanac is offline
Junior Member
 
Join Date: Dec 2001
Location: Italy - Reggio Emilia
Posts: 14
montanac is on a distinguished road
Baan: Baan IV & BaanERP 5.0c & LN - DB: Informix, B-ISAM. Oracle, MS-SQL - OS: Linux, Windows, AIX, HP-UX
Hi Francesco, hi all,

No problem to publish the source code... also because it is already included in the zip file attached to the previuos message...

Even if you wouldn't trust your mother you can always load the dump in a temporary VRC (I am sure you have one!).


Ciao.
Claudio.
Attached Files
File Type: cln pmcsinstall.cln (103.4 KB, 282 views)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues with mimic of database auths. sessions BaanTech Tools Administration & Installation 3 6th February 2017 08:40
Baan Vc Installation problem tejask Tools Administration & Installation 8 19th June 2007 10:08
Baan Code Installation mostrightfuture Tools Development 3 2nd September 2004 15:47
Experience in BaaN tools, Distribution, Manufacturing, installation and customisation murtaza_asgar Jobs and Resumes 1 5th August 2004 06:18
BSP-US (LLC) added as a Baan Education Alliance svandenh General Discussion & Chat 1 20th August 2001 20:44


All times are GMT +2. The time now is 08:27.


©2001-2017 - Baanboard.com - Baanforums.com