WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > EXEC after FILE - file not exists
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
rybz
Junior Member

Registered: Nov 2009
From:

EXEC after FILE - file not exists

I try to copy file to $INSTDIR and then perform operation on it. Unfortuately execution seems to be started before the file is copied. Tho code:

code:
File "proxytrans.ax" Exec '"$WINDIR\System32\regsvr32.exe" "$INSTDIR\proxytrans.ax"'


The output message is either "file not exists" or "file is used by another process". How to make it correct?

Quick Link | Report this post to a moderator | IP: Logged

rybz is offline Old Post 11-04-2009 04:39 PM
Click Here to See the Profile for rybz Click here to Send rybz a Private Message Click Here to Email rybz Find more posts by rybz Add rybz to your buddy list Edit/Delete Message Reply w/Quote
MSG
Senior Member

Registered: Oct 2006
From:

I really don't think this is a problem of line 2 starting before line 1 is finished. Are you sure you're extracting the file to $INSTDIR?

(Might also be related to a very badly sucking virusscanner hogging the file...)

Quick Link | Report this post to a moderator | IP: Logged

MSG is offline Old Post 11-05-2009 07:53 AM
Click Here to See the Profile for MSG Click here to Send MSG a Private Message Find more posts by MSG Add MSG to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 04:39 AM. Post New Thread    Post A Reply
  Last Thread   Next Thread
WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > EXEC after FILE - file not exists
Show Printable Version
 | 
Email this Page
 | 
Subscribe to this Thread

Forum Jump:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is off
vB code is ON
Smilies are ON
[IMG] code is ON