开发者

How can I create a Visual Studio Setup Project MSI that can be installed unattended via AD Group Policy?

if i want to install a MSI, created by Visual Studio 2005, via Active Directory Group Policy:

What requirements must be met by the Setup Project? How can I specify the installation path? Is this a part of the Group Policy setting? Or do I have to create a special "开发者_高级运维silent install" version of the MSI?

Thanks!


I found out that it is possible to specify the installation path with a custom property called "TARGETDIR". The unattended installation can be tested with:

setup.msi /passive TARGETDIR="C:\whatever"


There is a command MSIExec that installs MSI installers automatically. This command is what you would use with the Policy. Any MSI should be compatible with it.

You have a number of options for building installers going with Microsofts default setup projects or something more verbose like Wix.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜