Name "Example1"
; The file to write
OutFile "example1.exe"
; The default installation directory
InstallDir $PROGRAMFILES\Example1
Page directory
Page instfiles
Section ""
SetOutPath $INSTDIR
nsExec::ExecToLog '"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\RegAsm.exe"'
SectionEnd ; end the section Running the setup generated by the above in silent mode "/S" crashes Outlook 2003 on my machine 100% of the time. The command-line may or may not be relevant, but it is important that it produces text output. Changing to nsExec::Exec works around the problem, as does nsExec::ExecToStack. My theory is that something about the ExecToLog is faulty when directing the output to the (non-visible) NSIS log window.