如何使用 vbscript(installshield express 2010 或 2011)在静默安装中访问 productname 的会话属性。
谢谢你
如何使用 vbscript(installshield express 2010 或 2011)在静默安装中访问 productname 的会话属性。
谢谢你
根据我的经验,您也可以使用即时自定义操作在静默安装期间读取属性。您无法使用延迟的自定义操作访问属性。您的自定义操作是否设置为立即? http://msdn.microsoft.com/library/aa368268.aspx
我认为这可以完成工作:)
Dim ISProject
Set ISProject = CreateObject("IswiAuto15.ISWiProject") \*Create the object*/
ISProject.OpenProject ("C:\Path\To\ISM\Project.ism")\*Initialize it*/
ISProject.ProductName \* Like this you get the value of the name property */
ISProject.ProductName="MyInstallShield" \* and this is how you set */
ISProject.SaveProject()
ISProject.CloseProject
我希望这会有所帮助