Old 12th November 2005, 16:31   #1
oeselbek
Junior Member
 
Join Date: Nov 2005
Posts: 2
Can i execute an application when installer ends?

Hi all...
Is there a way to execute an application when the user clik on the finish button?

Excellent installer BTW.

Regards Oystein Selbekk
oeselbek is offline   Reply With Quote
Old 12th November 2005, 16:53   #2
Takhir
Major Dude
 
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
If you are using Modern UI please read it's Readme (Start menu->Programs->NSIS->Contrib). NSIS User Manual may be usefull as well.
Takhir is offline   Reply With Quote
Old 12th November 2005, 17:15   #3
oeselbek
Junior Member
 
Join Date: Nov 2005
Posts: 2
Well... im not sure what UI i use... I started from the example example1.nsi and have read me through to making a quite simple but effective installer of an application written i VB6. So basically this is what i want to do:
Exec '"$INSTDIR\myapp.exe"'
I just dont know where to put it..?

Regards Oystein
oeselbek is offline   Reply With Quote
Old 12th November 2005, 18:37   #4
Animaether
Major Dude
 
Join Date: Jun 2001
Posts: 1,173
You can put it in...
PHP Code:
Function .onInstSuccess
  
# code to run when installation successful
FunctionEnd 
Animaether 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