author | Michael Krelin <hacker@klever.net> | 2005-08-06 13:47:13 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2005-08-06 13:47:13 (UTC) |
commit | fc7dc5278f4590c74e41b3ce89d093a05550ec44 (patch) (unidiff) | |
tree | 0c51dff7fad22caddab72ff125e2d7ace9c7e813 /install/install.cpp | |
parent | c71a33aff5d0bbe32dc9d0f732c11a87e5909d47 (diff) | |
download | kinsole-master.zip kinsole-master.tar.gz kinsole-master.tar.bz2 |
git-svn-id: http://svn.klever.net/kin/kinsole/trunk@132 fe716a7a-6dde-0310-88d9-d003556173a8
-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,8 +1,9 @@ | |||
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) |
8 | { | 9 | { |
@@ -57,8 +58,15 @@ FILE* inf=CREATE_INF_FILE(path, SKINAME ".INF"); | |||
57 | INF_MENU_ITEM(inf,1,"KINSole Help"); | 58 | INF_MENU_ITEM(inf,1,"KINSole Help"); |
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 | ||
64 | return TRUE; | 72 | return TRUE; |