简体   繁体   English

创建双Mac / Win自动运行CD

[英]Creating a dual Mac/Win Autorun CD

如何创建CD以在Mac上打开“将此图标拖到要安装的应用程序文件夹”并在Windows上自动运行安装程序?

You can use hdiutil 你可以使用hdiutil

eg. 例如。

hdiutil makehybrid -o [output-file] [input-folder] -iso -hfs -hide-iso [mac-only-file] -hide-hfs [windows-only-files]

What you will want to do is hide the windows specific files from the HFS partition and hide the Mac only files from the ISO. 您要做的是从HFS分区隐藏特定于Windows的文件,并隐藏ISO中的仅Mac文件。

Then you would use an autorun file as your normally would on Windows. 然后你会像在Windows上一样使用自动运行文件。

On the Mac side there are many applications you can buy for creating a Finder window that looks a certain way but all these changes can be made within finder. 在Mac方面,您可以购买许多应用程序来创建一个看起来某种方式的Finder窗口,但所有这些更改都可以在finder中进行。 You then will need to copy the DS_Store file to the CD and finder will automatically apply any changes that you have made. 然后,您需要将DS_Store文件复制到CD,Finder将自动应用您所做的任何更改。

Also using -hfs-openfolder will cause it to open automatically when inserted on the mac. 使用-hfs-openfolder也会导致它在mac上插入时自动打开。

Jordan Brough has a really good write-up on his blog about this: Jordan Brough在他的博客上写了一篇非常好的文章:

http://jordan.broughs.net/archives/2008/03/creating-cross-platform-windows-and-mac-installer-cds http://jordan.broughs.net/archives/2008/03/creating-cross-platform-windows-and-mac-installer-cds

For what it's worth, this was the first result returned from a fairly simple google search... 对于它的价值,这是从一个相当简单的谷歌搜索返回的第一个结果......

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM