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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:53:22+00:00 2026-05-20T05:53:22+00:00

I have a problem where I create a cub file using wix which works

  • 0

I have a problem where I create a cub file using wix which works fine however when I try and run it against a MSI created with InstallShield I get the following error:

Fatal schema conflict between CUB file
and database. Unable to perform
evaluation.

I have had a look at the schema in both the installshield msi and in the cub and it appears to be related to a few columns being long ints (4) in the cub and short ints (2) in the msi.

Is there a way to change how wix sets the schema on standard tables like media, file, CustomActions etc?

Or alternatively is there an automated way I can adjust the schema of an MSI like through a script?

  • 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-20T05:53:23+00:00Added an answer on May 20, 2026 at 5:53 am

    I’ve written a C#/DTF ICE framework and I blogged about it at:

    MSI Tip: Authoring an ICE using C# / DTF

    The actual source code is available for download at:

    Authoring an ICE using C# / DTF

    WiX doesn’t have a “CUB” element per say but I was able to get it ‘close enough’. I rememeber an email exchange with Rob asking for official support in WiX but the response was neutral at best.

    Here’s a snippet from the available source code:

    <?xml version="1.0" encoding="UTF-8"?>
    <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
        <Product Id="c3252df2-a757-4874-8dc6-0e235f130818" Name="Cub" Version="1.0.0.0" Language="1033" Manufacturer="Cub">
        <Package InstallerVersion="200" Compressed="yes"/>
    
        <Binary Id="ICE" SourceFile="$(var.Tests.TargetDir)$(var.Tests.TargetName).CA.dll"></Binary>
    
        <CustomAction Id="ICE_DE_10" BinaryKey="ICE" DllEntry="ICE_DE_10"/>
        <CustomAction Id="ICE_DE_20" BinaryKey="ICE" DllEntry="ICE_DE_20"/>
    
        <CustomTable Id="_ICESequence">
          <Column Id="Action" PrimaryKey="yes" Type="string" Width="72" Category="Identifier" Description="Name of ICE action to invoke" Modularize="Column" />
          <Column Id="Condition" Type="string" Width="255" Nullable="yes" Category="Condition" Description="Optional expression which skips the ICE action if evaluates to expFalse."/>
          <Column Id="Sequence" Type="int" Width="2" Nullable="yes" MinValue="0" MaxValue="32767" Description="Number that determines the sort order in which the ICE actions are to be executed." />
          <Row>
            <Data Column="Action">ICE_DE_10</Data>
            <Data Column="Condition"></Data>
            <Data Column="Sequence">10</Data>
          </Row>
          <Row>
            <Data Column="Action">ICE_DE_20</Data>
            <Data Column="Condition"></Data>
            <Data Column="Sequence">20</Data>
          </Row>
        </CustomTable>
    
        <AdminUISequence>
          <CostInitialize Suppress="yes"/>
          <FileCost Suppress="yes"/>
          <CostFinalize Suppress="yes"/>
          <ExecuteAction Suppress="yes"/>
        </AdminUISequence>
    
        <AdminExecuteSequence >
          <CostInitialize Suppress="yes"/>
          <FileCost Suppress="yes"/>
          <CostFinalize Suppress="yes"/>
          <InstallValidate Suppress="yes"/>
          <InstallInitialize Suppress="yes"/>
          <InstallAdminPackage Suppress="yes"/>
          <InstallFiles Suppress="yes"/>
          <InstallFinalize Suppress="yes"/>
        </AdminExecuteSequence>
    
        <AdvertiseExecuteSequence>
          <CostInitialize Suppress="yes"/>
          <CostFinalize Suppress="yes"/>
          <InstallValidate Suppress="yes"/>
          <InstallInitialize Suppress="yes"/>
          <PublishFeatures Suppress="yes"/>
          <PublishProduct Suppress="yes"/>
          <InstallFinalize Suppress="yes"/>
        </AdvertiseExecuteSequence>
    
        <InstallUISequence>
          <CostInitialize Suppress="yes"/>
          <FileCost Suppress="yes"/>
          <CostFinalize Suppress="yes"/>
          <ValidateProductID Suppress="yes"/>
          <ExecuteAction Suppress="yes"/>
        </InstallUISequence>
    
        <InstallExecuteSequence>
          <CostInitialize Suppress="yes"/>
          <FileCost Suppress="yes"/>
          <CostFinalize Suppress="yes"/>
          <ValidateProductID Suppress="yes"/>
          <InstallValidate Suppress="yes"/>
          <InstallInitialize Suppress="yes"/>
          <InstallFinalize Suppress="yes"/>
          <PublishFeatures Suppress="yes"/>
          <PublishProduct Suppress="yes"/>
          <ProcessComponents Suppress="yes"/>
          <UnpublishFeatures Suppress="yes"/>
          <RegisterUser Suppress="yes"/>
          <RegisterProduct Suppress="yes"/>
        </InstallExecuteSequence>
    
      </Product>
    </Wix>
    

    Also I do the following as a post build event ( copy the MSI to CUB )

        <PostBuildEvent>copy "$(TargetPath)" "$(TargetDir)$(TargetName).cub"
    del "$(TargetPath)"</PostBuildEvent>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have problem compilin this code..can anyone tell whats wrong with the syntax CREATE
I have a problem with my WPF program. I'm trying to create an object
i have very simple problem. I need to create model, that represent element of
This is kind of a weird problem, but I have to create a search
I am having a problem using the Unity Application Block, I have created a
I have problem when I try insert some data to Informix TEXT column via
It's me again guys, I have a small problem: // Create new PDF $pdf
I have a problem with the Create View in the SimpleRepository example in Subsonic
I have problem with Qt::Tool flag. When I create new widget with Qt::Tool flag
I am learning how to create plugin and have problem in how to create

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.