Old 4th November 2009, 15:46   #1
smartins
Junior Member
 
Join Date: Aug 2007
Posts: 4
Run a program after install

I'm trying to find out how I can run a program after the nsis install even if the user doesn't check the box on the finish page.

I've used the following code but for the function to be called I need to select the checkbox.
Run an application shortcut after an install

Is there any way of always running a program when the NSIS installer is closed?

Thanks for any help provided.
smartins is offline   Reply With Quote
Old 4th November 2009, 16:40   #2
CG!
Junior Member
 
CG!'s Avatar
 
Join Date: Nov 2009
Location: Germany
Posts: 48
code:
Function .OnInstSuccess
Exec "Program.EXE"
FunctionEnd


This starts the program after an successful installation.
Not needed else i think.

Religion must die, for mankind to live.
©Religulous:Bill Maher:2008
CG! is offline   Reply With Quote
Old 4th November 2009, 17:33   #3
smartins
Junior Member
 
Join Date: Aug 2007
Posts: 4
Thanks for the help, that indeed did the trick.
smartins 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