lib/service.rb in wixgem-0.104.0 vs lib/service.rb in wixgem-0.105.0

- old
+ new

@@ -44,9 +44,12 @@ user_element.add_attribute('Domain', service[:domain]) if(service.key?(:domain)) user_element.add_attribute('Name', service[:name]) user_element.add_attribute('LogonAsService', service[:logonasservice]) user_element.add_attribute('CreateUser', 'no') user_element.add_attribute('UpdateIfExists', 'yes') + + service.delete(:logonasservice) + service.delete(:logonasservice) if(service.key?(:domain)) end service_element = parent_element.add_element('ServiceInstall') service_element.attributes['Id'] = "Service_#{SecureRandom.uuid.gsub(/-/,'')}" service_element.attributes['Name'] = service[:name]