Results 1 to 4 of 4

Thread: Creating an .msi

  1. #1

    Thread Starter
    New Member Zevoxa's Avatar
    Join Date
    Apr 2013
    Posts
    8

    Lightbulb Creating an .msi

    I'm new to C++ and the program I'm trying to create is an installer (or msi). I'm having a very difficult time finding out how to make my program install the files onto a computer that chooses to run it. Can someone help me?

  2. #2
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    4,060

    Re: Creating an .msi

    Perhaps Windows Installer might be of some help...
    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

  3. #3

    Thread Starter
    New Member Zevoxa's Avatar
    Join Date
    Apr 2013
    Posts
    8

    Re: Creating an .msi

    As I said, I'm not wanting to install my program. I'm trying to make an installer. It has to do more than install stuff too. It'll have to run a few commands after that.

  4. #4
    Default Member Bonnie West's Avatar
    Join Date
    Jun 2012
    Location
    InIDE
    Posts
    4,060

    Re: Creating an .msi

    Quote Originally Posted by Zevoxa View Post
    As I said, I'm not wanting to install my program. I'm trying to make an installer. It has to do more than install stuff too. It'll have to run a few commands after that.
    Then that documentation is indeed what you'll need.

    Quote Originally Posted by MSDN
    Purpose

    Microsoft Windows Installer is an installation and configuration service provided with Windows. The installer service enables customers to provide better corporate deployment and provides a standard format for component management. The installer also enables the advertisement of applications and features according to the operating system.


    Where applicable

    Windows Installer enables the efficient installation and configuration of your products and applications running on Windows. The installer provides new capabilities to advertise features without installing them, to install products on demand, and to add user customizations.


    Developer audience

    This documentation is intended for software developers who want to make applications that use Windows Installer. It provides general background information about installation packages and the installer service. It contains complete descriptions of the application programming interface and elements of the installer database. This documentation also contains supplemental information for developers who want to use a table editor or a package creation tool to make or maintain an installation.
    On Local Error Resume Next: If Not Empty Is Nothing Then Do While Null: ReDim i(True To False) As Currency: Loop: Else Debug.Assert CCur(CLng(CInt(CBool(False Imp True Xor False Eqv True)))): Stop: On Local Error GoTo 0
    Declare Sub CrashVB Lib "msvbvm60" (Optional DontPassMe As Any)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width