如何在C#中创建CD菜单? [英] how to create CD menu in c#?

查看:118
本文介绍了如何在C#中创建CD菜单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用某些exe文件创建CD菜单?例如sql server,Crystal Report和.netfx.当我按下每个按钮的时候,我将需要特定的setup.exe才能正常工作.现在我在下面检查了
System.Diagnostics.Process.Start(@"\ .. \ NEWWAY SYSTEM \ SQL SERVER \ 2008 \ setup.exe");
这是我的电脑上的工作.但不能在CD中使用(刻录后)
请帮助

How can i create CD menu with some exe file? such as sql server, crystal Report and .netfx. when i press the each button that time i will need particular setup.exe must be work.Now I checked below
System.Diagnostics.Process.Start(@"\..\NEWWAY SYSTEM\SQL SERVER\2008\setup.exe");
It is work in my computer. But doesn''t work in CD(after burned)
Please help

推荐答案

尝试CDInterfaceStudio库,该库位于 http://cdinterface.sourceforge.net/static-pages/downloads.php/ [
Try CDInterfaceStudio library, available at http://cdinterface.sourceforge.net/static-pages/downloads.php/[^]


复制此代码并将其粘贴到autorun.inf中,然后在刻录CD之后将此文件复制到CD的根目录中,右键单击CD,您将获得以下创建的菜单,您还需要在CD的根目录下添加winopen.exe文件
[自动运行]
图标= youricon.ico
shell = 8
shell \ 1 \ command = winopen \ SQLServer.exe
shell \ 1 =安装SQL Server
shell \ 2 \ command = winopen \ framework.exe
shell \ 2 =安装框架2.0
Copy this code and paste into autorun.inf, and copy this file on root of the CD, after burning CD, right click on CD you will get following menu that was created you also need to add winopen.exe file in CD at the root
[autorun]
icon = youricon.ico
shell=8
shell\1\command=winopen \SQLServer.exe
shell\1=Install SQL Server
shell\2\command=winopen \framework.exe
shell\2=Install Framework 2.0


这篇关于如何在C#中创建CD菜单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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