从 CD 自动启动创建我自己的启动选项
我不太确定如何挖掘这个问题。
我想要的是创建一个图像文件,其中包含我的 C# 程序、用户手册和视频教程。当 CD 启动后,将会弹出一个选项,其中包含安装程序、查看用户手册或查看视频教程。我怎样才能做到这一点?
安装 Visual Studio 2008 或 2010 时情况类似
。抱歉,标题如此。 我不知道我应该在这里放什么标签。
I'm not really sure how to dig out this question.
What I want, is to create an image file that has my C# program, user manual and video tutorials in it. When the CD already started there will be a pop up form of choices which contains Install Program, View User Manual or View Video Tutorials. How can I do that?
It's similar when you're installing the Visual Studio 2008 or 2010.
Sorry for the title.
I don't know what tags should I put here.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您将名为 autorun.inf 的文件放入 CD 上,则可以启动该 CD插入时是一个程序。从这里,您可以创建一个包含您想要的菜单的程序,这样当用户插入 CD 时您的菜单就会弹出。这并不像看起来那么难。
If you put a file called autorun.inf onto a CD, you can have that CD launch a program when it's inserted. From here, you can create a program that contains the menu you'd like, so that when the user inserts the CD your menu pops up. It's not nearly as hard as it may seem.
我相信您需要两个文件:setup.exe(您的程序)和autorun.inf(一个文本文件,告诉Windows当您放入磁盘时要运行哪个程序)
http://en.wikipedia.org/wiki/Autorun.inf
autorun.inf 文件应包含以下文本:
I believe that you need two files: setup.exe (your program) and autorun.inf (a text file that tells windows which program to run when you put the disk in)
http://en.wikipedia.org/wiki/Autorun.inf
The autorun.inf file should have this text: