Skip to content

Commit 22c3684

Browse files
updated installer.
1 parent b073780 commit 22c3684

File tree

7 files changed

+29
-30
lines changed

7 files changed

+29
-30
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ trim_trailing_whitespace = true
3535
indent_size = 2
3636
trim_trailing_whitespace = false
3737

38+
[*.wxs]
39+
end_of_line = crlf
40+

build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ rem
77

88
set BASEDIR=%~dp0
99

10-
call "C:\Qt\5.13.0\msvc2017_64\bin\qtenv2.bat"
10+
call "C:\Qt\5.13.2\msvc2017_64\bin\qtenv2.bat"
1111
rem call "C:\Qt\5.13.0\msvc2017\bin\qtenv2.bat"
1212
rem call "C:\Qt\5.13.0\msvc2015_64\bin\qtenv2.bat"
1313
rem call "C:\Qt\5.12.4\msvc2017_64\bin\qtenv2.bat"

installer/create_installer.bat

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

7-
set VERSION=1.26.0
7+
set VERSION=1.27.0
88
set QTBASE=C:\Qt
99
set TFDIR=C:\TreeFrog\%VERSION%
1010

1111
set BASEDIR=%~dp0
1212
set SLNFILE=%BASEDIR%\treefrog-setup\treefrog-setup.sln
1313
cd %BASEDIR%
1414

15-
:: MinGW
16-
::call :build_msi "%QTBASE%\5.13.0\mingw73_64\bin\qtenv2.bat" 5.13
17-
::call :build_msi "%QTBASE%\5.12.3\mingw73_64\bin\qtenv2.bat" 5.12
18-
::call :build_setup treefrog-%VERSION%-mingw73_64-setup.exe
19-
2015
:: MSVC2017
2116
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
2217

23-
call :build_msi "%QTBASE%\5.13.0\msvc2017_64\bin\qtenv2.bat" 5.13
24-
call :build_msi "%QTBASE%\5.12.3\msvc2017_64\bin\qtenv2.bat" 5.12
18+
call :build_msi "%QTBASE%\5.13.2\msvc2017_64\bin\qtenv2.bat" 5.13
19+
call :build_msi "%QTBASE%\5.12.6\msvc2017_64\bin\qtenv2.bat" 5.12
2520
call :build_setup treefrog-%VERSION%-msvc2017_64-setup.exe
2621

2722

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.26.0'
9-
Id="5AB900BA-042F-413C-BE12-C0C27BDA9D4A"
10-
UpgradeCode="6AF34635-8D46-4021-B159-3025EAA6B945"
8+
<Product Name='TreeFrog Framework 1.27.0'
9+
Id="D709F455-43AE-4157-9A31-9A5967C70959"
10+
UpgradeCode="6B5CC596-D8F6-45C3-9B8D-E030EEF128B1"
1111
Language='1041' Codepage='932'
12-
Version='1.26.0' Manufacturer='TreeFrog Framework Project'>
12+
Version='1.27.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.26.0'>
30+
<Directory Id='VERSIONDIR' Name='1.27.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.26.0"/>
36+
<Directory Id="ApplicationProgramsFolder" Name="TreeFrog Framework 1.27.0"/>
3737
</Directory>
3838
</Directory>
3939

4040
<!-- デスクトップショートカット -->
4141
<DirectoryRef Id="DesktopFolder">
42-
<Component Id="DesktopShortcut" Guid="541EDC61-2DC7-47CD-B66F-65DCB57738FC">
42+
<Component Id="DesktopShortcut" Guid="20B0DAA6-F140-4C43-8C44-C29119F57EFE">
4343
<Shortcut Id="PromptDesktopShortcut"
44-
Name="TreeFrog Prompt 1.26.0"
44+
Name="TreeFrog Prompt 1.27.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="10C73D88-0DC0-4AD8-868F-5A98F1F03CA0">
54+
<Component Id="ApplicationShortcut" Guid="92249B48-5F80-4528-8F45-FA20388A860D">
5555
<CreateFolder Directory="ApplicationProgramsFolder"/>
5656

5757
<!-- Shortcut to TF prompt-->
5858
<Shortcut Id="PromptProgramMenuShortcut"
59-
Name="TreeFrog Prompt 1.26.0"
59+
Name="TreeFrog Prompt 1.27.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.26.0")];
34+
[assembly:AssemblyVersionAttribute("1.27.0")];
3535

3636
[assembly:ComVisible(false)];
3737

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ namespace treefrogsetup {
4747
//
4848
// バージョン
4949
//
50-
static initonly String^ VERSION_STR1 = L"5.12";
51-
static initonly String^ VERSION_STR2 = L"5.13";
50+
static initonly String^ VERSION_STR512 = L"5.12";
51+
static initonly String^ VERSION_STR513 = L"5.13";
5252

5353
public:
5454
MainForm(void)
@@ -169,7 +169,7 @@ namespace treefrogsetup {
169169
this->label->Name = L"label";
170170
this->label->Size = System::Drawing::Size(309, 15);
171171
this->label->TabIndex = 4;
172-
this->label->Text = L"Specify a base folder of Qt version " + VERSION_STR1 + " or " + VERSION_STR2 + ".";
172+
this->label->Text = L"Specify a base folder of Qt version " + VERSION_STR512 + " or " + VERSION_STR513 + ".";
173173
//
174174
// label1
175175
//
@@ -180,7 +180,7 @@ namespace treefrogsetup {
180180
this->label1->Name = L"label1";
181181
this->label1->Size = System::Drawing::Size(162, 15);
182182
this->label1->TabIndex = 5;
183-
this->label1->Text = L"Example: C:\\Qt\\Qt" + VERSION_STR2 + ".0\\msvc2017_64";
183+
this->label1->Text = L"Example: C:\\Qt\\" + VERSION_STR513 + ".0\\msvc2017_64";
184184
//
185185
// labeltop
186186
//
@@ -389,12 +389,12 @@ namespace treefrogsetup {
389389

390390
// Get msi file from resource
391391
int rcid = 0;
392-
if (version->IndexOf("Qt version " + VERSION_STR2, StringComparison::OrdinalIgnoreCase) > 0) {
392+
if (version->IndexOf("Qt version " + VERSION_STR513, StringComparison::OrdinalIgnoreCase) > 0) {
393+
rcid = IDR_TREEFROG_QT513_MSI;
394+
} else if (version->IndexOf("Qt version " + VERSION_STR512, StringComparison::OrdinalIgnoreCase) > 0) {
393395
rcid = IDR_TREEFROG_QT512_MSI;
394-
} else if (version->IndexOf("Qt version " + VERSION_STR1, StringComparison::OrdinalIgnoreCase) > 0) {
395-
rcid = IDR_TREEFROG_QT511_MSI;
396396
} else {
397-
abort("Not found Qt version " + VERSION_STR2 + " or " + VERSION_STR1 + ".", "Abort");
397+
abort("Not found Qt version " + VERSION_STR513 + " or " + VERSION_STR512 + ".", "Abort");
398398
return;
399399
}
400400

installer/treefrog-setup/treefrog-setup/treefrog-setup.vcxproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</ItemGroup>
1313
<PropertyGroup Label="Globals">
1414
<ProjectGuid>{A9BABE2B-85A5-45EF-8950-1A5A68E55B36}</ProjectGuid>
15-
<TargetFrameworkVersion>v3.0</TargetFrameworkVersion>
15+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1616
<Keyword>ManagedCProj</Keyword>
1717
<RootNamespace>treefrogsetup</RootNamespace>
1818
</PropertyGroup>
@@ -22,13 +22,14 @@
2222
<UseDebugLibraries>true</UseDebugLibraries>
2323
<CLRSupport>Pure</CLRSupport>
2424
<CharacterSet>Unicode</CharacterSet>
25-
<PlatformToolset>v90</PlatformToolset>
25+
<PlatformToolset>v110</PlatformToolset>
2626
</PropertyGroup>
2727
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
2828
<ConfigurationType>Application</ConfigurationType>
2929
<UseDebugLibraries>false</UseDebugLibraries>
3030
<CLRSupport>Pure</CLRSupport>
3131
<CharacterSet>Unicode</CharacterSet>
32+
<PlatformToolset>v110</PlatformToolset>
3233
</PropertyGroup>
3334
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
3435
<ImportGroup Label="ExtensionSettings">

0 commit comments

Comments
 (0)