Hello, 

I'm working on an installer that requires numerous roles and features to be 
enabled. If those components are not available, the system, consisting of web 
applications, MSMQ, and SMTP server will fail to install, never mind run. 

Does WIX 3.6 support checking whether a Windows feature is installed? If not, 
what is the most appropriate manner to implement such a check? What comes to 
mind is to create a WIX extension, with a custom action that reads a MSI table 
to check whether the feature is available or not and fail with an appropriate 
message when its not.  Are there tutorials showing how to write a sample WIX 
extension? 

However, if one were to chain several such MSIs together, isn't it perhaps more 
appropriate that such checking be done by bootstrapper created using burn? If 
that is the case, are there any tutorials/samples how to check for 
prerequisites without checking the registry? In this case we can use WMI to 
query Win23_ServerFeature whether a feature/role is installed or not. 

Thanks,
Werner
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to