Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8859143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:59:02+00:00 2026-06-14T14:59:02+00:00

I have an open source C# app with a WiX installer, relying on .NET

  • 0

I have an open source C# app with a WiX installer, relying on .NET 4.5.

  • Windows7 64bit (with .NET 4.5 installed) users say it works fine.
  • Windows7 32bit (with .NET 4.5 installed) users say it crashes.

So I installed Windows7 32bit (in VirtualBox), installed the app, and indeed it crashes:

enter image description here

Problem Signature 09 is System.IO.DirectoryNotFound, and Windows’ Event Viewer mentions C:\Windows\system32\KERNELBASE.dll, if that can give a clue.

Then I decided to install Visual C# 2010 Express on the same machine, and…
SURPRISE: The app does not crash anymore (neither the installed app nor when executed via Visual C#)

How to avoid this crash?
I can’t ask all users to install Visual C#…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T14:59:04+00:00Added an answer on June 14, 2026 at 2:59 pm

    I’d call this more of a hunch than an answer, but it seems to have helped. I’ll just go through my though process.

    Based on the fact that the app works on 64-bit and not 32-bit I am immediately thinking BadImageFormatException or an incorrectly coded path looking in Program Files (x86) (or something similar with 64-bit/32-bit registry values). But then we learn everything is fine with VS installed, which is odd. So, I start looking at the proj files and references. Almost all of it is managed code/MSIL so it doesn’t seem like it’s anything that could be related to a 32-bit/64-bit issue. In one of the reference projects (SparkleLib.Cmis), however, I see a reference to System.Data.SQLite which I know has unmanaged components. I googled the docs. They mention this:

    All the “static” packages contain either native or mixed-mode assembly
    binaries linked statically to the appropriate version of the Visual
    C++ runtime. Typically, these packages are used in cases where
    customer machines may not have the necessary version of the Visual C++
    runtime installed and it cannot be installed due to limited
    privileges.

    So I’m pretty sure at this point, its an improperly deployed System.Data.SQLite that happened to work on the dev box because VS is already there. OP has confirmed that this is indeed the issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an open-source app which uploads photos to Facebook. To save bandwidth, the
I'm looking for an open-source VB.NET app that demonstrates a lot of .NET's power,
We have this open source app we built with Django http://map.ninux.org/ which is used
Here's the situation: I have a public repository for my open-source app on github.com.
For my open-source Android app, many users contribute localizations to tens of languages. They
I have an app that is using the open source PSStackedView to implement a
I have a free open source app that already supports multiple languages. To test
I have 3 things: open source application (let's call it APP), closed source shared
I have an Open Source app and I currently only post the binary for
I have an Open Source app and I have it working on Windows, Linux

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.