1,048 questions
0 votes
0 answers
31 views
error reported when executing a wix custom action that runs a DISM command
I like to run a DISM command in wix custom action without calling a PowerShell script or creating a extra dll. How to resolve the error reported, thanks. Here is the custom action I created for ...
0 votes
0 answers
30 views
How to configure the Custom Action with WIX toolset to execute the action only on the first install
I'm trying to configure the custom action to be executed only on first install and not to be executed on upgrade during installing the new product. My current Custom Action condition looks like that: (...
1 vote
1 answer
73 views
Back Up Files During a WiX MSI Installation
I am using the WixToolset 6.0 with Visual Studio 2022. I am trying to create an installer that installs the following files: <ComponentGroup Id="ApplicationFiles" Directory="...
0 votes
1 answer
64 views
how to read the MSI installer properties in C# custom action
I want to use the MSI installer properties like REMOVE, Installed, WIX_UPGRADE_DETECTED in my c# custom action. What i want to do is currently i have the following custom action <Custom Action=&...
0 votes
0 answers
167 views
How can I execute Powershell scripts after the installation in WiX v.5 with custom action?
I'm currently trying to implement a custom action that executes a PowerShell script after the installation. My thought about what exactly the MSI file should do is: Install/copy the Powershell script ...
0 votes
1 answer
130 views
Run custom action in MSI before InstallExecuteSequence starts
I need to install .NET Runtime before installing my app. I've read that it is impossible to run second installer after the first one started actions from InstallExecuteSequence table. So, I'm looking ...
0 votes
0 answers
39 views
How to schedule a WiX script custom action to properly run during an upgrade?
I have a script custom action that is scheduled to run during installation and upgrade: <InstallExecuteSequence> <Custom Action="CallInstaller" Before="InstallFinalize"...
0 votes
1 answer
90 views
Adding a CustomAction with Binary to copy file
When someone upgrades to the newer version of the software, I want to copy the file (UpgradeScripts.sql) and paste it in the ProgramFiles/Pharm/Database folder on the installed PC. I am using Wix ...
0 votes
1 answer
135 views
WiX v5: Install driver using dpinst
I have looked through similar questions on the forum and have found no solution to my problem. I am trying to call dpinst using a custom action and get the error: "Error 1721. There is a problem ...
0 votes
0 answers
57 views
Custom Action prevents .msi upgrade
I created an msi for an application that relies on a deferred custom action to do a few necessary things. <CustomAction Id="MyCustomAction" Directory="INSTALLFOLDER" Execute=&...
0 votes
0 answers
57 views
Wix Installer Set Install Location via custom action
I am trying to set the install location via a custom action that looks up the install location via a registry entry. The below custom action finds the correct location to install to. However, I cannot ...
1 vote
0 answers
125 views
Handling Custom Actions with Multiple Files Containing Spaces in Sourcetree
I am encountering an issue with Sourcetree's custom actions when dealing with multiple files that have spaces in their filenames. When using $FILE as the parameter for custom actions, Sourcetree sends ...
0 votes
1 answer
365 views
Error on Custom Action use (Unexpected type '' encountered while reading 'action manifest root'. The type 'MappingToken' was expected.)
<project-dir-name>/ ├── .github/ │ ├── actions/ │ │ └── cached-deps/ │ │ ├── action.yml └── .github/ └── workflows/ └── main.yml Here is the custom action for ...
0 votes
1 answer
94 views
Want to use the input values at the time of custom installation to be used in the application made in VB.net
I am programming in VB.net . I have made setup project to custom install my main application and added Textbox (A) dialog in user interface. At the time of installation, I want the input of the ...
1 vote
1 answer
245 views
I can't change firebase field in custom action in flutter flow
QuerySnapshot querySnapshot = await FirebaseFirestore.instance .collection('collection-name') .where("users", arrayContains: userRef) .get(); I get data from firebase ...