i have a Problem with NSIS script Using CABSetup.
When i try to use the Inststub.exe included in the CABSetup package it always crashs after the Installation. Its installed right but the "Pseudo Crash" issnt good because People who install my Programm later will be Iritated. (The issue just happens on Win Vista+).
So i decited to write my own Inststub.exe. But it doesnt extract the *.cab File and always gives me the out "2" instad of "0".
I already gave out the $SourcePath and $PLUGINSDIR in a MessageBox and they where Correct. But it doesn't extract the Cab's when i use my own InstStub.InitPluginsDir
SetDetailsPrint None
File /oname=$PLUGINSDIR\SET1.RPT ${SOURCEPATH}SET1\SET1.RPT
SetDetailsPrint Both
CABSetup::Extract "/SOURCE=$SourcePathDATA01.CAB" "/TARGET=$INSTDIR" /ALL "/reportfile=$PLUGINSDIR\SET1.RPT" |
Pop $R0
Does anyone have a Solution for my Problem?
MFG SvenBrnn
PS: Sry for my bad English