Questions tagged [custom-action]

A custom action is custom code provided by a developer to be called during a Windows Installer setup. Windows Installer tools (such as WiX, Visual Studio Setup Projects, InstallShield, Wise, Advanced Installer and so on) provide support for incorporating custom actions into your Windows Installer setup.

A custom action is most often custom code called from a Windows Installer setup (an MSI file). Most tools (such as WiX, Advanced Installer, InstallShield, Visual Studio setup projects) provide support for calling custom actions. There are several types of custom action in Windows Installer setups:

  1. Setting a Property (although called a custom action this type 51 one doesn't run user-provided code).
  2. Setting the location of a Directory.
  3. Running embedded VBScript or JScript code.
  4. Calling an external VBScript or JScript file.
  5. Calling a method from a C++ DLL.
  6. Running an executable.
  7. Sending an error that stops the install (a type 19 custom action that doesn't run any user-provided code).
  8. Managed code custom actions called with Visual Studio's installer class mechanism.
  9. Managed code custom actions called via the DTF mechanism, in most cases from WiX-generated setups.
1032 questions
0
votes
1 answer

Wix Custom Action Properties - Why doesn't this work?

I have the following Wix fragment, that invokes one of two custom actions depending on whether it is installing or uninstalling:
Tim Long
  • 13,508
  • 19
  • 79
  • 147
0
votes
1 answer

WiX Extensions Command Line Custom Action Not Executing

The previous version of the application I am working on (along with its installer) was written by someone else. I have been having a hard time getting the update functionality to work, so I want to uninstall the previous version prior to the…
Opus Krokus
  • 241
  • 1
  • 2
  • 3
0
votes
1 answer

installer registry access in windows server 2012

I have a custom action in an Installshield Basic MSI project to find out the version of SQL Server from registry. RegKey2012 = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\" & _ "Microsoft SQL Server\MSSQL11.MSSQLSERVER\" If…
Subhasis
  • 714
  • 3
  • 14
  • 28
0
votes
0 answers

jQuery validation: Label text deleted after invalid field is valid again

I've got a problem using jQuery validation plugin. After form validated and corrected invalid fields the assigned label text disappear. Here's my code: $('#formID').validate({ debug: true, errorContainer: $('#containerID'), errorPlacement:…
tmieruch
  • 191
  • 4
  • 14
0
votes
1 answer

Showing WiX dialog from a C# custom action during uninstall

I'm having trouble displaying a dialog during the uninstall sequence that runs from the shortcut and add/remove programs with basic UI. It seems to be skipping the InstallUISequence that is shown during modify and install: