View Full Version : Basic MSI or InstallScript MSI project?

10-25-2010, 05:23 AM

It would be nice if someone could give me some advice on a project I'm to create.

My application is actually a Windows Service. That means after the necessary files are copied to the target folder, I need to run some DOS command to set up the service and run it.

I want to make a simple MSI project, but have no idea if I should choose Basic MSI or InstallScript MSI. My hesitation comes from the descriptions from Help.
For Basic MSI Projects, it's written:
Basic MSI projects use the Windows Installer service to drive the entire installation, including calls to any custom actions (InstallScript, VBScript, JScript, .exe files, .dll files, managed code).

For InstallScript MSI Projects, it's written:
This project type is recommended when you want to do any of the following:
You want to perform actions before or after the main installation has been run.

So both of them support InstallScript? On the other hand, I indeed need to perform action after the main installation: create the service and run it. And of course, when someone wants to uninstall the application, it needs to stop the service and destroy it.

What's the best choice?


10-26-2010, 12:44 PM
You may consider Basic MSI project as it can meet all your requirements and it's to design and debug later.