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 8807643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:25:06+00:00 2026-06-14T02:25:06+00:00

I have a wix project to which I added a custom window that checks

  • 0

I have a wix project to which I added a custom window that checks the dependencies needed to run the app. This window comes up right after the License Agreement. Everything works fine, the dependencies are checked through custom actions and in case they are not fulfilled hyperlinks to official websites appear if the windows installer is above version5.

In case of a lower version I would like to click on a btn “Show dependencies” and to show the txt file with the links. I have the custom action below that open notepad and the property that contains the file.

Code:

<Property Id="FXDEP" Value="$(sys.CURRENTDIR)\Resources\Files\FxDependencies.txt" />
<Property Id='NOTEPAD'>NOTEPAD.EXE</Property>
<CustomAction Id='LaunchDependencies' Property='NOTEPAD' ExeCommand='[FXDEP]' Return='asyncNoWait' />

The problem is that on the dev machine it works since it finds the path, but on other of course it fails.
How should I tell wix to maintain this file and open it?

I tried putting the file into

<Binary Id="FxDependencies.txt" SourceFile="$(sys.CURRENTDIR)\Resources\Files\FxDependencies.txt" />

but the custom action does not recognize it.

  • 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-14T02:25:07+00:00Added an answer on June 14, 2026 at 2:25 am

    You seem to be trying to open the file that resides in the source of your installation. You use the same values for FxDependencies.txt and FXDEP.

    Your text file with dependencies resides in Binary table of the installer, to use it you have to extract it into a temporary directory, and then launch Notepad to display it.

    To do it, you would have to write several custom actions:

    1. The first CA extract the file into a temporary directory, and saves the path into a property, FXDEPTEMPPATH.
    2. The second CA uses FXDEPTEMPPATH to display it in Notepad.

    Another option is to write a small application (.exe) that would contain your FxDependencies.txt, in resources for example. You add this .exe into Binary table of MSI, and launch it instead of Notepad from the installer. In this case MSI will automatically extract the exe into a temporary directory and start it. In your application you create a new text file in temporary directory, by extracting the information from resources, and then launch Notepad to display it.


    Edit: There’s a number of ways to read a file from the Binary table. See these links for examples:

    • BinaryWrite from Msiext.
    • Reading from the Binary Table based on WiX source code.
    • Streaming a File from the Binary Table.
    • Write the code yourself:
      • Open a database view of the active database with MsiGetActiveDatabase and MsiDatabaseOpenView;
      • Read the binary stream with MsiRecordReadStream.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WiX project that I am working on which includes a Windows
I have a WiX installer project that utilises a custom dialog box to ask
In WIX project I have an custom action that works on SQL server with
I have created a wix installer project which is working fine. It installs my
Hi I have a Wix (Votive) Visual Studio project which creates an MSI from
I have a WiX install project that includes IIS setings for virtual directory and
I have created a WiX project that installs a bunch of different EXEs and
I have a WiX project that installs a few EXE files. One is the
I have inherited a WiX project from a contractor that recently left. When I
I have a WIX Installer project, which installs my product. The code was not

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.