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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T21:36:33+00:00 2026-05-21T21:36:33+00:00

I am using WIX 3.0 Toolset and VS2008. In my .wixproj file I have

  • 0

I am using WIX 3.0 Toolset and VS2008. In my “.wixproj” file I have added the following code (which works fine). I want to add a condition so that it will only install PIA if office 2007 is installed.

...
    <ItemGroup>
        <BootstrapperFile Include="Microsoft.Net.Framework.3.5">
          <ProductName>.NET Framework 3.5</ProductName>
        </BootstrapperFile>

        <!-- Here I want to check if office is installed. If true then install the PIAs -->    
        <BootstrapperFile Include="Microsoft.Office.PIARedist.2007">
          <ProductName>Microsoft Office 2007 Primary Interop Assemblies</ProductName>
        </BootstrapperFile>

      </ItemGroup>
     ...

I have the following code written in my installer script .wxs but this is not useful in the bootstrapper.

...
<!-- Properties to check for Word 2007 Version. Return string should be "Word.Application.12" -->
    <Property Id="WORDVERSION">
      <RegistrySearch Id="RegistrySearchWordVersion"
                      Root="HKCR"
                      Key="Word.Application\CurVer"
                      Type="raw"/>
    </Property>
...
  • 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-05-21T21:36:33+00:00Added an answer on May 21, 2026 at 9:36 pm

    Similar to: WIX: GenerateBootStrapper conditions?

    Check out the Product and Package Schema Reference and you probably want to look at the <BypassIf> and <InstallChecks> element.

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

Sidebar

Related Questions

I am using WIX tool for creating installation file for our project. I want
i am using wix 3.0.i have a folder name images.so i want to copy
I am using WiX 3.0.5301.0 I have code like <Component Id=ApplicationShortcut Guid={0F889915-B241-414d-A5F6-E956AA60AAFD}> <util:InternetShortcut Id=Home
I have written an installer using WIX for a product, which uses: custom extensions
I am using WiX to install a certain EXE file. I want the WiX
I am using WIX installer for creating setups. The disk cost feature works fine
I have to build an .msi using WiX which gets deployed to several environments.
I have such a scenario for our installer project using WIX 3.6: we want
Using WiX (Windows Installer XML) I have created an MSI installer which installs Word
I'm creating an MSI installer using WiX and I have, say, a *.bat file

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.