summaryrefslogtreecommitdiffabout
path: root/install/install.cpp
Unidiff
Diffstat (limited to 'install/install.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--install/install.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/install/install.cpp b/install/install.cpp
index 81d5a7e..82811b9 100644
--- a/install/install.cpp
+++ b/install/install.cpp
@@ -1,7 +1,8 @@
1#include "resource.h" 1#include "resource.h"
2#include "../shared-code/install.h" 2#include "../shared-code/install.h"
3 3
4 #define KINAME"KLog 1.1.1-trunk" 4#define VERSION "1.2"
5 #define KINAME"KLog " VERSION
5 #define SKINAME"KLog" 6 #define SKINAME"KLog"
6 7
7BOOL Install(void) 8BOOL Install(void)
@@ -63,6 +64,12 @@ FILE* inf=CREATE_INF_FILE(path,SKINAME ".INF");
63 INF_MENU_ITEM(inf,1,SKINAME); 64 INF_MENU_ITEM(inf,1,SKINAME);
64 fclose(inf); 65 fclose(inf);
65 REG_UNINSTALL_COMMAND(SKINAME,"Klever " KINAME,shortPath,SKINAME ".INF","Uninstall"); 66 REG_UNINSTALL_COMMAND(SKINAME,"Klever " KINAME,shortPath,SKINAME ".INF","Uninstall");
67 REG_UNINSTALL_ICON(SKINAME,path,SKINAME ".exe",0);
68 REG_UNINSTALL_COMMENT(SKINAME,"Klever " KINAME);
69 REG_UNINSTALL_VERSION(SKINAME,VERSION);
70 REG_UNINSTALL_LOCATION(SKINAME,path);
71 REG_UNINSTALL_PUBLISHER(SKINAME,"Klever Group");
72 REG_UNINSTALL_URLS(SKINAME,"http://www.klever.net/","http://kin.klever.net/klog/");
66 73
67 MessageBox(NULL,KINAME " installed successfully, you may now run it from 'Programs/Klever Group' menu, move it to your Startup group or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK); 74 MessageBox(NULL,KINAME " installed successfully, you may now run it from 'Programs/Klever Group' menu, move it to your Startup group or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK);
68 75