为应用程序量身定制的安装程序合理吗? [英] Custom made installer for applications plausible?

查看:77
本文介绍了为应用程序量身定制的安装程序合理吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
预先感谢您提供任何建议或技巧.我正在制作游戏,并且开始认为我需要对安装程序进行更多控制.作为学生,我可以使用VS2010 Express Edition.我已经搜索过Google,但是笼罩在VS2010专业版的安装程序项目中.

我的想法是建立一个单独的项目来处理文件部署,并在该项目中使用FolderBrowserDialog让用户选择目标目录(显然,我会尝试并默认为正确的位置).然后,我必须将游戏文件存储在安装程序项目中.我不知道最好的方法,然后又不知道如何将文件复制到所选目录?

我可以告诉CS Express在调试模式下将实际游戏项目编译为普通可执行文件,使其不包括默认.NET安装程序项目"吗?如果是这样,我将如何在目标计算机上检查并安装依赖项?我还认为将VS Express用于商业企业是完全合法的吗?

这么多问题:
好主意吗?
如果是这样,一个人如何布置项目?
一个将如何存储文件并复制它们?
如何设置构建过程以排除很多默认的华夫饼干?
我可以在商业上使用VS Express吗?

谢谢:)希望有一天我可以帮助别人解决这个问题.

Hello all,
Thank you in advance for any advice or tips.I am in the process of making a game and I am starting to think that I will need more control over the installer. As a student I have access to VS2010 Express Editions. I have searched Google but shrouded in installer projects for VS2010 professional edition.

My thoughts were to build a separate project to handle file deployment and in that project use the FolderBrowserDialog to let the user select the target directory (obviously I will try and default to the correct location). I would have to then store the game files in the installer project. I would not know the best method for this and then how I would copy the files to the selected directory?

Can I tell CS Express to compile the actual game project to a normal executable how it would in the Debug mode so it doesn''t include the ''default .NET installer project''? And if so how would I check and install dependencies on the target machine? Also I presume it is perfectly legal to use VS Express for commercial ventures?

So many questions:
Good idea?
If so, how would one lay out the projects?
How would one store files and copy them?
How would I set up the build process to exclude a lot of the default waffle?
Can I use VS Express commercially?

Thank you :) Hope I can help someone else with this matter one day

推荐答案

我的理解是,只有ClickOnce可以与VS Express一起使用:
My understanding is that only ClickOnce can be used with VS Express:
报价:

Express Editions不包含Windows Installer技术.有关Express Edition中使用的部署技术的信息,请参阅ClickOnce安全和部署.

The Express Editions do not include Windows Installer technology. For information about the deployment technology used in the Express Editions, see ClickOnce Security and Deployment.

因此请参阅ClickOnce文档[ ^ ]

So see the ClickOnce docs[^].

Also see this discussion on StackOverFlow[^]


这篇关于为应用程序量身定制的安装程序合理吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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