I still don't really understand why this needs to be done -- this is exactly what the provider in windows_feature will do:

https://github.com/opscode-cookbooks/windows/blob/master/providers/feature_dism.rb#L27

Why can't we just call windows_feature directly? We should fix that rather than hack around it.