博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

VS2005 Setup Project - Running installer

Posted on 2008-10-07 12:50  火星  阅读(439)  评论(0)    收藏  举报

using System;
using System.Configuration.Install;
using System.ComponentModel;

namespace MyCustomAction
{
    [RunInstaller(true)]
    public class ScottSetupAction : Installer
    {
        public override void Install(System.Collections.IDictionary stateSaver)
        {
            base.Install(stateSaver);

            // Todo: Write Your Custom Install Logic Here
        }
    }
}