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 ?
La 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.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow