打包自定义 DirectX 可再发行安装程序
根据 MS 的建议,我们已删除我们的 D3D9 应用程序的 DX 安装程序内容中的大部分文件,使其总共减少到 5Mb。 但现在我想将这些文件打包到一个安装程序中,就像 MS 本身提供的可再发行安装程序一样...这样它就可以作为我们的应用程序安装过程的一部分运行,使用 /silent 开关,而无需手动解包文件并删除它们。 是否有一种简单、标准的方法来执行此操作,以便运行打包的 DXSetup.exe?
还是这一切都太复杂了,我们应该解压文件,运行 DXSetup.exe,然后在安装后删除文件?
Following MS' advice we have stripped most files from the DX installer contents for our D3D9 application, getting it down to 5Mb in total.
But now I;d like to package these files into a single installer, like the redistributable installers MS themselves provide... so it can be run as part of our application install process, with /silent switch, without manually having to unpackage the files and delete them.
Is there a simple, standard way to do this so that the packaged DXSetup.exe is run?
Or is all this too complex and we should just unpack the files, run DXSetup.exe and then delete the files after installation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最好使用 MS 提供的安装程序,通常是应用程序所做的,如果问题是空间,您可以始终使用 Web 安装程序(300kb),但需要用户有互联网连接。
http://www .microsoft.com/downloads/en/details.aspx?FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3&displaylang=en
另一方面,如果您使用 DirectX SDK,
则会有一个文件夹“redist”
其中有DX的设置,
您可以将它们与您的应用程序一起分发,
并且您的安装程序必须调用 dxsetup.exe
Its better to use the installers that MS provide, usually is what Apps do, if the problem is space you could always use web installer its 300kb but will require the user to have an internet connection.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2da43d38-db71-4c1b-bc6a-9b6652cd92a3&displaylang=en
On the other and if you're using DirectX SDK
there is a folder "redist"
and in it there are setup's of DX,
you can distribute them with your app,
and your Setup has to call the dxsetup.exe