summaryrefslogtreecommitdiffabout
path: root/install/install.cpp
Side-by-side diff
Diffstat (limited to 'install/install.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--install/install.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/install/install.cpp b/install/install.cpp
index 12b20f7..f16ec79 100644
--- a/install/install.cpp
+++ b/install/install.cpp
@@ -1,12 +1,12 @@
#include "resource.h"
#include "../shared-code/install.h"
#define KINSHORT "BigBro"
#define KINNAME "Big Brother"
-#define VERSION "1.5"
+#define VERSION "1.5.1"
BOOL Install(void)
{
STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",KINSHORT "Path");
STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath");
LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings");
@@ -58,11 +58,17 @@ FILE* inf=CREATE_INF_FILE(path,KINSHORT ".INF");
INF_FILE_SECTION(inf,"kMenu");
INF_MENU_GROUP(inf,1,"Klever Group");
INF_MENU_ITEM(inf,1,KINNAME);
fclose(inf);
REG_UNINSTALL_COMMAND(KINSHORT,"Klever " KINNAME " " VERSION,shortPath,KINSHORT".INF","Uninstall");
+ REG_UNINSTALL_ICON(KINSHORT,path,"bigbrother.exe",0);
+ REG_UNINSTALL_COMMENT(KINSHORT,"Klever Big brother");
+ REG_UNINSTALL_VERSION(KINSHORT,VERSION);
+ REG_UNINSTALL_LOCATION(KINSHORT,path);
+ REG_UNINSTALL_PUBLISHER(KINSHORT,"Klever Group");
+ REG_UNINSTALL_URLS(KINSHORT,"http://www.klever.net/","http://kin.klever.net/bigbrother/");
MessageBox(NULL,KINNAME" " VERSION " installed successfully, you may now run it from 'Programs/Klever Group' menu or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK);
return TRUE;
}