Skip to content

error LGHT0103 : The system cannot find the file '.wixobj' with type 'Source' #1319

@wagner-cardoso

Description

@wagner-cardoso

Describe the bug

I am doing the tutorial e when I am going to make a package with command: "briefcase package", occurs this:

[temperature] Building MSI...
Compiling application manifest...
'C:\Users\fisic\AppData\Local\BeeWare\briefcase\Cache\tools\wix\heat.exe' dir src -nologo -gg -sfrag -sreg -srd -scom -dr temperature_ROOTDIR -cg temperature_COMPONENTS -var var.SourceDir -out temperature-manifest.wxs
Return code: 0
Compiling... done

Compiling application installer..
'C:\Users\fisic\AppData\Local\BeeWare\briefcase\Cache\tools\wix\candle.exe' -nologo -ext WixUtilExtension -ext WixUIExtension -arch x64 -dSourceDir=src temperature.wxs temperature-manifest.wxs
Return code: 0
Compiling... done

Linking application installer...
'C:\Users\fisic\AppData\Local\BeeWare\briefcase\Cache\tools\wix\light.exe' -nologo -ext WixUtilExtension -ext WixUIExtension -loc unicode.wxl -o 'C:\git\python\treino\beeware-tutorial\temperature\dist\Temperature-0.0.1.msi' temperature.wixobj temperature-manifest.wixobj

C:\git\python\treino\beeware-tutorial\temperature\build\temperature\windows\app
light.exe : error LGHT0103 : The system cannot find the file 'temperature.wixobj' with type 'Source'. Return code: 103
Linking...
Unable to link app temperature.

The problem is the files temperature.wixobj and temperature-manifest-wixobj dont are created by candle.exe

Steps to reproduce

1 - Create a application with briefacas new
2 - Run briefacase create
3 - Run briefcase build
4 - Run briefcase package (the problem occurs here!)

Expected behavior

I want to generate a .MSI installer

Screenshots

No response

Environment

OS Release: Windows 10
OS Version: 10.0.22621
Architecture: AMD64
Platform: Windows-10-10.0.22621-SP0

Python exe: C:\git\python\treino\beeware-tutorial\venv\Scripts\python.exe
Python version: 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)]
Virtual env: True
Conda env: False

Briefcase: 0.3.14
Target platform: windows
Target format: app

Toga: 0.3.1

Logs


Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA crash or error in behavior.windowsThe issue relates to Microsoft Windows support.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions