Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: VB7
Expertise: Intermediate
Sep 22, 2003

ExportComPlusApplication - Exporting a COM+ application to a MSI installer file

' Export the COM+ application with the input name to a MSI installer file
' Note: requires a reference to the COM+ Admin Type Library
'
' Example: ExportComPlusApplication("MyComPlusApp", "C:\MyComPlusApp.msi", "")

Sub ExportComPlusApplication(ByVal applicationName As String, _
    ByVal msiFile As String, ByVal serverName As String)
    Dim catalog As New COMAdmin.COMAdminCatalog
    catalog.Connect(serverName)
    ' export the application
    catalog.ExportApplication(applicationName, msiFile, 4)
End Sub
Marco Bellinaso
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap