DTF (Deployment Tools Foundation) provides a framework for easily and reliably writing managed code custom actions for the Windows Installer.
Questions tagged [dtf]
64 questions
0
votes
1 answer
Canceling installation from an External UI
I have created an C# application that installs MSI's by calling Installer.InstallProduct. I have set the application to be the "external UI" by calling Installer.SetExternalUI and passing an ExternalUIHandler. The MSIs are set to install…

Ian
- 5,625
- 11
- 57
- 93
0
votes
0 answers
Wix DTF custom action is intermittently failing with Rundll32 error
I have a WIX DTF custom action that is failing intermittently with a Rundll32 error:
SFXCA: RUNDLL32 returned error code: -1073740771
This is after the custom action has finished all its work successfully. I see a log entry indicating the method…

David Tarulli
- 929
- 1
- 10
- 13
0
votes
1 answer
MSI: Show message box in UI phase of installation
I'm updating an InstallShield based installer. I've added a new managed custom action, written in C#, and packaged using Wix DTF.
Action is invoked correctly, and performs necessary actions.
Problem I have is showing an error message to user.
Method…

Nikola Radosavljević
- 6,871
- 32
- 44
0
votes
1 answer
WIX : Adding and Reading cabinet file to msi Installer programatically with DTF to allow dynamic customization of installers
We created our MSI Installer using WIX Toolset. and we need to customize the installer dynamically according to user specific files e.g Themes and Dialogues.
We use this link to add Add Cabinet File to Installer
but i can't read it.
We want to know…

yo2011
- 971
- 2
- 12
- 38
0
votes
2 answers
Are Distributed Transactions a good idea for enabling rollback of database upgrades in Windows Installer Custom Actions?
I've outgrown the Sql Server custom actions available in WiX, so I'm taking the bold step of creating my own using Deployment Tools Foundation. I want to be a good citizen and make sure that mine support rollback. But what's the best way of doing…

Samuel Jack
- 32,712
- 16
- 118
- 155
0
votes
2 answers
Using DTF to install msi package
We are trying to use Microsoft.Deployment.WindowsInstaller dll (C#) and install the MSI package. I couldn't find much examples regarding this.
The installation is successfull. In case of error I want to display the error message in specific language…

Sanketh P B
- 394
- 2
- 16
0
votes
1 answer
WIX c# CustomAction, what am I doing wrong?
I'm using VS2010 and WIX 3.5.
1) I created WIX Setup Project.
2) Then I added to the solution C# custom action project and called it 'CustomActions'
namespace CustomActions
{
public static class CustomActions
{
[CustomAction]
…

iLemming
- 34,477
- 60
- 195
- 309
0
votes
1 answer
Issue faced during uninstall MSI using its Product Code in c#(DTF)
I am creating a CustomBA which will replace the existing install shield Bootstrapper( I don't really know what it's called).
We are installing the same number of MSI as the install shield use to do, so no problem in that.
All the MSI entries in the…

Mohit
- 23
- 4
0
votes
1 answer
Too Many Events Using DTF InstallLogModes
I'm currently logging "everything" using the following flags:
const DTF.InstallLogModes logEverything = DTF.InstallLogModes.FatalExit |
DTF.InstallLogModes.Error |
…

Mark Richman
- 28,948
- 25
- 99
- 159
0
votes
1 answer
Adding cabinet file to msi programatically with DTF (wix)
Introduction to the Task at hand: can be skipped if impatient
The company I work for is not a software company, but focus on mechanical and thermodynamic engineering problems.
To help solve their system design challenges, they have developed a…

Henrik
- 2,180
- 16
- 29
0
votes
1 answer
WiX custom action with DTF... quite confused
Okay, I have decided the only way I can do what I want to do with WiX (thanks to an old installer I didn't write that I now have to upgrade) is with some CUSTOM ACTIONS.
Basically, I need to back up a file before the RemoveExistingProducts and…

Joshua
- 493
- 2
- 12
- 25
0
votes
1 answer
Reading the Directory table of an MSI with a custom action
I have a managed code custom action which uses the following code to read a custom table.
var Configfolder = session.Database.OpenView(session.Database.Tables["ProtectedConfigFolders"].SqlSelectString);
This works how ever when I try and read the…

Craig Reeves
- 56
- 3
0
votes
2 answers
DTF is copying custom action dll files
I have msi setup that was created in installshield and I am executing the DTF custom action dll as a commit custom action. If I insert MessageBox.Show into the custom action, I can see that there is a temporary folder inside [PROGRAMFILESDIR] called…

Marek
- 486
- 7
- 19
0
votes
1 answer
DTF CustomAction to WiX
I'm using a DTF immediate custom action. The Custom Action takes minimum of 5 minutes to perform its operation. Until that in the progress dialog, only the progress text is visible. The progress bar doesn't move at all. I set the ProgressText in the…

user298977
- 21
- 3
0
votes
1 answer
WiX DTF starts Windows Installer in classic look
Installer.SetInternalUI(InstallUIOptions.Full);
Installer.InstallProduct("example.msi", "ACTION=INSTALL");
starts Windows Installer all right, but in Classic look and feel. The .msi itself looks all right when started standalone (it uses WiX's own…

Gábor
- 9,466
- 3
- 65
- 79