安装安装文件时如何创建特定文件夹?
我想为我的项目进行设置,并且我有一个文件夹“资源” 在此路径 ..\bin\Debug
中。现在我如何制作安装文件,当 我安装设置“资源”文件夹,其中创建了它的文件 安装文件夹? 我的数据库是sqlexpress 我的数据库文件是什么 我应该做什么?它的文件夹是 ..\bin\Debug
路径中的 App_Data。提前致谢。
I want to make setup for my project and i have one folder "Resource"
in this path ..\bin\Debug
.now how can i make setup file ,that when
i install setup "Resource" folder with it's files become created in the
install folder ?
my database is sqlexpress for my database file what
should i do?it's folder is App_Data in ..\bin\Debug
path.Thanks in Advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您要创建的不仅仅是这一设置,我建议您查看 WiX 工具包。它是一个基于 XML 的工具包,可让您通过大量自定义创建 MSI。将您需要的文件夹放在需要的地方完全没有问题。我想这可能正是您正在寻找的。另外,我包含的链接有一个非常好的教程的链接,可以帮助您入门。
If you are going to be creating more than just this one setup I would recommend looking into the WiX Toolkit. It is an XML based toolkit that will let you create your MSI's with an amazing amount of customization. Placing the folders that you need where you need them is no problem at all. I think that might just be what you are looking for. Also the link that I included has a link to a really great tutorial that would help you get started.