Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Third-party installations (http://forums.winamp.com/showthread.php?t=270389)

eouw0o83hf 30th April 2007 12:54

Third-party installations
 
I am writing up an installer for a senior design project application that we have been writing which interfaces with a hardware device and needs drivers to be installed as well. I have an exe to install the drivers.

I know this is probably a dumb question, but I've spent a while looking for ways to do this - how can I run the driver installation exe? Is there a simple command such as "open drivers.exe" ?

Thanks

eouw0o83hf 30th April 2007 14:51

I found the answer, just in case anybody else was wondering how to do it. First, you have to copy the exe into a directory, then run it (waiting for execution completion to move on with ExecWait), then delete it if you want. e.g.

File "MCRInstaller.exe"
ExecWait "MCRInstaller.exe"
Delete "MCRInstaller.exe"

kichik 30th April 2007 16:54

It's always best to use a full path for execution and deletion.
code:
File MCRInstaller.exe
ExecWait '"$INSTDIR\MCRInstaller.exe"'
Delete $INSTDIR\MCRInstaller.exe



All times are GMT. The time now is 04:20.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.