vcatadmin
28th October 2009 17:19 UTC
Win err msg after ExecWait
I'm trying to run a program (that runs successfully) from my upgrade install procedure. Though it runs Nupdate.exe successfully from the installer, I consistanly receive a Win error msg re: "1.10Update.exe encountered blah blah & has to close blah blah" I have tried several things with the same results. One section, $9 = executible directory, code snipets below. I'm sure it's me, I appreciate any advise and thanx!:
Section "MainSection" SEC01
(other stuff)
ReadINIstr $9 $EXEDIR\vcat.ini DRIVES Update
(other stuff)
SetOutPath "$9"
Call Nupdate
SectionEnd
Function Nupdate
SetOutPath $9
ExecWait '"$9\Nupdate.exe"'
FunctionEnd
Zinthose
28th October 2009 19:40 UTC
Are you certain that the file exists at "$9\Nupdate.exe"?
It looks like your trying to install the file "Nupdate.exe" to Dir stored in $9 then executing it.
If this is the case then you need to:
File "<PathToFiles>\update.exe"
ExecWait '"$9\Nupdate.exe"'
vcatadmin
28th October 2009 19:48 UTC
Yes, the file resides in $9 - and it Runs successfully once it's launched by the installer (1.10UPDATE.exe), but I get an error msg stating 1.10UPDATE.exe has encountered a problem. So, the installer completes everything I ask it to do, but I get that error msg. I have attached the entire file for your review - and thanx :)