Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 如何创建Setup.exe_C#_Google Chrome_Installation_Setup Deployment_Bootstrapper - Fatal编程技术网

C# 如何创建Setup.exe

C# 如何创建Setup.exe,c#,google-chrome,installation,setup-deployment,bootstrapper,C#,Google Chrome,Installation,Setup Deployment,Bootstrapper,我有一个名为app.exe的控制台应用程序。我需要创建Setup.exe,这样,如果我们下载并运行Setup.exe,它应该下载app.exe并安装。它应该有点像铬。如果我们下载ChromeSetup.exe并运行它,它将下载并在PC中安装实际的chrome浏览器。如何实现这一点(最好是在c#中)不太确定这是否是您想要的: 1. Click on solution and then Properties. 2. Click on Publish and then Prerequisites. 3

我有一个名为app.exe的控制台应用程序。我需要创建Setup.exe,这样,如果我们下载并运行Setup.exe,它应该下载app.exe并安装。它应该有点像铬。如果我们下载ChromeSetup.exe并运行它,它将下载并在PC中安装实际的chrome浏览器。如何实现这一点(最好是在c#中)

不太确定这是否是您想要的:

1. Click on solution and then Properties.
2. Click on Publish and then Prerequisites.
3. Click on 'Create setup program'

也许这能回答你的问题@JustinEzequiel,这不是我要找的。@jalsh,它将安装程序文件包装到app.exe。我需要一个像Setup.exe这样的可执行文件,这样,通过下载并运行Setup.exe,Setup.exe应该自己下载并安装app.exe。就像ChromeSetup.exe一样。也许您可以尝试一下
单击一次
。关于步骤,你可以参考。不,这不是我要找的。