Old 29th August 2008, 14:41   #1
dunwitch
Junior Member
 
Join Date: Aug 2008
Posts: 2
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

code:

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

dunwitch is offline   Reply With Quote
Old 29th August 2008, 15:36   #2
QOAL
[STILL a retard!]
 
QOAL's Avatar
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 1,167
Quote:
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"
QOAL is offline   Reply With Quote
Old 29th August 2008, 16:01   #3
dunwitch
Junior Member
 
Join Date: Aug 2008
Posts: 2
That resolved it, thank you for the logic!
dunwitch is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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