Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 25 NOV 1998 10:26:08AM Hank Huizinga wrote:

Using InstallShield and the RDKINSTP.DLL I have started the Engine and execute the RDKINSTALL command.

ie)

szCommand  =RUN SETAPPID 'MPC'";
nRetVal    =RunOICommandPanel(hWindow, szCommand);
szCommand  =RUN RDKINSTALL '" + SUPPORTDIR + "'"
nRetVal    =RunOICommandPanel(hWindow, szCommand);

My questions are:

1) My application tables (ie. MPC) are not automatically attached. Is there a command I can pass to the engine that will attach all the tables as defined in the MPC.DBT file. I can not use the ATTACH_TABLE command because I do not alway know the path where the tables are located.

2) My RDKMODULEINSTALL stored procedure uses a GASGAUGE to show the upgrade status. This does not work when the RDKINSTALL is called from InstallShield. How can I make it work? The RunTime Deployment Kit manual for OI3.1 states that the RunOICommandPanel "displays a message box containing a gauge control that can be used by the developer to indicate the progress of the executing command". Is this feature still available?

Help is Appreciated,

Hank Huizinga


At 26 NOV 1998 11:22AM akaplan@sprezzatura.com - [url=http://www.sprezzatura.com]Sprezzatura, Inc.[/url] wrote:

Your own gasgauge or the one that ships in Revelation's RDKMODULEINSTALL. You have to remember, you're not running OpenInsight here, just OpenEngine so you can't load windows or other PS specific things. The send_info code in the shipped version loads the status bar you'll see during RTI's upgrades.

To load the files, try

RUN SWAP_DATABASE "MPC"

akaplan@sprezzatura.com

Sprezzatura, Inc.

www.sprezzatura.com_zz.jpg


At 27 NOV 1998 10:48AM Hank Huizinga wrote:

One of the first things I tried was RUN SWAP_DATABASE "MPC". Didn't load the database and the engine would not process any commands after this command was executed.

Send_Info. I have tried with Revelation Tech support in vain to get some documentation on this command on how it is used. Any suggestions?

Thanks

Hank


At 27 NOV 1998 12:01PM Hank Huizinga wrote:

Tried out the Send_Info command. Does what I need. I now only need to be able to attach the tables in the MPC.DBT file.

Any other suggestions?

Hank


At 27 NOV 1998 03:19PM Hank Huizinga wrote:

Okay,

I figured out how to parse the MPC.DBT table and properly attach the volumes.

Everything looks good now.

Hank


At 30 NOV 1998 03:26PM L B Porch wrote:

After you run the start OI command and before you run the RDKINSTALL

you need to run SETAPPID. These are a couple of lines of code from

an IShield script that runs an RDKINSTALL:

nRetVal =StartOI( hInstallWindow, szOIAccount, svOIDir, szOIUserName, szOIPassword);

szOICommand=RUN SETAPPID 'whateveritis'";

nRetVal=RunOICommand( hInstallWindow, szOICommand );

szOICommand=RUN RDKINSTALL '" + SUPPORTDIR + "','CLINICAL'";

nRetVal=RunOICommandPanel( hInstallWindow, szOICommand );

Lisa

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/b7a03b8d64fd6865852566c70054ca78.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1