在安装期间运行另一个另一个设置 [英] Run another another setup during instllation

查看:117
本文介绍了在安装期间运行另一个另一个设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用Visual Studio安装和部署。我已经构建了一个安装项目,我想在安装主设置期间运行另一个安装文件。请告知如何操作。



谢谢

Hi,
I am using Visual Studio Setup and Deployment. I have built a setup project, I want to run another setup file during installation of my main setup. Please advise how to to it.

Thanks

推荐答案

看看这两个链接:

* 点击一次部署 [ ^ ]

* Inno设置 [ ^ ]

- 或 -

您可以添加一个bat文件来同时运行这两个项目。 />
例如:



1.在应用程序文件夹中,添加两个主输出文件:x和y。

2.新增一份文字文件,并写道:



@echo off



start x.exe



start y.exe



另存为MyBat.bat文件。

3.将MyBat.bat文件添加到安装项目的应用程序文件夹中。



4.在应用程序文件夹中创建Mybat.bat的快捷方式,将其名称重命名为Start Project。将此快捷方式切换到用户桌面。



安装完成后,桌面上会出现一个Start Project。双击此文件。它将运行x.exe和y.exe。



祝你好运,

OI
Have a look at these two links:
*Click Once Deployment[^]
*Inno setup[^]
--OR--
You can add a bat file to run these two project simultaneously.
For example:

1.In application folder, add two primary output files: x and y.
2.New a text document, and write:

@echo off

start x.exe

start y.exe

Save it as MyBat.bat file.
3. Add MyBat.bat file to the application folder of setup project.

4.Create a shortcut for Mybat.bat in application folder, rename its name to Start Project. Cut this shortcut and past to User’s Desktop.

After installation, there will be a Start Project in the desktop. Double click this file. It will run x.exe and y.exe.

Good luck,
OI


这篇关于在安装期间运行另一个另一个设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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