Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 11th August 2001, 15:12   #1
sgt-d
Junior Member
 
Join Date: Aug 2001
Location: Earth
Posts: 33
Send a message via ICQ to sgt-d Send a message via AIM to sgt-d Send a message via Yahoo to sgt-d
Problem with Exec and ExecWait

ExecShell open 'something' works fine... but I am having no luck with Exec or ExecWait.

Exec 'c:\windows\notepad.exe'
ExecWait 'c:\windows\calc.exe'

I've tried "" instead of ''. I don't get it...
sgt-d is offline   Reply With Quote
Old 11th August 2001, 17:53   #2
DuaneJeffers
Major Dude
 
DuaneJeffers's Avatar
 
Join Date: May 2001
Location: Winter Park, FL
Posts: 1,776
Try using some variables. They would work much better than that of just typing out the location. Plus, someone's windir is could be different than yours.

-DJ

Website

Yeah, that's pretty much it. :-\
DuaneJeffers is offline   Reply With Quote
Old 11th August 2001, 18:01   #3
sgt-d
Junior Member
 
Join Date: Aug 2001
Location: Earth
Posts: 33
Send a message via ICQ to sgt-d Send a message via AIM to sgt-d Send a message via Yahoo to sgt-d
i will try that too... but still... i'm not testing this on anyone else's system, just locally, so the path is 100% correct. also, i am assuming they are using shell api calls here... winexec and shellexecute - winexec should work even without a full qualifying path, just so long as the exe you are trying to open is in your PATH statement. in that case, the windows folder is almost always part of the system PATH, so all i should have to do is Exec notepad.exe and it should work. I get nothing though - not even an error message. :/
sgt-d is offline   Reply With Quote
Reply
Go Back   Winamp 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