Open dryzhov opened 1 month ago
Steps to reproduce:
Result: msiexec dialog window with usage information
Expected result: installed msi package
Analyze: Function policies/recipes/steps.go/stepInstallMsi contains code with default msiexec options
args := step.Flags if len(args) == 0 { args = []string{"/i", "/qn", "/norestart"} } args = append(args, path)
where path contain full path to *.msi file
By msiexec documentation parameter /i must contain value - package or product code. Then code may look like this:
args := step.Flags if len(args) == 0 { args = []string{"/qn", "/norestart", "/i"} } args = append(args, path)
Steps to reproduce:
Result: msiexec dialog window with usage information
Expected result: installed msi package
Analyze: Function policies/recipes/steps.go/stepInstallMsi contains code with default msiexec options
where path contain full path to *.msi file
By msiexec documentation parameter /i must contain value - package or product code. Then code may look like this: