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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T07:32:41+00:00 2026-06-04T07:32:41+00:00

I use the Exclude flag in Inno Setup in order to exclude from installation

  • 0

I use the “Exclude” flag in Inno Setup in order to exclude from installation a subdirectory name “Bin32” or “Bin64” depending on the user’s architecture.

All I want is to NOT install the useless folder and ALL its files and subdirectories as well.

Here are my current rules:

[Files]
Source: "Z:\Work\temp\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs

; Exclude
Source: "*"; Excludes: "\Bin64"; DestDir: "{app}"; Flags: recursesubdirs; Check: not Is64BitInstallMode
Source: "*"; Excludes: "\Bin32"; DestDir: "{app}"; Flags: recursesubdirs; Check: Is64BitInstallMode

First, I don’t quite understand what the “*” stands for at the beginning of the excluded rules ?
Second, it works fine with all subdirectories inside Bin32/64 folder but the files are still been installed and I can’t figure out a way to not install them…

Thx.

  • 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-04T07:32:43+00:00Added an answer on June 4, 2026 at 7:32 am

    Each entry is a single operation and is not effected by any other entry. With that in mind, this is what happens:

    1. The first line installs everying from z:\work\temp.
    2. The 2nd line, if in 32-bit mode, installs everything from SourceDir except \Bin64
    3. The 3rd line, if in 64-bit mode, installs everything from SourceDir except \Bin32

    I expect that your SourceDir (the script path if not specified) is the same as Z:\Work\Temp and as such, you essentially end up with everything installed anyway.

    If you duplicate the first entry, and move the Excludes (without the \ prefix) and Check parameters onto it, it should work as you require:

    [Files]
    Source: "Z:\Work\temp\*"; Excludes: "Bin64"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs; Check: not Is64BitInstallMode
    Source: "Z:\Work\temp\*"; Excludes: "Bin32"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs; Check: Is64BitInstallMode
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use <zipfileset ..><excludesfile name=D:\SW\abc.h/>..</zipfileset> to exclude this file while zipping Problem is if
In the following situation, how can I use :not() to exclude div.note em from
we want to have the second biggest element. We first use ANY to exclude
Use case: user clicks the link on a webpage - boom! load of files
Use Case When a user goes to my website, they will be confronted with
In Django you can use the exclude to create SQL similar to not equal
Ok, this is weird. I cannot use BindAttribute 's Include and Exclude properties with
Is it possible to use svcutil to reuse/exclude referenced types, as with visual studio.
Why can't I use (?!y)apple, if i want to exclude yapple? What is alternative
I use offical C# Driver for mongodb, I want to use SetFields from a

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.