├── LoadSys.c
├── InstDrv.ico
├── InstDrv.rc
├── LoadSys.jpg
├── InstDrv.vcproj
├── x64
└── Debug
│ └── LoadSys.res
├── .gitignore
├── InstDrv.vcxproj.user
├── README.md
├── resource.h
├── InstDrv.sln
├── InstDrv.vcxproj.filters
└── InstDrv.vcxproj
/LoadSys.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TanakaYasen/InstDrv/HEAD/LoadSys.c
--------------------------------------------------------------------------------
/InstDrv.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TanakaYasen/InstDrv/HEAD/InstDrv.ico
--------------------------------------------------------------------------------
/InstDrv.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TanakaYasen/InstDrv/HEAD/InstDrv.rc
--------------------------------------------------------------------------------
/LoadSys.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TanakaYasen/InstDrv/HEAD/LoadSys.jpg
--------------------------------------------------------------------------------
/InstDrv.vcproj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TanakaYasen/InstDrv/HEAD/InstDrv.vcproj
--------------------------------------------------------------------------------
/x64/Debug/LoadSys.res:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TanakaYasen/InstDrv/HEAD/x64/Debug/LoadSys.res
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.ipch
2 | *.pdb
3 | *.obj
4 | *.exe
5 | *.ilk
6 | *.txt
7 | *.log
8 | *.tlog
9 | *.db
10 | *.opendb
11 |
12 | *.suo
--------------------------------------------------------------------------------
/InstDrv.vcxproj.user:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # InstDrv
2 | Win Driver Installer
3 |
4 | # toolkit to load windows .sys driver
5 | equalent steps as follows
6 | 1. sc create helloworld binPath=helloworld.sys type=kernel start=auto
7 | 2. sc start helloworld
8 | 3. sc stop helloworld
9 | 4. sc delete helloworld
10 |
11 | # features
12 | 1. dragfile supported.
13 |
--------------------------------------------------------------------------------
/resource.h:
--------------------------------------------------------------------------------
1 | #ifndef IDC_STATIC
2 | #define IDC_STATIC (-1)
3 | #endif
4 |
5 | #include
6 |
7 | #define IDC_EDIT_DRVFULLPATH 1000
8 | #define IDC_BTN_BROWSE 1001
9 | #define IDC_BTN_INSTALL 1002
10 | #define IDC_BTN_START 1003
11 | #define IDC_BTN_STOP 1004
12 | #define IDC_BTN_REMOVE 1005
13 | #define IDC_STATIC_STATUS 1006
14 | #define IDC_STATIC_1 1007
15 | #define IDC_STATIC_2 1008
16 | #define IDC_RADIO_SCM 1009
17 | #define IDC_RADIO_NATIVEAPI 1010
18 | #define IDC_EDIT_DEVICE_PATH 40000
19 |
--------------------------------------------------------------------------------
/InstDrv.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.27428.2005
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "InstDrv", "InstDrv.vcxproj", "{2F9E1E0C-3A81-4E5F-B13E-321D43EA80EC}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Win32 = Debug|Win32
11 | Debug|x64 = Debug|x64
12 | Release|Win32 = Release|Win32
13 | Release|x64 = Release|x64
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {2F9E1E0C-3A81-4E5F-B13E-321D43EA80EC}.Debug|Win32.ActiveCfg = Debug|x64
17 | {2F9E1E0C-3A81-4E5F-B13E-321D43EA80EC}.Debug|x64.ActiveCfg = Debug|x64
18 | {2F9E1E0C-3A81-4E5F-B13E-321D43EA80EC}.Debug|x64.Build.0 = Debug|x64
19 | {2F9E1E0C-3A81-4E5F-B13E-321D43EA80EC}.Release|Win32.ActiveCfg = Release|x64
20 | {2F9E1E0C-3A81-4E5F-B13E-321D43EA80EC}.Release|x64.ActiveCfg = Release|x64
21 | {2F9E1E0C-3A81-4E5F-B13E-321D43EA80EC}.Release|x64.Build.0 = Release|x64
22 | EndGlobalSection
23 | GlobalSection(SolutionProperties) = preSolution
24 | HideSolutionNode = FALSE
25 | EndGlobalSection
26 | GlobalSection(ExtensibilityGlobals) = postSolution
27 | SolutionGuid = {A359B423-B99C-4F16-B6C6-3D0A31483522}
28 | EndGlobalSection
29 | EndGlobal
30 |
--------------------------------------------------------------------------------
/InstDrv.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav
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 |
--------------------------------------------------------------------------------
/InstDrv.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | x64
7 |
8 |
9 | Release
10 | x64
11 |
12 |
13 |
14 | {2F9E1E0C-3A81-4E5F-B13E-321D43EA80EC}
15 | InstDrv
16 | 10.0.16299.0
17 |
18 |
19 |
20 | Application
21 | v141
22 | Unicode
23 | true
24 |
25 |
26 | Application
27 | v141
28 | Unicode
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 | <_ProjectFileVersion>15.0.27413.0
42 |
43 |
44 |
45 |
46 | Disabled
47 | EnableFastChecks
48 | MultiThreadedDebug
49 | Level3
50 | ProgramDatabase
51 |
52 |
53 | true
54 | ntdll.lib;%(AdditionalDependencies)
55 |
56 |
57 |
58 |
59 | MaxSpeed
60 | true
61 | MultiThreaded
62 | true
63 | Level3
64 | ProgramDatabase
65 |
66 |
67 | true
68 | true
69 | true
70 | ntdll.lib;%(AdditionalDependencies)
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
--------------------------------------------------------------------------------