你是对的:WIX 需要修复。
替换字符串
'Windows Installer XML v3'
和
'WiX Toolset v3.7' //my version installed'
在
C:\ProgramData\TideSDK\sdk\win32\1.3.1-beta\win32_app.py
解决了包装问题。(即使有 light.exe 错误,它也能正常工作)
这里是新日志:
Preparing to package desktop app together with runtime. One moment...
Staging Test
-> Copying contents from C:\Users\G\Desktop\Test to C:\Users\G\Desktop\Test\packages\win32\bundle\Test
-> Copying installer from C:\ProgramData\TideSDK\sdk\win32\1.3.1-beta\installer to C:\Users\G\Desktop\Test\packages\win32\bundle\Test
-> Copying runtime to C:\Users\G\Desktop\Test\packages\win32\bundle\Test
-> Already up to date: C:\Users\G\Desktop\Test\packages\win32\bundle\Test\modules\app\1.3.1-beta
-> Already up to date: C:\Users\G\Desktop\Test\packages\win32\bundle\Test\modules\codec\1.3.1-beta
-> Already up to date: C:\Users\G\Desktop\Test\packages\win32\bundle\Test\modules\database\1.3.1-beta
-> Already up to date: C:\Users\G\Desktop\Test\packages\win32\bundle\Test\modules\filesystem\1.3.1-beta
-> Already up to date: C:\Users\G\Desktop\Test\packages\win32\bundle\Test\modules\media\1.3.1-beta
-> Already up to date: C:\Users\G\Desktop\Test\packages\win32\bundle\Test\modules\monkey\1.3.1-beta
-> Already up to date: C:\Users\G\Desktop\Test\packages\win32\bundle\Test\modules\network\1.3.1-beta
-> Already up to date: C:\Users\G\Desktop\Test\packages\win32\bundle\Test\modules\platform\1.3.1-beta
-> Already up to date: C:\Users\G\Desktop\Test\packages\win32\bundle\Test\modules\process\1.3.1-beta
-> Already up to date: C:\Users\G\Desktop\Test\packages\win32\bundle\Test\modules\ui\1.3.1-beta
-> Already up to date: C:\Users\G\Desktop\Test\packages\win32\bundle\Test\modules\worker\1.3.1-beta
-> Already up to date: C:\Users\G\Desktop\Test\packages\win32\bundle\Test\modules\php\1.3.1-beta
-> Copying tiboot.exe to C:\Users\G\Desktop\Test\packages\win32\bundle\Test
Version: ImageMagick 6.8.0-8 2012-12-05 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
-> Launching: C:\ProgramData\TideSDK\sdk\win32\1.3.1-beta\ReplaceVistaIcon.exe "C:\Users\G\Desktop\Test\packages\win32\bundle\Test\Test.exe" "C:\Users\G\Desktop\Test\packages\win32\bundle\Test\Resources\_converted_icon.ico"
->
Language="1033" Codepage="1252"
UpgradeCode="a9d7f8a0-8389-4dd7-a7d6-293a9b04787e">
Description="Test"
Comments="None provided" Manufacturer="None provided"
InstallerVersion="300" Languages="1033" Compressed="yes" SummaryCodepage="1252" />
Minimum='0.0.1' IncludeMinimum='yes'
Maximum="1.0.0" IncludeMaximum='yes' />
WorkingDirectory="INSTALLDIR" Icon="ApplicationIcon.exe"
IconIndex="0" Advertise="yes" />
WorkingDirectory="INSTALLDIR" Icon="ApplicationIcon.exe"
IconIndex="0" Advertise="yes" />
ConfigurableDirectory="INSTALLDIR">
NOT Installed
NOT Installed
NOT Installed
-> Launching: ['C:\\Program Files (x86)\\WiX Toolset v3.7\\bin\\candle.exe', '-out', 'C:\\Users\\G\\Desktop\\Test\\packages\\win32\\bundle\\installer.wxs.wixobj', 'C:\\Users\\G\\Desktop\\Test\\packages\\win32\\bundle\\installer.wxs']
Windows Installer Xml Compiler version 3.7.1119.0
Copyright (C) Outercurve Foundation. All rights reserved.
installer.wxs
-> Launching: ['C:\\Program Files (x86)\\WiX Toolset v3.7\\bin\\light.exe', '-ext', ' WixUIExtension', '-out', u'C:\\Users\\G\\Desktop\\Test\\packages\\win32\\bundle\\Test.msi', 'C:\\Users\\G\\Desktop\\Test\\packages\\win32\\bundle\\installer.wxs.wixobj']
Windows Installer Xml Linker version 3.7.1119.0
Copyright (C) Outercurve Foundation. All rights reserved.
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_payload.8.0.50727.4053.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_manifest.8.0.50727.4053.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_manifest.8.0.50727.100.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_manifest.8.0.50727.101.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_manifest.8.0.50727.103.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_manifest.8.0.50727.104.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_manifest.8.0.50727.193.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_manifest.8.0.50727.238.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_manifest.8.0.50727.3044.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_manifest.8.0.50727.3051.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_manifest.8.0.50727.3069.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_payload.8.0.50727.3044.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_payload.8.0.50727.3051.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_manifest.8.0.50727.1833.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_manifest.8.0.50727.4027.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_payload.8.0.50727.3069.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_payload.8.0.50727.1833.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_manifest.8.0.50727.4028.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_manifest.8.0.50727.4029.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_payload.8.0.50727.4027.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_manifest.8.0.50727.4045.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_payload.8.0.50727.4028.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_payload.8.0.50727.4029.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_manifest.8.0.50727.4052.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_payload.8.0.50727.4045.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: KeyPath, Key(s): downlevel_payload.8.0.50727.4052.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_manifest.8.0.50727.100.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_manifest.8.0.50727.101.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_manifest.8.0.50727.103.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_manifest.8.0.50727.104.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_manifest.8.0.50727.193.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_manifest.8.0.50727.238.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_manifest.8.0.50727.3044.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_manifest.8.0.50727.3051.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_payload.8.0.50727.3044.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_manifest.8.0.50727.3069.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_payload.8.0.50727.3051.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_manifest.8.0.50727.1833.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_payload.8.0.50727.3069.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_manifest.8.0.50727.4027.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_payload.8.0.50727.1833.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_manifest.8.0.50727.4028.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_payload.8.0.50727.4027.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_manifest.8.0.50727.4029.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_payload.8.0.50727.4028.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_manifest.8.0.50727.4045.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_payload.8.0.50727.4029.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_manifest.8.0.50727.4052.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_payload.8.0.50727.4045.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_manifest.8.0.50727.4053.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_payload.8.0.50727.4052.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Registry, Column: Registry, Key(s): reg_downlevel_payload.8.0.50727.4053.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E
light.exe : warning LGHT1076 : ICE25: Possible dependency failure as we do not find CRT.Policy.63E949F6_03BC_5C40_FF1F_C8B3B9A1E18E@0 v in ModuleSignature table
C:\Users\G\Desktop\Test\packages\win32\bundle\installer.wxs(15) : warning LGHT1076 : ICE61: This product should remove only older versions of itself. The Maximum version is not less than the current product. (1.0.0 1.0.0)
light.exe : warning LGHT1076 : ICE82: This action SystemFolder.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E has duplicate sequence number 1 in the table InstallExecuteSequence
light.exe : warning LGHT1076 : ICE82: This action SystemFolder.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E has duplicate sequence number 1 in the table InstallUISequence
light.exe : warning LGHT1076 : ICE82: This action SystemFolder.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E has duplicate sequence number 1 in the table AdminExecuteSequence
light.exe : warning LGHT1076 : ICE82: This action SystemFolder.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E has duplicate sequence number 1 in the table AdminUISequence
light.exe : warning LGHT1076 : ICE82: This action SystemFolder.98CB24AD_52FB_DB5F_FF1F_C8B3B9A1E18E has duplicate sequence number 1 in the table AdvtExecuteSequence
Done packaging!
无论如何,我所说的错误消息类似于尝试启动/执行应用程序时连续触发的 20 个模式窗口。当我重命名 xampp 文件夹时,我可以启动/调试,并从包中执行应用程序......没有任何模式错误。
我尝试安装新版本的 xampp (1.8.1) 并且......很好,干净安装只有一个错误:
PHP Startup: bz2: Unable to initialize module
Module compiled with build ID=API 20100525
PHP compiled with build ID=API20090626
These options need to match
为什么 TideSDK 讨厌 XAMPP?
真的:难道不是应用程序首先尝试使用默认系统资源吗?