Run exe after install
This commit is contained in:
1 parent
88579cd71a
commit
607b5ea766
1 file changed
+8
-1
+8
-1
@@ -1,5 +1,5 @@
|
|||||||
#define MyAppName "CouchPotato"
|
#define MyAppName "CouchPotato"
|
||||||
#define MyAppVer "2.0.7"
|
#define MyAppVer "2.0.7.1"
|
||||||
|
|
||||||
[Setup]
|
[Setup]
|
||||||
AppName={#MyAppName}
|
AppName={#MyAppName}
|
||||||
@@ -22,6 +22,9 @@ UsePreviousAppDir=no
|
|||||||
[Messages]
|
[Messages]
|
||||||
WelcomeLabel1=Installing [name]!
|
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.
|
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]
|
[Files]
|
||||||
Source: "./dist/{#MyAppName}-{#MyAppVer}.win32/*"; Flags: recursesubdirs; DestDir: "{app}"
|
Source: "./dist/{#MyAppName}-{#MyAppVer}.win32/*"; Flags: recursesubdirs; DestDir: "{app}"
|
||||||
@@ -33,6 +36,10 @@ Name: "{userstartup}\{#MyAppName}"; Filename: "{app}\{#MyAppName}.exe"; Tasks: s
|
|||||||
[Tasks]
|
[Tasks]
|
||||||
Name: "startup"; Description: "Run {#MyAppName} at startup"; Flags: unchecked
|
Name: "startup"; Description: "Run {#MyAppName} at startup"; Flags: unchecked
|
||||||
|
|
||||||
|
[Run]
|
||||||
|
Filename: {app}\{#MyAppName}.exe; Description: {cm:LaunchProgram,{#MyAppName}}; Flags: nowait postinstall skipifsilent
|
||||||
|
|
||||||
|
|
||||||
[UninstallDelete]
|
[UninstallDelete]
|
||||||
Type: filesandordirs; Name: "{app}\appdata"
|
Type: filesandordirs; Name: "{app}\appdata"
|
||||||
Type: filesandordirs; Name: "{app}\Microsoft.VC90.CRT"
|
Type: filesandordirs; Name: "{app}\Microsoft.VC90.CRT"
|
||||||
|
|||||||
Reference in new issue
Block a user