Search code examples
visual-studio-2010setup-projectvisual-studio-setup-proje

Customize install-log location in Visual studio setup projects


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.