Method: RDI::Model::DependencyUserChoice#selectOtherInstallLocation

Defined in:
lib/rdi/Model/DependencyUserChoice.rb

#selectOtherInstallLocation(iLocationSelectorName) ⇒ Object

Select a different install location for this dependency

Parameters:

  • iLocationSelectorName (String): The location selector name

Return:

  • Boolean: Is the selection valid ?



136
137
138
139
140
141
142
143
144
145
146
147
148
149
# File 'lib/rdi/Model/DependencyUserChoice.rb', line 136

def selectOtherInstallLocation(iLocationSelectorName)
  rSuccess = false

  @Installer.accessPlugin("LocationSelectors_#{@ViewName}", iLocationSelectorName) do |iPlugin|
    # Get the location from the plugin
    lInstallLocation = iPlugin.getNewLocation
    if (lInstallLocation != nil)
      @OtherLocation = lInstallLocation
      rSuccess = true
    end
  end

  return rSuccess
end