We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The MSIHelper module statically passes the /qb flag to msiexec. It would be nicer if, instead, that was customizable in the MSIParams type (record?).
I'm new to F# but this is my likely bad re-implementation I went with since I couldn't figure out how to extend a record.
let CustomUninstall (setParams : MSIParams -> MSIParams) setup silent = traceStartTask "MSI-Uninstall" setup let parameters = setParams MSIDefaults let args = sprintf "%s /l* %s /x %s" (if silent then "/qn" else "/qb") parameters.LogFile setup if 0 <> ExecProcess (fun info -> info.FileName <- parameters.ToolPath info.WorkingDirectory <- parameters.WorkingDir info.Arguments <- args) parameters.TimeOut && parameters.ThrowIfSetupFails then failwithf "MSI-Uninstall %s failed." args traceEndTask "MSI-Uninstall" setup```
The text was updated successfully, but these errors were encountered:
I implemented this by adding a property to the parameters. Does this work for you?
Sorry, something went wrong.
b2542ef
Yes that works great :) Thanks!
No branches or pull requests
The MSIHelper module statically passes the /qb flag to msiexec. It would be nicer if, instead, that was customizable in the MSIParams type (record?).
I'm new to F# but this is my likely bad re-implementation I went with since I couldn't figure out how to extend a record.
The text was updated successfully, but these errors were encountered: