From d68d2dfdb6ffe97d68d57dcc88d3cf031a8ca88f Mon Sep 17 00:00:00 2001
From: Ruud <ruud@crashdummy.nl>
Date: Sun, 9 Sep 2012 21:48:38 +0200
Subject: [PATCH] Updated installer

---
 installer.iss | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/installer.iss b/installer.iss
index 9b26df98..6b9ee9a8 100644
--- a/installer.iss
+++ b/installer.iss
@@ -1,9 +1,9 @@
-#define MyAppName "CouchPotato"   
-#define MyAppVer "2.0.0.pre2"
+#define MyAppName "CouchPotato"
+#define MyAppVer "2.0.0.pre1"
 
 [Setup]
 AppName={#MyAppName}
-AppVersion={#MyAppVer}
+AppVersion=2
 AppVerName={#MyAppName}
 DefaultDirName={pf}\{#MyAppName}
 DisableProgramGroupPage=yes
@@ -15,11 +15,14 @@ AppPublisher=Your Mom
 AppPublisherURL=http://couchpota.to
 
 [Files]
-Source: "./dist/{#MyAppName}-{#MyAppVer}.win32/*"; Flags: recursesubdirs; DestDir: "{app}" 
+Source: "./dist/{#MyAppName}-{#MyAppVer}.win32/*"; Flags: recursesubdirs; DestDir: "{app}"
 
 [Icons]
 Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppName}.exe"
-Name: "{userstartup}\{#MyAppName}"; Filename: "{app}\{#MyAppName}.exe"
+Name: "{userstartup}\{#MyAppName}"; Filename: "{app}\{#MyAppName}.exe"; Tasks: startup
 
 [Tasks]
-Name: "startup"; Description: "Run {#MyAppName} at startup"; Flags: unchecked
\ No newline at end of file
+Name: "startup"; Description: "Run {#MyAppName} at startup"; Flags: unchecked
+
+[UninstallDelete]
+Type: filesandordirs; Name: "{app}\*.*"
\ No newline at end of file
-- 
GitLab