Old 28th October 2009, 15:19   #1
vcatadmin
Junior Member
 
Join Date: Oct 2009
Posts: 2
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
vcatadmin is offline   Reply With Quote
Old 28th October 2009, 17:40   #2
Zinthose
Senior Member
 
Join Date: May 2009
Posts: 152
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"'
Zinthose is offline   Reply With Quote
Old 28th October 2009, 17:48   #3
vcatadmin
Junior Member
 
Join Date: Oct 2009
Posts: 2
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
Attached Files
File Type: nsi cas-update routine.nsi (5.9 KB, 155 views)
vcatadmin is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump