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

  • Home
  • SEARCH
  • 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 8159047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T17:47:42+00:00 2026-06-06T17:47:42+00:00

I’m trying to create a (hopefully) simple installer using WIX, however it seems I’m

  • 0

I’m trying to create a (hopefully) simple installer using WIX, however it seems I’m at my wits end. I cannot for the life of me figure out how to specify a predefined path to install my files. What the installer need to do is this:

  1. Install 4 fonts
  2. Install (copy) a binary file and a .ini file to a predefined path (“C:\dvimport”)
  3. Create shortcut to previous binary on the desktop
  4. Run a binary installer provided along-side (hopefully bundled inside) the installer.

Also, on a side note; the user should not be able to change the predefined path, cause the application will not run if not installed on the correct path.

Currently what I have is this (which is mostly predefined):

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  <Product Id="660d9ab6-dbd9-4440-b56b-8f1c29d9ab86" Name="FDVweb hjelpefiler" Language="1033" Version="1.0.0.0" Manufacturer="CuroTech" UpgradeCode="4283b7c8-0057-4dcc-bfc5-7c06a12cba90">
    <Package InstallerVersion="200" Compressed="yes" Keywords="Installer" Description="FDVweb hjelpefiler installasjons-program" />

    <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />

    <Binary Id="BarCodeDriver" SourceFile="barcode_install.exe" />
    <CustomAction Id="InstallBarCodeDriver" BinaryKey="BarCodeDriver" ExeCommand="" Execute="deferred" Return="check" HideTarget="no" Impersonate="no" />

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder">
        <Directory Id="INSTALLLOCATION" Name="FDVweb">
          <!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. -->
          <!-- <Component Id="ProductComponent" Guid="55a9465e-2350-48bc-9786-22a036ea7304"> -->
            <!-- TODO: Insert files, registry keys, and other resources here. -->
          <!-- </Component> -->
        </Directory>
      </Directory>

    </Directory>

    <DirectoryRef Id="FontsFolder">
      <Component Id="C128_100" Guid="72E7E1D2-DEE7-4E0B-939F-5460AD432BEF">
        <File Id="C128_100.tff" Source="fonts\C128_100.tff" TrueType="yes" />
      </Component>
      <Component Id="C128_200" Guid="230EE8B3-06F9-4D88-AFF5-3D26AF0741AD">
        <File Id="C128_200.tff" Source="fonts\C128_200.tff" TrueType="yes" />
      </Component>
      <Component Id="C128_300" Guid="3DC98EE5-B969-453E-B4E9-5D5BC1416F24">
        <File Id="C128_300.tff" Source="fonts\C128_300.tff" TrueType="yes" />
      </Component>
      <Component Id="C128_400" Guid="8CFCAFBE-C7B8-46F1-9C6D-ACF2D881BAEE">
        <File Id="C128_400.tff" Source="fonts\C128_400.tff" TrueType="yes" />
      </Component>
    </DirectoryRef>

    <Feature Id="Complete" Title="FDVwebInstall" Level="1">
      <!-- TODO: Remove the comments around this ComponentRef element and the Component above in order to add resources to this installer. -->
      <!-- <ComponentRef Id="ProductComponent" /> -->
      <ComponentRef Id="C128_100" />
      <ComponentRef Id="C128_200" />
      <ComponentRef Id="C128_300" />
      <ComponentRef Id="C128_400" />

      <!-- Note: The following ComponentGroupRef is required to pull in generated authoring from project references. -->
      <ComponentGroupRef Id="Product.Generated" />
    </Feature>
  </Product>
</Wix>

I don’t need a definite answer, a link to resources explaining how to achieve what I want would go a long way.

  • 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-06T17:47:43+00:00Added an answer on June 6, 2026 at 5:47 pm

    I found the solution to my problem.
    The answer was to use the Directory WINDOWSVOLUME.

    Here is the solution in WIX-xml:

        <Directory Id="TARGETDIR" Name="SourceDir">
          <Directory Id="WINDOWSVOLUME">
            <Directory Id="DvWebImp" Name="dvimport">
              <Component Id="DataReadApp" Guid="YOURGUID-4423-9C81-29937C31DF8A">
                <File Id="Data_Read.exe" Source="Data_Read.exe" />
                <File Id="Data_Read.ini" Source="Data_Read.ini" />
              </Component>
            </Directory>
          </Directory>
        </Directory>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
Basically, what I'm trying to create is a page of div tags, each has
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
Seemingly simple, but I cannot find anything relevant on the web. What is the
I'm trying to create an if statement in PHP that prevents a single post
I'm making a simple page using Google Maps API 3. My first. One marker
I am trying to understand how to use SyndicationItem to display feed which is
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and

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.