我需要嵌入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