Old 11th September 2011, 03:23   #1
SteveRussell
Senior Member
 
Join Date: Mar 2006
Location: United States
Posts: 109
Run installed app from installer

I want to stop using the MUI_FINISHPAGE_RUN option and simply execute my installed app at the end of installation. Where do I do this?

ExecWait '"$INSTDIR\${PRODUCT_FILE_TITLE}.exe"
SteveRussell is offline   Reply With Quote
Old 11th September 2011, 04:05   #2
SteveRussell
Senior Member
 
Join Date: Mar 2006
Location: United States
Posts: 109
Is there anything wrong with doing this?:

Section -Post
WriteUninstaller "$INSTDIR\${PRODUCT_NAME}\uninst.exe"
. . .
Exec "$INSTDIR\${PRODUCT_FILE_TITLE}.exe"
Quit
SectionEnd
SteveRussell is offline   Reply With Quote
Old 11th September 2011, 10:10   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Yep that's fine just make sure you quote the path as shown in the docs for Exec.

Stu
Afrow UK is offline   Reply With Quote
Old 11th September 2011, 13:33   #4
SteveRussell
Senior Member
 
Join Date: Mar 2006
Location: United States
Posts: 109
Thank you. This is one of the very best - and most helpful - forums I have ever participated in.
SteveRussell is offline   Reply With Quote
Old 12th September 2011, 06:43   #5
T.Slappy
Major Dude
 
T.Slappy's Avatar
 
Join Date: Jan 2006
Location: Slovakia
Posts: 562
Send a message via ICQ to T.Slappy
Quote:
Originally Posted by SteveRussell View Post
Thank you. This is one of the very best - and most helpful - forums I have ever participated in.
This is definitely true!!!
I am wondering if any question exists which cannot be answered by Afrow or Anders

Cool looking installers with custom design: www.graphical-installer.com
Create Setup Pages easily: www.install-designer.com
Build installers in Visual Studio 2005-2022: www.visual-installer.com
or RAD Studio 2009 - 11 Alexandria: www.rad-installer.com
T.Slappy 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