Archive: Run .exe after extraction


Run .exe after extraction
Here is the situation. I'm packaging up an Oracle 10g client into an installer. Once it extracts to the target directory I'm trying to navigate to a subfolder and start the Oracle Universal Installer. I have searched and not been able to get a solid answer on how to acomplish this. Any advice would be appreciated. Here is a code snip of what it looks like right now


Section "Oracle 10g Client" SEC01
File "10g_Client.exe"
ExecWait "$INSTDIR\10g_Client.exe"
ExecWait "$INSTDIR\C:\10g_Client\install\setup.exe"
SectionEnd

ExecWait "$INSTDIR\C:\10g_Client\install\setup.exe"
That would point to something like:
C:\blah\farming\C:\10g_Client\install\setup.exe
Which isn't going to be a valid location.

If the 'install' dir is a sub dir of $INSTDIR (aka where 10g_Client.exe is too) then just do:
ExecWait "$INSTDIR\install\setup.exe"

That resolved it, thank you for the logic!