Skip to content

Commit 1911fec

Browse files
committed
updated installer.
1 parent ad151d9 commit 1911fec

File tree

7 files changed

+32
-26
lines changed

7 files changed

+32
-26
lines changed

build.bat

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@
55
:: Edit this line to run the batch file for Qt environment.
66
::
77
::call "C:\Qt\Qt5.6.2-mingw\5.6\mingw49_32\bin\qtenv2.bat"
8-
::call "C:\Qt\Qt5.7.1-mingw\5.7\mingw53_32\bin\qtenv2.bat"
9-
::call "C:\Qt\Qt5.8.0-msvc2015\5.8\msvc2015_64\bin\qtenv2.bat"
10-
call "C:\Qt\Qt5.9.1\5.9.1\msvc2015_64\bin\qtenv2.bat"
8+
call "C:\Qt\Qt5.9.1\5.9.1\mingw53_32\bin\qtenv2.bat"
9+
::call "C:\Qt\Qt5.9.1\5.9.1\msvc2015_64\bin\qtenv2.bat"
1110

1211
::call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64
13-
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
12+
::call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
1413

1514
cd /D %~dp0
1615
call compile_install.bat

compile_install.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
@ECHO OFF
22
@setlocal
33

4-
:: Requires Qt environment.
4+
cd /D %~dp0
55

6+
:: Requires Qt environment.
67

78
if "%Platform%" == "X64" (
89
set MAKE=nmake

configure.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ echo cd /D %%HOMEDRIVE%%%%HOMEPATH%%>> %TFENV%
115115

116116

117117
set TFDIR=%TFDIR:\=/%
118+
del 3rdparty\mongo-c-driver\.qmake.stash src\.qmake.stash tools\.qmake.stash >nul 2>&1
118119
:: Builds MongoDB driver
119120
echo Compiling MongoDB driver library ...
120121
cd 3rdparty\mongo-c-driver

installer/create_installer.bat

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@
44
:: Edit this line to run the batch file for Qt environment.
55
::
66

7-
set VERSION=1.18.0
7+
set VERSION=1.19.0
88
set TFDIR=C:\TreeFrog\%VERSION%
99
set BASEDIR=%~dp0
1010
set SLNFILE=%BASEDIR%\treefrog-setup\treefrog-setup.sln
1111
cd %BASEDIR%
1212

1313
:: MinGW
14-
::call :build_msi "C:\Qt\Qt5.9.1-mingw\5.9.1\mingw53_32\bin\qtenv2.bat" 5.9
15-
::call :build_msi "C:\Qt\Qt5.8.0-mingw\5.8\mingw53_32\bin\qtenv2.bat" 5.8
16-
::call :build_setup treefrog-%VERSION%-mingw-setup.exe
14+
call :build_msi "C:\Qt\Qt5.9.1\5.9.1\mingw53_32\bin\qtenv2.bat" 5.9
15+
call :build_msi "C:\Qt\Qt5.8.0-mingw\5.8\mingw53_32\bin\qtenv2.bat" 5.8
16+
call :build_setup treefrog-%VERSION%-mingw-setup.exe
1717

1818
:: MSVC2015
19-
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
20-
call :build_msi "C:\Qt\Qt5.9.1-msvc2015\5.9.1\msvc2015_64\bin\qtenv2.bat" 5.9
21-
call :build_msi "C:\Qt\Qt5.8.0-msvc2015\5.8\msvc2015_64\bin\qtenv2.bat" 5.8
22-
call :build_setup treefrog-%VERSION%-msvc2015_64-setup.exe
19+
::call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
20+
::call :build_msi "C:\Qt\Qt5.9.1\5.9.1\msvc2015_64\bin\qtenv2.bat" 5.9
21+
::call :build_msi "C:\Qt\Qt5.8.0-msvc2015\5.8\msvc2015_64\bin\qtenv2.bat" 5.8
22+
::call :build_setup treefrog-%VERSION%-msvc2015_64-setup.exe
2323

2424

2525
echo.

installer/msi/TreeFrog.wxs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<!-- *** 基本的に 9行目,10行目,42行目,54行目も修正する (guidgen使用) *** -->
66

77
<!-- プロダクト情報 -->
8-
<Product Name='TreeFrog Framework 1.18.0'
9-
Id="FED11633-2CEF-4896-B728-2DCBD6A03BC8"
10-
UpgradeCode="6AE5DED8-FEED-400B-9FA0-FD58A5E8BC61"
8+
<Product Name='TreeFrog Framework 1.19.0'
9+
Id="09014453-D3DB-426B-B9A9-634BB37B2E1B"
10+
UpgradeCode="46B551A7-1B69-469F-8E90-01C1FF28B364"
1111
Language='1041' Codepage='932'
12-
Version='1.18.0' Manufacturer='TreeFrog Framework Project'>
12+
Version='1.19.0' Manufacturer='TreeFrog Framework Project'>
1313

1414
<!-- パッケージ情報 -->
1515
<Package Id='*' Keywords='Installer'
@@ -27,21 +27,21 @@
2727
<Directory Id='TARGETDIR' Name='SourceDir'>
2828
<Directory Id='WINDOWSVOLUME'>
2929
<Directory Id='INSTALLDIR' Name='TreeFrog'>
30-
<Directory Id='VERSIONDIR' Name='1.18.0'>
30+
<Directory Id='VERSIONDIR' Name='1.19.0'>
3131
</Directory>
3232
</Directory>
3333
</Directory>
3434
<Directory Id="DesktopFolder" SourceName="Desktop"/>
3535
<Directory Id="ProgramMenuFolder">
36-
<Directory Id="ApplicationProgramsFolder" Name="TreeFrog Framework 1.18.0"/>
36+
<Directory Id="ApplicationProgramsFolder" Name="TreeFrog Framework 1.19.0"/>
3737
</Directory>
3838
</Directory>
3939

4040
<!-- デスクトップショートカット -->
4141
<DirectoryRef Id="DesktopFolder">
42-
<Component Id="DesktopShortcut" Guid="CDA7495B-7C03-460C-B0FB-7ED187739575">
42+
<Component Id="DesktopShortcut" Guid="B03BEE37-B0C0-47A8-8F43-3843B13D694F">
4343
<Shortcut Id="PromptDesktopShortcut"
44-
Name="TreeFrog Prompt 1.18.0"
44+
Name="TreeFrog Prompt 1.19.0"
4545
Description="TreeFrog Framework Prompt"
4646
Target="[SystemFolder]cmd.exe" Arguments="/K [VERSIONDIR]bin\\tfenv.bat"
4747
WorkingDirectory="PersonalFolder"/>
@@ -51,12 +51,12 @@
5151

5252
<!-- プログラムメニューショートカット -->
5353
<DirectoryRef Id="ApplicationProgramsFolder">
54-
<Component Id="ApplicationShortcut" Guid="36C20F6E-3CE8-46BC-983D-DC0083C667E3">
54+
<Component Id="ApplicationShortcut" Guid="1B9111F0-B389-45BA-B8BA-A39EAA517E57">
5555
<CreateFolder Directory="ApplicationProgramsFolder"/>
5656

5757
<!-- Shortcut to TF prompt-->
5858
<Shortcut Id="PromptProgramMenuShortcut"
59-
Name="TreeFrog Prompt 1.18.0"
59+
Name="TreeFrog Prompt 1.19.0"
6060
Description="TreeFrog Framework Prompt"
6161
Target="[SystemFolder]cmd.exe" Arguments="/K [VERSIONDIR]bin\\tfenv.bat"
6262
WorkingDirectory="PersonalFolder"/>

installer/treefrog-setup/treefrog-setup/AssemblyInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ using namespace System::Security::Permissions;
3131
// すべての値を指定するか、下のように '*' を使ってリビジョンおよびビルド番号を
3232
// 既定値にすることができます:
3333

34-
[assembly:AssemblyVersionAttribute("1.18.0")];
34+
[assembly:AssemblyVersionAttribute("1.19.0")];
3535

3636
[assembly:ComVisible(false)];
3737

installer/treefrog-setup/treefrog-setup/MainForm.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ namespace treefrogsetup {
160160
this->label->Name = L"label";
161161
this->label->Size = System::Drawing::Size(309, 15);
162162
this->label->TabIndex = 4;
163-
this->label->Text = L"Specify a base folder of Qt version 5.8 or later.";
163+
this->label->Text = L"Specify a base folder of Qt version 5.8 or 5.9.";
164164
//
165165
// label1
166166
//
@@ -171,7 +171,7 @@ namespace treefrogsetup {
171171
this->label1->Name = L"label1";
172172
this->label1->Size = System::Drawing::Size(162, 15);
173173
this->label1->TabIndex = 5;
174-
this->label1->Text = L"Example: C:\\Qt\\Qt5.8.0";
174+
this->label1->Text = L"Example: C:\\Qt\\Qt5.9.1\\5.9.1\\msvc2015_64";
175175
//
176176
// labeltop
177177
//
@@ -338,6 +338,11 @@ namespace treefrogsetup {
338338
if (forderTextBox->Text != L"C:\\") {
339339
bins->AddRange(searchSubDirectories(L"bin", searchSubDirectories(L"mingw*", forderTextBox->Text, excludes), excludes));
340340
bins->AddRange(searchSubDirectories(L"bin", searchSubDirectories(L"msvc20*", forderTextBox->Text, excludes), excludes));
341+
342+
// Qt 5.9 or later
343+
if (bins->Count == 0) {
344+
bins->AddRange(searchSubDirectories(L"bin", forderTextBox->Text, excludes));
345+
}
341346
}
342347

343348
if (bins->Count == 0) {

0 commit comments

Comments
 (0)