How to automate the process of creating MSI

Hi all,

I am trying to automate the process of creating an MSI file for an vb.net web application.

Can any one suggest me the way of doing the same

Thanks,

Sridhar



Answer this question

How to automate the process of creating MSI

  • jamie r

    Ok. Let's divide this process into two stages:
    1. Authoring setup project
    2. Building setup package
    The first stage can hardly be automated. Developer should choose which files to install, where to install, what other actions to do, etc...
    The second stage is easily automated. It just means building a setup project from command line. Command-line builds are supported by many installers. I'm using WiX for creating setup projects and build them through makefile.

    Best regards,
    Mike.

  • dave dave

    Hi Mike,

    Thanks for the response again.

    I tried to generate MSI file using wix but i failed to create a proper .wxs file.

    Can u guide me in making the .wxs file .

    I need to include the crystal report dlls, Excel dll in the project too

    Regards

    Sridhar


  • Jeyaraj

    Babu,

    Another method of creating for building your installer is to use a web setup project in Visual Studio. A good tutorial is at http://msdn.microsoft.com/library/default.asp url=/library/en-us/vsintro7/html/vbtskDeployingWebSolution.asp. (Setup projects are not available in the Express SKUs, you need to have Visual Studio Professional or above.)

    Best Regards,

    Elizabeth Maher

    VB Team



  • Luis E

    Greetings,

    What do you mean by 'automation'

    Best regards,
    Mike.

  • Corridriver

    Sridhar,

    There is good tutorial on WiX: http://www.tramontana.co.hu/wix/

    Best regards,
    Mike.

  • adb444

    Hi Mike,

    Thanks for the response.

    some batch files which will be scheduled. So that no manual work would be required for creating the MSI.

    When the batch files run the MSI should be created

    Regards
    Babu


  • How to automate the process of creating MSI