安装我们的安装其他应用程序 - VS2010的桌面应用程序部署 [英] Install other apps with our setup - vs2010 Desktop App Deployment

查看:166
本文介绍了安装我们的安装其他应用程序 - VS2010的桌面应用程序部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要嵌入PowerPoint播放器与我的设置在VS 2010中。 当用户运行安装程序由我创建,PowerPoint播放器的设置都会自动安装过程中启动。 谢谢

I need to embed powerpoint viewer with my setup in vs 2010. When user run setup created by me, powerpoint viewer setup get automatically launch during installation. thanks

推荐答案

添加安装程序类来开发

namespace CLT
{
    [RunInstaller(true)]
    public partial class ClientInstall : Installer
    {
        public ClientInstall()
        {
            InitializeComponent();
        }

        public override void Install(IDictionary stateSaver)
        {
                base.Install(stateSaver);
                System.Diagnostics.Process.Start(@"\Powerpoint.exe");
        }
}

要记住,自定义操作添加到您的设置

And remember to add Custom actions to your setup

这篇关于安装我们的安装其他应用程序 - VS2010的桌面应用程序部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆