New issue
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
Command line arguments swallowed by burn - affecting related bundle detection #5796
Comments
Burn removes the standard command line switches it knows about and sends the remaining arguments to the BA. So |
Well, if removing well-known burn arguments is desired behavior, then it is ok, that running installer with single parameter However, there should be no difference running the installer with I've attached logs of running same installer executable (while having different build of related bundle already installed on my computer). I've run it once with well-known burn argument, once without arguments. Log of installer execution Log of installer execution When you compare the logs, you can see a difference In both cases, BA is running without parameters, because the As a workaround, I'm detecting related bundle in my BA code using following code, so it works correctly and consistently, no matter arguments passed to BA.
Note that in this code would not be possible to use |
Unlike Bundles aren't expected to try to actually do anything with the engine when the |
The Help and Layout actions are "special" and designed to skip normal Burn phases like Detect. So a help action is showing the correct operation -- during Help, related bundles won't be acted on so |
But since no arguments are delivered to BA, we have no way how to detect that burn run "special" action, our custom installer GUI starts up and is in invalid state, because Detect phase did not run. |
The |
Bug
The text was updated successfully, but these errors were encountered: