Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 12th September 2006, 10:34   #1
BarrelOfAGun
Junior Member
 
Join Date: Feb 2006
Location: Italy
Posts: 28
Run application after install

How can I set a default application to run after install without MUI_FINISHPAGE_RUN?

Help me!
BarrelOfAGun is offline   Reply With Quote
Old 12th September 2006, 10:47   #2
lorenzop
Junior Member
 
Join Date: Jun 2005
Posts: 36
You must write:

!define MUI_FINISHPAGE_RUN "$INSTDIR\myApp.exe"
lorenzop is offline   Reply With Quote
Old 12th September 2006, 11:52   #3
BarrelOfAGun
Junior Member
 
Join Date: Feb 2006
Location: Italy
Posts: 28
Re: Run application after install

Quote:
Originally posted by BarrelOfAGun
How can I set a default application to run after install
without MUI_FINISHPAGE_RUN?
Help me!
BarrelOfAGun is offline   Reply With Quote
Old 15th September 2006, 08:13   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,336
Define a leave function for the finish page and use Exec in it. You could also use it at the end of the last section or .onInstSuccess.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp 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