PDA

View Full Version : Installing COM+ apps



monkey3
08-27-2003, 11:21 AM
hello all,
Someone give me a clue...

How the hell can I install a COM+ application,
add components
and export a client proxy msi???

I have been scratching my head all day trying to work this out, but to no avail.

I am now going home to bash a wall with my head:confused:

thanx in advance for your help,

m3

magesh_wanda
08-30-2003, 02:33 AM
Hi buddy

Relax, Once your COM+ components are ready, just open ur COM+ Services running in Windows 2000 machine.
Right click on COM+ Applicatons and just create a empty application first.

After that u can select ur empty application and goto Components folder and right click and add your component to empty application. That's it.

Now you can right click your application and use export option to create client proxy .msi files. Don't forget to use Application proxy during the process of exporting your applcation.

Just take this .msi file and install in any of the client machine..By this time you'll be able to get access to your server component running in COM+ Services.

regds
Magesh

monkey3
09-01-2003, 05:15 AM
thanx for your suggestion,

Sorry, I did not make myself clear.
That is exactly what I want to do, except not manually.

I would like the installshield msi to do all the work for the user.

I add all the components to the IS project, and then using script it is installed and the proxy exported (this is all on the server).

The user then only has to run the exported proxy from the client machines.

m3

nasagar
09-05-2003, 04:20 PM
You could do it through Windows Scripting or Visual basic Scripts

and use LaunchAppandWait (WINSYSDIR ^ "WScript.exe", "Sample.vbs",WAIT);

to execute the visual basic or windows script.

Sagar

vivekprasanna
11-14-2005, 07:22 AM
Hello,

Please let me know how to export a COM+ application into a proxy appln, using InstallScript.

Regards,
Vivek.

nasagar
11-14-2005, 01:01 PM
Vivek,

Write a VB Script that would export the COM+ Application

VB Script (sample.vbs) as follows:

set catalog = CreateObject("COMAdmin.COMAdminCatalog")
Catalog.ExportApplication <COM+ Application Name>,Path, 2


then execute the below within the install script

LaunchAppandWait (WINSYSDIR ^ "WScript.exe", "Sample.vbs",WAIT);


Amudha

samsquared
11-15-2005, 10:20 AM
Do you have DLLs you want to register in a COM+ package? If so, I have IS code we use for our system. :cool: