0

I need to build an installer for my application (using Windows Installer technology - MSI file). Requirements for this installer: 1. Embed component in installer (ex: .NET Framework 4.0 Full). 2. Detect the present of this component. 3. If this component is not installed yet, installer will install it before. Installer will display a dialog with info "Installing the component ..." and the component is installed silent. If user cancel to install this component, the installer is also cancelled. 4. After installing this component successful, install the application. Thanks.

I download Splash Lite from website: http://mirillis.com/en/downloads/downloads_splash.html. I like this installer because it matches my requirements. Because I am a newbie, anyone can give me some guides to create an installer like this. Thanks.

Some screenshot: Detect Component

PLease help me. Thanks.

Leo Vo
  • 9,980
  • 9
  • 56
  • 78

2 Answers2

4

Visual Studio has the tools and templates built-in.

In your solution, choose Add New Project, Other Project Types, Setup, VS Installer.

Choose the Setup Wizard and follow the steps.

H H
  • 263,252
  • 30
  • 330
  • 514
  • How to create a EXE installer which contains component and application's MSI. When run EXE installer, it will install component and install app's MSI after that. Thanks. – Leo Vo May 04 '11 at 09:22
  • 1
    Lu lu, just try it. You get a Setup.Exe + MyProject.msi. There is a prerequisites dialog somewhere for std and custom components. – H H May 04 '11 at 09:26
  • You can give me the tutorial how to make it. It will create a EXE (package contains setup.exe + component.exe + project.msi). Thanks. – Leo Vo May 04 '11 at 09:32
0

Have a look at this codeplex project: dotNetInstaller

worked fine for me.

Renato Heeb
  • 719
  • 8
  • 18