You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building a project with cargo tauri build i want to include some dll's in the bundle.
Putting the dll's in ./src-tauri/ and including them as resources produces an error when running light.exe and no msi installer is created
It seems like the dll's get included twice in the main.wxs file which causes light.exe to fail.
Reproduction
Create tauri project
add .dll in ./src-tauri/
include as resource
run cargo tauri build (with --verbose to see the error messages from light.exe)
Expected behavior
Create a .msi installer which includes the dll's next to the executable
Platform and versions
Environment
› OS: Windows 10.0.19044 X64
› Webview2: 100.0.1185.44
› MSVC:
- Visual Studio Community 2022
- Visual Studio Community 2019
› Node.js: 16.14.2
› npm: 8.5.0
› pnpm: Not installed!
› yarn: Not installed!
› rustup: 1.24.3
› rustc: 1.60.0
› cargo: 1.60.0
› Rust toolchain: stable-x86_64-pc-windows-msvc
Packages
WARNING: no lock files found, defaulting to npm
› @tauri-apps/cli [NPM]: 1.0.0-rc.7(outdated, latest: 1.0.0-rc.8)
› @tauri-apps/api [NPM]: Not installed!(outdated, latest: 1.0.0-rc.3)
› tauri [RUST]: 1.0.0-rc.6,
› tauri-build [RUST]: 1.0.0-rc.5,
› tao [RUST]: 0.7.0,
› wry [RUST]: 0.14.0,
App
› build-type: bundle
› CSP: unset
› distDir: ../src-web
› devPath: ../src-web
package.json not found
App directory structure
├─ .git
├─ src-tauri
└─ src-web
Stack trace
Windows Installer XML Toolset Linker version 3.11.2.4516
Copyright (c) .NET Foundation and contributors. All rights reserved.
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: Component, Key(s): msvcp140_atomic_wait.dll_system_amd64.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: Component, Column: Component, Key(s): msvcp140_codecvt_ids.dll_system_amd64.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: FeatureComponents, Column: Component_, Key(s): Microsoft_VC142_CRT_x64.msm.msvcp140_atomic_wait.dll_system_amd64.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: FeatureComponents, Column: Component_, Key(s): Microsoft_VC142_CRT_x64.msm.msvcp140_codecvt_ids.dll_system_amd64.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: File, Column: Component_, Key(s): msvcp140_atomic_wait.dll.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: File, Column: Component_, Key(s): msvcp140_codecvt_ids.dll.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: File, Column: File, Key(s): api_ms_win_core_errorhandling_l1_1_0.dll.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: File, Column: File, Key(s): api_ms_win_core_interlocked_l1_1_0.dll.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: File, Column: File, Key(s): api_ms_win_core_libraryloader_l1_1_0.dll.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: File, Column: File, Key(s): api_ms_win_core_localization_l1_2_0.dll.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: File, Column: File, Key(s): api_ms_win_core_namedpipe_l1_1_0.dll.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: File, Column: File, Key(s): api_ms_win_core_processenvironment_l1_1_0.dll.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: File, Column: File, Key(s): api_ms_win_core_processthreads_l1_1_0.dll.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: File, Column: File, Key(s): api_ms_win_core_processthreads_l1_1_1.dll.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: File, Column: File, Key(s): api_ms_win_core_rtlsupport_l1_1_0.dll.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: File, Column: File, Key(s): api_ms_win_crt_environment_l1_1_0.dll.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: File, Column: File, Key(s): api_ms_win_crt_filesystem_l1_1_0.dll.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: ModuleComponents, Column: Component, Key(s): msvcp140_atomic_wait.dll_system_amd64.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3.Microsoft_VC142_CRT_X64.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3.0
light.exe : warning LGHT1076 : ICE03: String overflow (greater than length permitted in column); Table: ModuleComponents, Column: Component, Key(s): msvcp140_codecvt_ids.dll_system_amd64.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3.Microsoft_VC142_CRT_X64.DFEFC2FE_EEE6_424C_841B_D4E66F0C84A3.0
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'wsser6gl.dll|avcodec-58.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'If6dd60b1549c42fcb383704dd53b04f0' and 'I04d4cecda8e64d9faa356592dceec813'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'wsser6gl.dll|avcodec-58.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'If6dd60b1549c42fcb383704dd53b04f0' and 'I04d4cecda8e64d9faa356592dceec813'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'ftm3ka9z.dll|avdevice-58.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I719cabf1ffb3407595afe2bb7a935f8e' and 'Id827358f5fe44c8483a6a479001e7ac8'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'ftm3ka9z.dll|avdevice-58.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I719cabf1ffb3407595afe2bb7a935f8e' and 'Id827358f5fe44c8483a6a479001e7ac8'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'y93ngrbi.dll|avfilter-7.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I8d66c43d39db481a93703de0a0b52230' and 'Ia47257f457714614a34347a0eb79ae83'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'y93ngrbi.dll|avfilter-7.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I8d66c43d39db481a93703de0a0b52230' and 'Ia47257f457714614a34347a0eb79ae83'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'eoeurd1u.dll|avformat-58.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'Idd455d949b2c4e3b833451779d3b9bdb' and 'Id4458ea6470c47cfbf9fc7a828ebd285'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'eoeurd1u.dll|avformat-58.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'Idd455d949b2c4e3b833451779d3b9bdb' and 'Id4458ea6470c47cfbf9fc7a828ebd285'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'sqlaeput.dll|avutil-56.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'Ia95204b242fb453d88d42b764fb2aee1' and 'Ibb1ce9aa8b47497cb0e75e5b5fe92678'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'sqlaeput.dll|avutil-56.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'Ia95204b242fb453d88d42b764fb2aee1' and 'Ibb1ce9aa8b47497cb0e75e5b5fe92678'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'ohesyssh.dll|libSvtAv1Enc.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I5243a28ef48a4505904d650436a9bc50' and 'I5e3c8961abf94d2cbe75a60960c630c1'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'ohesyssh.dll|libSvtAv1Enc.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I5243a28ef48a4505904d650436a9bc50' and 'I5e3c8961abf94d2cbe75a60960c630c1'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'cbomkaqh.dll|libaom_remove.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I4ff81f51589140a582b61e7e25f38e46' and 'Ie3676fe93b7344c6a1ce10b657128346'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'cbomkaqh.dll|libaom_remove.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I4ff81f51589140a582b61e7e25f38e46' and 'Ie3676fe93b7344c6a1ce10b657128346'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'o6wuel1o.dll|libcurl_remove.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I1ffd77e4c5c74566a536bf18773c6b41' and 'Iaf7d7342cf36446ba4a133fcf89ec77e'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'o6wuel1o.dll|libcurl_remove.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I1ffd77e4c5c74566a536bf18773c6b41' and 'Iaf7d7342cf36446ba4a133fcf89ec77e'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 't6jnrxpp.dll|libmbedcrypto.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I69f1dbc16dd14cefa75cd9c5754c7cef' and 'Iea8191e2f86c4945896d4792c5af8141'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 't6jnrxpp.dll|libmbedcrypto.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I69f1dbc16dd14cefa75cd9c5754c7cef' and 'Iea8191e2f86c4945896d4792c5af8141'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file '0_6sy_ep.dll|libobs-d3d11.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'Ice9b0515da794f0398d65ddb69763dea' and 'I5e086d3481e245bfa27efb71c6a90019'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file '0_6sy_ep.dll|libobs-d3d11.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'Ice9b0515da794f0398d65ddb69763dea' and 'I5e086d3481e245bfa27efb71c6a90019'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file '_o7yj-fb.dll|libobs-winrt.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'Ibe99b08d70124bdca8e08bb539c247f4' and 'Ic907de515022406080a31ca62707ef26'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file '_o7yj-fb.dll|libobs-winrt.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'Ibe99b08d70124bdca8e08bb539c247f4' and 'Ic907de515022406080a31ca62707ef26'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'libogg-0.dll' is installed in'[ProgramFiles64Folder]\lcvbajdz\' by two different components on an SFN system: 'If3acd0f8197d46fe9e8746b05d1eefed' and 'Ib8c5d7924b4e412382876a097e9f3dd5'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'libogg-0.dll' is installed in'[ProgramFiles64Folder]\lcvbajdz\' by two different components on an SFN system: 'If3acd0f8197d46fe9e8746b05d1eefed' and 'Ib8c5d7924b4e412382876a097e9f3dd5'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'libogg-0.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'If3acd0f8197d46fe9e8746b05d1eefed' and 'Ib8c5d7924b4e412382876a097e9f3dd5'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'libogg-0.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'If3acd0f8197d46fe9e8746b05d1eefed' and 'Ib8c5d7924b4e412382876a097e9f3dd5'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'wxzwyhl4.dll|libopus-0.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I433c76460edc4596902fcabbcb3c861f' and 'I33b45c0e2873405880128c86485da595'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'wxzwyhl4.dll|libopus-0.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I433c76460edc4596902fcabbcb3c861f' and 'I33b45c0e2873405880128c86485da595'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'librist.dll' is installed in'[ProgramFiles64Folder]\lcvbajdz\' by two different components on an SFN system: 'Id8facf7416b44826a8fb65b246850235' and 'I6aec08f88f5148a888d25c16336be0fb'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'librist.dll' is installed in'[ProgramFiles64Folder]\lcvbajdz\' by two different components on an SFN system: 'Id8facf7416b44826a8fb65b246850235' and 'I6aec08f88f5148a888d25c16336be0fb'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'librist.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'Id8facf7416b44826a8fb65b246850235' and 'I6aec08f88f5148a888d25c16336be0fb'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'librist.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'Id8facf7416b44826a8fb65b246850235' and 'I6aec08f88f5148a888d25c16336be0fb'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'libsrt.dll' is installed in'[ProgramFiles64Folder]\lcvbajdz\' by two different components on an SFN system: 'I11385f4cd0444311874f79a7fbc2488b' and 'Ie15312263b0e4ae78c30f56dbd980e34'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'libsrt.dll' is installed in'[ProgramFiles64Folder]\lcvbajdz\' by two different components on an SFN system: 'I11385f4cd0444311874f79a7fbc2488b' and 'Ie15312263b0e4ae78c30f56dbd980e34'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'libsrt.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I11385f4cd0444311874f79a7fbc2488b' and 'Ie15312263b0e4ae78c30f56dbd980e34'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'libsrt.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I11385f4cd0444311874f79a7fbc2488b' and 'Ie15312263b0e4ae78c30f56dbd980e34'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'g5twymar.dll|libvorbis-0.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'Ibc50deb95dce4a9091ad0e2565fd9fb1' and 'I218603fd24414b8081f90bc24a16f549'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'g5twymar.dll|libvorbis-0.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'Ibc50deb95dce4a9091ad0e2565fd9fb1' and 'I218603fd24414b8081f90bc24a16f549'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'oez5_ryp.dll|libvorbisenc-2.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I2509bb3eedc84feea69c16c278e49f76' and 'Ifea03e136dcb49f4811e6407bfb628b5'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'oez5_ryp.dll|libvorbisenc-2.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I2509bb3eedc84feea69c16c278e49f76' and 'Ifea03e136dcb49f4811e6407bfb628b5'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'j6sxlr4c.dll|libvorbisfile-3.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I9dfd8b5db163497784769ed545067cd7' and 'I7dab75afaf4c42a79ce496865772cc24'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'j6sxlr4c.dll|libvorbisfile-3.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I9dfd8b5db163497784769ed545067cd7' and 'I7dab75afaf4c42a79ce496865772cc24'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'libvpx-1.dll' is installed in'[ProgramFiles64Folder]\lcvbajdz\' by two different components on an SFN system: 'I29daf932b3f94b098bffbd0d1a3a9545' and 'I985776a4fe73429da419ef02474145fa'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'libvpx-1.dll' is installed in'[ProgramFiles64Folder]\lcvbajdz\' by two different components on an SFN system: 'I29daf932b3f94b098bffbd0d1a3a9545' and 'I985776a4fe73429da419ef02474145fa'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'libvpx-1.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I29daf932b3f94b098bffbd0d1a3a9545' and 'I985776a4fe73429da419ef02474145fa'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'libvpx-1.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I29daf932b3f94b098bffbd0d1a3a9545' and 'I985776a4fe73429da419ef02474145fa'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 't2lv1xlt.dll|libx264-163.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I8d1660cc89a546fb98cfcee60b28e105' and 'If9565cbe1b2040b89a3cda0e93af306f'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 't2lv1xlt.dll|libx264-163.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I8d1660cc89a546fb98cfcee60b28e105' and 'If9565cbe1b2040b89a3cda0e93af306f'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'obs.dll' is installed in'[ProgramFiles64Folder]\lcvbajdz\' by two different components on an SFN system: 'Iab5c7845078d4b9c8a04555bcf1729ba' and 'I6e6d0aa4ff914758969adb08d1d629ba'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'obs.dll' is installed in'[ProgramFiles64Folder]\lcvbajdz\' by two different components on an SFN system: 'Iab5c7845078d4b9c8a04555bcf1729ba' and 'I6e6d0aa4ff914758969adb08d1d629ba'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'obs.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'Iab5c7845078d4b9c8a04555bcf1729ba' and 'I6e6d0aa4ff914758969adb08d1d629ba'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'obs.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'Iab5c7845078d4b9c8a04555bcf1729ba' and 'I6e6d0aa4ff914758969adb08d1d629ba'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'p58w2nx1.dll|swresample-3.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I027ad41168df4a7cbd41b32edb71d44f' and 'Ibd390eae3d0b4857911d0888152aeada'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'p58w2nx1.dll|swresample-3.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I027ad41168df4a7cbd41b32edb71d44f' and 'Ibd390eae3d0b4857911d0888152aeada'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'duwhwjpu.dll|swscale-5.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I2eedfd10184f441ba856a869414cdc2b' and 'I4b2d0ee71b304b22bc18cfa71bb54520'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'duwhwjpu.dll|swscale-5.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I2eedfd10184f441ba856a869414cdc2b' and 'I4b2d0ee71b304b22bc18cfa71bb54520'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file '3uw1unjy.dll|w32-pthreads.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I9e7c0bf31db24d6282251ef46fc5064f' and 'Ic8016a2d89de4163b0bd05bf9c9218a4'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file '3uw1unjy.dll|w32-pthreads.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I9e7c0bf31db24d6282251ef46fc5064f' and 'Ic8016a2d89de4163b0bd05bf9c9218a4'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'zlib.dll' is installed in'[ProgramFiles64Folder]\lcvbajdz\' by two different components on an SFN system: 'I890348a247db4492869011ef85bb73e8' and 'Ic8c0a166f10a4f259f9b2a19d82af782'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'zlib.dll' is installed in'[ProgramFiles64Folder]\lcvbajdz\' by two different components on an SFN system: 'I890348a247db4492869011ef85bb73e8' and 'Ic8c0a166f10a4f259f9b2a19d82af782'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'zlib.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I890348a247db4492869011ef85bb73e8' and 'Ic8c0a166f10a4f259f9b2a19d82af782'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(97) : error LGHT0204 : ICE30: The target file 'zlib.dll' is installed in'[ProgramFiles64Folder]\MyProjectName\' by two different components on an LFN system: 'I890348a247db4492869011ef85bb73e8' and 'Ic8c0a166f10a4f259f9b2a19d82af782'. This breaks component reference counting.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(98) : warning LGHT1076 : ICE57: Component 'CMP_UninstallShortcut' has both per-user and per-machine data with an HKCU Registry KeyPath.
MYPATH\src-tauri\target\release\wix\x64\main.wxs(28) : warning LGHT1076 : ICE61: This product
should remove only older versions of itself. No Maximum version was detected for the current product. (WIX_UPGRADE_DETECTED)
Error: failed to bundle project
Caused by:
Shell Scripting Error:`error running light.exe`
Additional context
FabianLars on the tauri discord said he was able to reproduce the error and referred me here :)
The text was updated successfully, but these errors were encountered:
I'm fixing this right now, but for now you can copy the DLL file to the src-tauri/target/release folder before building the app (instead of setting it as a resource). You won't need to do that in the next release (soon).
Describe the bug
When building a project with
cargo tauri build
i want to include some dll's in the bundle.Putting the dll's in ./src-tauri/ and including them as resources produces an error when running light.exe and no msi installer is created
It seems like the dll's get included twice in the main.wxs file which causes light.exe to fail.
Reproduction
cargo tauri build
(with --verbose to see the error messages from light.exe)Expected behavior
Create a .msi installer which includes the dll's next to the executable
Platform and versions
Stack trace
Additional context
FabianLars on the tauri discord said he was able to reproduce the error and referred me here :)
The text was updated successfully, but these errors were encountered: