Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Info: SFXCA: Failed to create temp directory. Error code 5 #1590

Closed
masonwu21 opened this issue Jul 12, 2024 · 3 comments
Closed

Info: SFXCA: Failed to create temp directory. Error code 5 #1590

masonwu21 opened this issue Jul 12, 2024 · 3 comments

Comments

@masonwu21
Copy link

when i install WixSharp Managed Setup

Info: === Logging started: 2024/7/12 13:43:54 ===
CommonData: Message type: 0, Argument: 1033
CommonData: Message type: 1, Argument: MyProduct
ActionStart: Action 13:43:54: INSTALL.
Info: Action start 13:43:54: INSTALL.
CommonData: 1: 0 2: 1033 3: 1252
CommonData: 1: 0 2: 1033 3: 1252
CommonData: 1: MyProduct
Info: === Logging started: 2024/7/12 13:43:58 ===
CommonData: Message type: 0, Argument: 1033
CommonData: Message type: 1, Argument: MyProduct
ActionStart: Action 13:43:58: INSTALL.
Info: Action start 13:43:58: INSTALL.
InstallStart: 1: MyProduct 2: {6FE30B47-2577-43AD-9095-1861CA25889C}
ActionStart: Action 13:43:58: WixSharp_InitRuntime_Action.
Info: Action start 13:43:58: WixSharp_InitRuntime_Action.
Info: SFXCA: Failed to create temp directory. Error code 5
Info: CustomAction WixSharp_InitRuntime_Action returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Info: Action ended 13:43:59: WixSharp_InitRuntime_Action. Return value 3.
Info: Action ended 13:43:59: INSTALL. Return value 3.
InstallEnd: 1: MyProduct 2: {6FE30B47-2577-43AD-9095-1861CA25889C} 3: 3
CommonData: 1: 2 2: 0
CommonData: 1: 2 2: 1
Info: Action ended 13:43:59: INSTALL. Return value 3.

@oleg-shilo
Copy link
Owner

SFXCA log entry is created by the managed Custom Action.
When WiX runtime prepares the assemblies for execution it extracts them from the msi database and copies them in the temporary folder. I am guessing that in your environment it fails to do so.

Maybe something is tricky with the permissions.
You can try to execute msi elevated to verify that.

@nefarius
Copy link

I successfully built a setup on Jul 19 from the latest nuget packages, now on a fresh install with nothing else changed I get the same error and can't get rid of it, something has changed 🤔

@nefarius
Copy link

See #1593

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants