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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:48:06+00:00 2026-06-09T23:48:06+00:00

Is it possible to include a Msi package into the bootstrapper but not any

  • 0

Is it possible to include a Msi package into the bootstrapper but not any of it’s external files?

So my msi installer has a file:

<Component Directory="INSTALLDIR">
    <File Id="DatabaseBackup"
          Name="Database.bak"
          Source="Database.bak"
          Compressed="no" />
  </Component>

which outputs:

  • Installer.msi
  • Database.bak

Now if I set the burn chain to include the msi package:

<MsiPackage SourceFile="$(var.Installer.TargetPath)" />

the “Database.bak” file is also compressed into the resultant exe. Is it possible to compress the msi but not the .bak file?

If not can someone answer this question better than I can then I won’t need to do this at all! 🙂

  • 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-09T23:48:07+00:00Added an answer on June 9, 2026 at 11:48 pm

    I’ve used the Payload element for this purpose… in your example I would change the MsiPackage element to:

    <MsiPackage SourceFile="$(var.Installer.TargetPath)" >
      <Payload Compressed="no" SourceFile="{path_to_bak_file}\Database.bak"  />
    </MsiPackage>
    

    The MSI then picks up the file and uses it as expected.

    I haven’t found a way to make this conditional or flexible.. in my case it’s a config file that is not critical, but my setup now fails (first opens up a file open dialog looking for that file) if the file is missing – of course this depends on the details of the MSI I’ve created.

    Hope this helps

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

Sidebar

Related Questions

Is it possible to include an external image (gif, jpg or png) into a
I wanted to know if it's possible to include an external file in the
I was wondering if it's possible to include hashes of external files within a
Possible Duplicate: #include all .cpp files into a single compilation unit? I'm working on
Is it possible to include a jpanel into an container from another java file?
is it possible to include uploaded files into the project ? (we do n't
Is it possible to include custom data files in ClickOnce deployment? I couldn't find
Is it possible to include a draw component (circle or rectangle) inside a grid
Is it possible to paqckage multiple rpms into one file. I have got two
Is it possible to include a file that contains a string value (in this

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.