View Single Post
Old 24th June 2011, 22:05   #4
demiller9
Senior Member
 
Join Date: Mar 2006
Location: Dallas
Posts: 462
In my installer I embed the vc redistributable, but I have extracted it beforehand and call it like this:
code:
SetOutPath $PLUGINSDIR
File "${LIB}\vc_red.msi"
File "${LIB}\vc_red.cab"
DetailPrint "Execute: VCRedist_x86.exe"
ExecWait '"$SYSDIR\msiexec.exe" /i $PLUGINSDIR\vc_red.msi /qn /norestart'

Use the -x switch to extract the contents of VCRedist_x86 without installing it.

Don

Edit: specify the switch that extracts the contents without installing the package.
demiller9 is offline   Reply With Quote