-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.h
106 lines (80 loc) · 2 KB
/
main.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#ifndef MAIN_H_INCLUDED
#define MAIN_H_INCLUDED
/***
***************AutoInstall***************
"Small" tool for installing software/updates
and much more.
Can install: MSI ; EXE
Can apply: REG; PS1
The main idea was to automate the most
installation and configuration procedure.
Neat tool for small IT-offices and sale-
points.
Detects architectur and version, makes
installation and preperation for new PCs a
lot faster.
First entry is configurable for most used
settings. Second for choosing software.
Registryhacks are applied all.
*********************************************
Supported Compiler:
i686-w64-mingw32-g++
Linker Settings:
-static-libgcc
-static
-Wl,--allow-multiple-definition
Compiler Settings:
-fexceptions
-pthread
-static-libgcc
-static-libstdc++
*********************************************
installationfiles:
x64\setupname.exe or .msi
x32\setupname.exe or .msi
Andere\Virenscanner\ -> not so used
system\WinPKG.exe -> for example
*********************************************
Shutouts to my friends of IT-Taucha
Greetings to Eric O. for his ideas and
solid questions.
***/
/** Includes **/
//Standard Libs
#include <iostream>
#include <stdlib.h>
//Eigene Libs
#include "safecin.h"
#include "namestart.h"
#include "version.h"
#include "mainlang.h"
///Eigene OOP Libs
#include "chksys.h"
#include "logo.h"
#include "debugmodes.h"
#include "programm.h"
#include "action.h"
/** Prototypen **/
void begruesung(void);
void cls(void);
int menu(void);
void standardinstall(bool);
void suinstall(void);
void virenscanner(void);
void msoffice(void);
void abfrage(std::string);
void debugmode(void);
void auswahltext(void);
void printver(void);
void fehlerhandling(void);
void setwindows(void);
void shutdownfrage(void);
/** globale Variablen **/
int ver{0};
int bit{0};
int benutzt{0};
int input{0};
bool aktver{0};
std::string kompletteversion{};
debugmodes debugone;
#endif // MAIN_H_INCLUDED