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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T02:22:22+00:00 2026-06-17T02:22:22+00:00

I’m using WiX to create my products installer. For some reason it’s no longer

  • 0

I’m using WiX to create my products installer. For some reason it’s no longer embedding the .exes and .dlls inside the installer. So I have this:

<Directory Id="TARGETDIR" Name="SourceDir">
  <Directory Id="ProgramFilesFolder">
    <Directory Id="USERSPECIFIEDDIR" Name="My-app-name" />
  </Directory>

and it creates a .msi alongside a folder called My-app-name that contains all .exe and dll files required for the application. if i run the installer from there, it’s alright, but if i move the msi elsewhere (without the subdirectory), it errors out because it can’t find the files. how can i tell WiX to embed all binaries inside the installer??

in case it helps, here are some other snippets from my wxs. let me know if you need any other information. oh, and i’m using wix directly from visual studio 2008.

<DirectoryRef Id="USERSPECIFIEDDIR">
  <Component Id="MainExe" Guid="580F8F15-C06C-49A7-ADDC-56C96580DC0D">
    <File Id="MainExe" Name="OrderMonkey.exe" KeyPath="yes" />
  </Component>
  <Component Id="OMEmailerExe" Guid="3B0AECC3-67E5-40B3-83CB-9B84FE965ED8">
    <File Id="OMEmailerExe" Name="OMEmailer.exe" />
  </Component>
  <Component Id="migradomDLL" Guid="37E1BCAE-EB39-4DF5-88C7-AE74CA5EA171">
      <File Id="migradom" Name="MigraDoc.DocumentObjectModel.dll" />
  </Component>
  <Component Id="migrarenderDLL" Guid="C2910B9E-0B06-467A-853C-7651BE7BD9E4">
        <File Id="migrarender" Name="MigraDoc.Rendering.dll" />
  </Component>
  <Component Id="migrartfDLL" Guid="CEBE4DE9-7CA0-4F48-A8B1-1D46E4E48B66">
          <File Id="migrartf" Name="MigraDoc.RtfRendering.dll" />
  </Component>
  <Component Id="mysqldataDLL" Guid="2E474737-474C-4146-8E67-D3837B5DB862">
            <File Id="mysqldata" Name="MySql.Data.dll" />
  </Component>
  <Component Id="pdfchartingDLL" Guid="7467B6C2-BE38-4283-B179-9FA94C4A087F">
              <File Id="pdfcharting" Name="PdfSharp.Charting.dll" />
  </Component>
  <Component Id="pdfsharpDLL" Guid="39F23E36-BF9C-40C1-8190-6A3554B879BC">
                <File Id="pdfsharp" Name="PdfSharp.dll" />
  </Component>
  <Component Id="sqliteDLL" Guid="B043CF20-8DC2-4A10-AE4B-4721263A111E">
    <File Id="sqlite" Name="System.Data.SQLite.dll" KeyPath="yes" />
  </Component>
</DirectoryRef>
<DirectoryRef Id="ApplicationProgramsFolder">
  <Component Id="ApplicationShortcut" Guid="414E91FD-7410-492C-9D48-8125C6ECCF0B">
    <Shortcut Id="ApplicationStartMenuShortcut"
              Name="Order Monkey"
              Description="Order Monkey Orders and Quotes"
              Target="[USERSPECIFIEDDIR]OrderMonkey.exe"
              WorkingDirectory="USERSPECIFIEDDIR" />
    <Shortcut Id="ApplicationOfflineStartMenuShortcut"
              Name="Order Monkey Offline"
              Description="Order Monkey Orders and Quotes"
              Target="[USERSPECIFIEDDIR]OrderMonkey.exe"
              WorkingDirectory="USERSPECIFIEDDIR" 
              Arguments="-offline" />
    <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
    <RegistryValue Root="HKCU" Key="Software\Microsoft\OrderMonkey" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
  </Component>
</DirectoryRef>

<Feature Id='Complete' Level='1' Title='Order Monkey Complete' Description='The complete package' ConfigurableDirectory='TARGETDIR' Display='expand'>
  <ComponentRef Id='MainExe' />
  <ComponentRef Id='OMEmailerExe' />
  <ComponentRef Id='migradomDLL' />
  <ComponentRef Id='migrarenderDLL' />
  <ComponentRef Id='migrartfDLL' />
  <ComponentRef Id='mysqldataDLL' />
  <ComponentRef Id='pdfchartingDLL' />
  <ComponentRef Id='pdfsharpDLL' />
  <ComponentRef Id='sqliteDLL' />
  <ComponentRef Id='ApplicationShortcut' />
  <ComponentRef Id='AppData' />
</Feature>
  • 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-17T02:22:23+00:00Added an answer on June 17, 2026 at 2:22 am

    Use these elements:

    <Package Compressed="yes" InstallScope="perMachine" />
    <MediaTemplate EmbedCab="yes" />
    

    Package/@Compressed="yes" creates cabinets instead of loose files. MediaTemplate/@EmbedCab="yes" embeds the default cabinets into the .msi.

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

Sidebar

Related Questions

For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have just tried to save a simple *.rtf file with some websites and
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
This could be a duplicate question, but I have no idea what search terms
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I have thousands of HTML files to process using Groovy/Java and I need to
I'm using an ASP request returning a XML file containing some latin characters. By

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.