刻录安装项目到CD刻录、项目、CD

由网友(好莱污影帝)分享简介:我从来没有烧毁一个Visual Studio程序到CD之前。我做了一个设定项目,我所有的程序文件,并能正常工作。难道我只是需要刻录到CD下列安装程序文件,并把它送给别人?I've never burnt a visual studio program to a CD before. I've made a setup...

我从来没有烧毁一个Visual Studio程序到CD之前。我做了一个设定项目,我所有的程序文件,并能正常工作。难道我只是需要刻录到CD下列安装程序文件,并把它送给别人?

I've never burnt a visual studio program to a CD before. I've made a setup project with all my program files, and it works fine. Do I simply need to burn the following installer files onto the CD and give it to someone?

安装程序是包含一个文件夹:

The installer is a folder containing:

-DotNetFX35(文件夹):包含我的程序.NET要求

-WIndowsInstaller3_1(文件夹):WindowsInstaller-KB893803-V2-x86.exe程序

-setup.exe

- 我的Installer.msi

抱歉看似简单的问题。我双重检查,因为我有一个CD和一个不耐烦的雇主。

Sorry for the seemingly easy question. I'm double checking as I have one CD and an impatient employer.

谢谢!

推荐答案

您将需要添加一个autorun.inf,如果你想自动运行工作。把安装文件夹的内容在磁盘的根目录下,在磁盘的根目录下创建一个名为autorun.inf的一个简单的文本文件,并添加以下内容:

You will need to add an autorun.inf if you want autorun to work. Put the contents of the install folder at the root of the disk, create a simple text file called "autorun.inf" at the root of the disk and add the following contents:

[autorun] 
open=setup.exe 

这将指示操作系统运行setup.exe当磁盘已插入(和同意的话)。

This will instruct the operating system to run setup.exe when the disk has inserted (and consented to it).

有其他技巧你可以用的autorun.inf做太多。正如许多人所提到的意见,以测试这一点的最好方法是通过创建一个ISO和测试,或买一堆空白磁盘。他们是pretty的便宜,这些天。

There are other tricks you can do with autorun.inf too. As many have mentioned in the comments, the best way to test this is by creating an ISO and testing it, or buying a stack of blank disks. They are pretty cheap these days.

如果您不关心自动运行,那么你可以把任何东西磁盘本身,它只是内容,用户将只需要进入自己的内容,然后点击设置。

If you don't care about auto run, then you can put anything on the disk itself, it's just content, the user would just need to go into the contents himself and click setup.

阅读全文

相关推荐

最新文章