Skip to content

Commit 63b2d2f

Browse files
update installer.
1 parent e78ca8d commit 63b2d2f

File tree

8 files changed

+24
-52
lines changed

8 files changed

+24
-52
lines changed

compile_install.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if not "%Platform%" == "" (
1212
set MAKE=nmake
1313
set CL=/MP
1414
) else (
15-
set MAKE=mingw32-make -j4
15+
set MAKE=mingw32-make -j8
1616
)
1717

1818
::

installer/create_installer.bat

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

7-
set VERSION=1.19.0
7+
set VERSION=1.20.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\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
14+
call :build_msi "D:\Qt\Qt5.10.0\5.10.0\mingw53_32\bin\qtenv2.bat" 5.10
15+
call :build_msi "D:\Qt\Qt5.9.3\5.9.3\mingw53_32\bin\qtenv2.bat" 5.9
1616
call :build_setup treefrog-%VERSION%-mingw-setup.exe
1717

1818
:: MSVC2015
1919
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
20+
call :build_msi "D:\Qt\Qt5.10.0\5.10.0\msvc2015_64\bin\qtenv2.bat" 5.10
21+
call :build_msi "D:\Qt\Qt5.9.3\5.9.3\msvc2015_64\bin\qtenv2.bat" 5.9
2222
call :build_setup treefrog-%VERSION%-msvc2015_64-setup.exe
2323

2424

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.19.0'
9-
Id="09014453-D3DB-426B-B9A9-634BB37B2E1B"
10-
UpgradeCode="46B551A7-1B69-469F-8E90-01C1FF28B364"
8+
<Product Name='TreeFrog Framework 1.20.0'
9+
Id="BDAAE374-CC84-4FAF-AF55-145895D96281"
10+
UpgradeCode="C0690385-DBE9-4218-AFDB-0F6E27AFD4B8"
1111
Language='1041' Codepage='932'
12-
Version='1.19.0' Manufacturer='TreeFrog Framework Project'>
12+
Version='1.20.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.19.0'>
30+
<Directory Id='VERSIONDIR' Name='1.20.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.19.0"/>
36+
<Directory Id="ApplicationProgramsFolder" Name="TreeFrog Framework 1.20.0"/>
3737
</Directory>
3838
</Directory>
3939

4040
<!-- デスクトップショートカット -->
4141
<DirectoryRef Id="DesktopFolder">
42-
<Component Id="DesktopShortcut" Guid="B03BEE37-B0C0-47A8-8F43-3843B13D694F">
42+
<Component Id="DesktopShortcut" Guid="D8989877-E927-4C61-B58B-35FC4EFDDEF8">
4343
<Shortcut Id="PromptDesktopShortcut"
44-
Name="TreeFrog Prompt 1.19.0"
44+
Name="TreeFrog Prompt 1.20.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="1B9111F0-B389-45BA-B8BA-A39EAA517E57">
54+
<Component Id="ApplicationShortcut" Guid="4D6035EF-4306-42A4-BF64-B21912A77AAA">
5555
<CreateFolder Directory="ApplicationProgramsFolder"/>
5656

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

installer/msi/old_create_installer.bat

Lines changed: 0 additions & 29 deletions
This file was deleted.

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.19.0")];
34+
[assembly:AssemblyVersionAttribute("1.20.0")];
3535

3636
[assembly:ComVisible(false)];
3737

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

Lines changed: 5 additions & 5 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 5.9.";
163+
this->label->Text = L"Specify a base folder of Qt version 5.9 or 5.10.";
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.9.1\\5.9.1\\msvc2015_64";
174+
this->label1->Text = L"Example: C:\\Qt\\Qt5.10.0\\5.10.0\\msvc2015_64";
175175
//
176176
// labeltop
177177
//
@@ -379,9 +379,9 @@ namespace treefrogsetup {
379379
}
380380

381381
// Get msi file from resource
382-
int rcid = IDR_TREEFROG_QT59_MSI;
383-
if (version->IndexOf("Qt version 5.8", StringComparison::OrdinalIgnoreCase) > 0) {
384-
rcid = IDR_TREEFROG_QT58_MSI;
382+
int rcid = IDR_TREEFROG_QT510_MSI;
383+
if (version->IndexOf("Qt version 5.9", StringComparison::OrdinalIgnoreCase) > 0) {
384+
rcid = IDR_TREEFROG_QT59_MSI;
385385
}
386386

387387
System::Reflection::Module^ mod = System::Reflection::Assembly::GetExecutingAssembly()->GetModules()[0];

installer/treefrog-setup/treefrog-setup/app.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
2121
IDR_TREEFROG_QT59_MSI TREEFROG_MSI "..\\..\\msi\\TreeFrog-SDK-Qt5.9.msi"
2222

2323
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
24-
IDR_TREEFROG_QT58_MSI TREEFROG_MSI "..\\..\\msi\\TreeFrog-SDK-Qt5.8.msi"
24+
IDR_TREEFROG_QT510_MSI TREEFROG_MSI "..\\..\\msi\\TreeFrog-SDK-Qt5.10.msi"
2525

2626
//
2727
// String Table resources

installer/treefrog-setup/treefrog-setup/resource.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@
1616
#define IDR_TREEFROG_QT57_MSI 1057
1717
#define IDR_TREEFROG_QT58_MSI 1058
1818
#define IDR_TREEFROG_QT59_MSI 1059
19+
#define IDR_TREEFROG_QT510_MSI 10510

0 commit comments

Comments
 (0)