added yara downloader in installer

This commit is contained in:
jakani24
2024-04-04 19:14:38 +02:00
parent ba0418a268
commit 9415ba95e5
55 changed files with 1359 additions and 826 deletions

View File

@@ -24,7 +24,7 @@
"RelativeDocumentMoniker": "ma_uninstaller.cpp",
"ToolTip": "C:\\Users\\janis\\Documents\\Projekte_mit_c\\ma\\ma\\src\\ma_uninstaller\\ma_uninstaller.cpp",
"RelativeToolTip": "ma_uninstaller.cpp",
"ViewState": "AQIAAI0AAAAAAAAAAAAAALcAAAAUAAAA",
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAoAAAACAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|",
"WhenOpened": "2023-12-23T09:04:19.505Z",
"EditorCaption": ""

View File

@@ -1,8 +1,13 @@
// ma_uninstaller.cpp : Diese Datei enthält die Funktion "main". Hier beginnt und endet die Ausführung des Programms.
//
//todo:
/* remove folders
* remove background task
/*
This file contains the uninstaller for the Cyberhex application. It removes the application directory and the background task.
DO:
- Check if the programm is run as admin
- If not, request admin rights
- Stop the Cyberhex application
- Remove the application directory
- Remove the background task
- Show a message box with the result
*/
#include <iostream>
#include <Windows.h>
@@ -217,6 +222,7 @@ int main()
case 4:
printf("Failed to remove directory.\n");
MessageBox(NULL, L"Failed to remove directory!", L"Error", MB_OK);
break;
default:
printf("Unknown error\n");
MessageBox(NULL, L"Unknown error!", L"Error", MB_OK);