Customize install-log location in Visual studio setup projects
-
03-07-2021 - |
Question
The SetUp projects from Visual Studio will have their installation logs under temp folder with the name format like " %temp%\ .log "
Can I have some customization done here, so that these installation logs will go to a specific folder ?
Solution
You can change the location that MSI logs are written to by invoking MSIEXEC with the /L <logfilepath>
argument. If you cannot change the command line arguments (such as if the MSI is invoked by a setup executable), edit the registry to change the default log location.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow