Skip to content
⌘ NSIS Forum Archive

Can i execute an application when installer ends?

4 posts

oeselbek#

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
Takhir#
If you are using Modern UI please read it's Readme (Start menu->Programs->NSIS->Contrib). NSIS User Manual may be usefull as well.
oeselbek#
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
Animaether#
You can put it in...
Function .onInstSuccess
  # code to run when installation successful
FunctionEnd