chocolatey / cChoco

Community resource to manage Chocolatey
Apache License 2.0
154 stars 99 forks source link

cChocoPackageInstaller should pass on Source parameter #144

Open trueqbit opened 4 years ago

trueqbit commented 4 years ago

choco install features the alternative sources windowsfeatures and webpi.

cChocoPackageInstaller { Ensure = 'Present'; Source = 'windowsfeatures' } works perfectly but cChocoPackageInstaller { Ensure = 'Absent'; Source = 'windowsfeatures' } does not, because the UninstallPackage function doesn't pass on the source parameter.

pauby commented 4 years ago

If you are using DSC you can use other resources to manage Windows Features. But I agree that we may want to start pushing that through.