Custom Actions during Installation!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Petrucci2000

    Custom Actions during Installation!

    Hi All, I am looking to create an installation package (MSI ) which will
    fire off few of my custom .vbs during the install process.

    How to accomplish this task?


    TIA
    PS: I tried to include an installer class to my setup project and overrided
    the install and uninstall methods but when I run the setup.msi I never see
    those being fired!!


  • David Guyer [MS]

    #2
    RE: Custom Actions during Installation!

    Open the Custom Actions Editor in your Setup project
    Right Click on the Root node (preferably, for .vbs you might prefer the
    Install node only) and Add Custom Action
    Navigate to the Application Folder
    Click the Add File button
    Select your .VBS File(s)

    That should do it...

    ---
    David Guyer - VBQA Deployment Testing
    This posting is provided "AS IS" with no warranties, and confers no rights.
    --------------------[color=blue]
    >From: "Petrucci20 00" <nospam@microso ft.com>
    >Subject: Custom Actions during Installation!
    >Date: Tue, 18 Nov 2003 09:48:56 -0500
    >Lines: 12
    >X-Priority: 3
    >X-MSMail-Priority: Normal
    >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
    >Message-ID: <#A#tqKerDHA.20 12@TK2MSFTNGP12 .phx.gbl>
    >Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
    >NNTP-Posting-Host: sb1.dhmh.state. md.us 167.102.229.10
    >Path:[/color]
    cpmsftngxa06.ph x.gbl!TK2MSFTNG XA06.phx.gbl!TK 2MSFTNGXA05.phx .gbl!TK2MSFTNGP 0
    8.phx.gbl!TK2MS FTNGP12.phx.gbl[color=blue]
    >Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:2001 62
    >X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
    >
    >Hi All, I am looking to create an installation package (MSI ) which will
    >fire off few of my custom .vbs during the install process.
    >
    >How to accomplish this task?
    >
    >
    >TIA
    >PS: I tried to include an installer class to my setup project and overrided
    >the install and uninstall methods but when I run the setup.msi I never see
    >those being fired!!
    >
    >
    >[/color]

    Comment

    Working...