Archive: Third-party installations


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


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"


It's always best to use a full path for execution and deletion.

File MCRInstaller.exe
ExecWait '"$INSTDIR\MCRInstaller.exe"'
Delete $INSTDIR\MCRInstaller.exe