From 607b5ea7665a99a91a4388dd60863dbb216e1770 Mon Sep 17 00:00:00 2001 From: Ruud Date: Tue, 19 Mar 2013 21:22:07 +0100 Subject: [PATCH] Run exe after install --- installer.iss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/installer.iss b/installer.iss index 2acbe8b1..e9171e33 100644 --- a/installer.iss +++ b/installer.iss @@ -1,5 +1,5 @@ #define MyAppName "CouchPotato" -#define MyAppVer "2.0.7" +#define MyAppVer "2.0.7.1" [Setup] AppName={#MyAppName} @@ -22,6 +22,9 @@ UsePreviousAppDir=no [Messages] WelcomeLabel1=Installing [name]! WelcomeLabel2=This wizard will install [name] to your AppData folder. It does this so it can use the build in updater without needing admin rights. + +[CustomMessages] +LaunchProgram=Launch {#MyAppName} right now. [Files] Source: "./dist/{#MyAppName}-{#MyAppVer}.win32/*"; Flags: recursesubdirs; DestDir: "{app}" @@ -33,6 +36,10 @@ Name: "{userstartup}\{#MyAppName}"; Filename: "{app}\{#MyAppName}.exe"; Tasks: s [Tasks] Name: "startup"; Description: "Run {#MyAppName} at startup"; Flags: unchecked +[Run] +Filename: {app}\{#MyAppName}.exe; Description: {cm:LaunchProgram,{#MyAppName}}; Flags: nowait postinstall skipifsilent + + [UninstallDelete] Type: filesandordirs; Name: "{app}\appdata" Type: filesandordirs; Name: "{app}\Microsoft.VC90.CRT"