eouw0o83hf
30th April 2007 13:54 UTC
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 15:51 UTC
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 17:54 UTC
It's always best to use a full path for execution and deletion.
File MCRInstaller.exe
ExecWait '"$INSTDIR\MCRInstaller.exe"'
Delete $INSTDIR\MCRInstaller.exe