-rw-r--r-- | install/install.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/install/install.cpp b/install/install.cpp index aa474d5..bbc2b3b 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"KINSole 1.1" | 4 | #define VERSION "1.1.1" |
5 | #define KINAME"KINSole " VERSION | ||
5 | #define SKINAME"KINSole" | 6 | #define SKINAME"KINSole" |
6 | 7 | ||
7 | BOOL Install(void) | 8 | BOOL Install(void) |
@@ -58,6 +59,13 @@ FILE* inf=CREATE_INF_FILE(path, SKINAME ".INF"); | |||
58 | fclose(inf); | 59 | fclose(inf); |
59 | 60 | ||
60 | REG_UNINSTALL_COMMAND(SKINAME,"Klever " KINAME,shortPath,SKINAME ".INF","Uninstall"); | 61 | REG_UNINSTALL_COMMAND(SKINAME,"Klever " KINAME,shortPath,SKINAME ".INF","Uninstall"); |
62 | REG_UNINSTALL_ICON(SKINAME,path,SKINAME ".exe",0); | ||
63 | REG_UNINSTALL_COMMENT(SKINAME,"Klever " KINAME); | ||
64 | REG_UNINSTALL_VERSION(SKINAME,VERSION); | ||
65 | REG_UNINSTALL_LOCATION(SKINAME,path); | ||
66 | REG_UNINSTALL_PUBLISHER(SKINAME,"Klever Group"); | ||
67 | REG_UNINSTALL_URLS(SKINAME,"http://www.klever.net/","http://kin.klever.net/kinsole/"); | ||
68 | |||
61 | 69 | ||
62 | MessageBox(NULL,KINAME " installed successfully, you may now run it from command line, read documentation in 'Programs/Klever Group' menu or simply remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK); | 70 | MessageBox(NULL,KINAME " installed successfully, you may now run it from command line, read documentation in 'Programs/Klever Group' menu or simply remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK); |
63 | 71 | ||