├── .gitattributes
├── main.cpp
├── setup.ico
├── resource.h
├── .gitignore
├── simple_msi_bootstrapper.rc
├── README.org
├── simple_msi_bootstrapper.sln
├── LICENSE.txt
├── simple_msi_bootstrapper.vcxproj.filters
└── simple_msi_bootstrapper.vcxproj
/.gitattributes:
--------------------------------------------------------------------------------
1 | README.org encoding=utf-8
2 |
--------------------------------------------------------------------------------
/main.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/misohena/simple_msi_bootstrapper/master/main.cpp
--------------------------------------------------------------------------------
/setup.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/misohena/simple_msi_bootstrapper/master/setup.ico
--------------------------------------------------------------------------------
/resource.h:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/misohena/simple_msi_bootstrapper/master/resource.h
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | Debug
2 | Release
3 | *.opensdf
4 | *.sdf
5 | *.suo
6 | *.aps
7 | *.vcxproj.user
8 |
--------------------------------------------------------------------------------
/simple_msi_bootstrapper.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/misohena/simple_msi_bootstrapper/master/simple_msi_bootstrapper.rc
--------------------------------------------------------------------------------
/README.org:
--------------------------------------------------------------------------------
1 | * Simple MSI Bootstrapper
2 |
3 | msiファイルを実行するだけのシンプルなsetup.exeです。
4 |
5 | 今のところ、次のことを行います。
6 |
7 | 1. Windows Installer バージョン2.0以降が見つからなければインストールするように促す。
8 | 2. 文字列リソースに記録されている.msiファイル名を取得する(デフォルトはsetup.msi)。
9 | 3. msiファイルをフルUIで起動する。
10 |
--------------------------------------------------------------------------------
/simple_msi_bootstrapper.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2013
4 | VisualStudioVersion = 12.0.30723.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "simple_msi_bootstrapper", "simple_msi_bootstrapper.vcxproj", "{1313C64B-8A34-47A1-89B3-8816BE7445DD}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Win32 = Debug|Win32
11 | Release|Win32 = Release|Win32
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {1313C64B-8A34-47A1-89B3-8816BE7445DD}.Debug|Win32.ActiveCfg = Debug|Win32
15 | {1313C64B-8A34-47A1-89B3-8816BE7445DD}.Debug|Win32.Build.0 = Debug|Win32
16 | {1313C64B-8A34-47A1-89B3-8816BE7445DD}.Release|Win32.ActiveCfg = Release|Win32
17 | {1313C64B-8A34-47A1-89B3-8816BE7445DD}.Release|Win32.Build.0 = Release|Win32
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/LICENSE.txt:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 | Copyright (c) 2014 AKIYAMA Kouhei
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 | The above copyright notice and this permission notice shall be included in all
10 | copies or substantial portions of the Software.
11 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
17 | SOFTWARE.
18 |
--------------------------------------------------------------------------------
/simple_msi_bootstrapper.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;hh;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;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | ソース ファイル
20 |
21 |
22 |
23 |
24 | ヘッダー ファイル
25 |
26 |
27 |
28 |
29 | リソース ファイル
30 |
31 |
32 |
33 |
34 | リソース ファイル
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/simple_msi_bootstrapper.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | Win32
7 |
8 |
9 | Release
10 | Win32
11 |
12 |
13 |
14 | {1313C64B-8A34-47A1-89B3-8816BE7445DD}
15 | Win32Proj
16 | simple_msi_bootstrapper
17 |
18 |
19 |
20 | Application
21 | true
22 | v120_xp
23 | Unicode
24 |
25 |
26 | Application
27 | false
28 | v120_xp
29 | true
30 | Unicode
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 | true
44 | setup
45 |
46 |
47 | false
48 | setup
49 |
50 |
51 |
52 |
53 |
54 | Level3
55 | Disabled
56 | WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
57 | true
58 | MultiThreadedDebug
59 |
60 |
61 | Windows
62 | true
63 | version.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)
64 |
65 |
66 |
67 |
68 | Level3
69 |
70 |
71 | MaxSpeed
72 | true
73 | true
74 | WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
75 | true
76 | MultiThreaded
77 |
78 |
79 | Windows
80 | true
81 | true
82 | true
83 | version.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
--------------------------------------------------------------------------------