custom-action Questions
8
I would like to modify an MSI installer (created through WiX) to delete an entire directory on uninstall.
I understand the RemoveFile and RemoveFolder options in WiX, but these are not robust enou...
Proust asked 26/11, 2008 at 14:41
12
I have tried to create a custom action for a Visual Studio Installer project to modify the permissions for a config file.
The Installer.cs is as follows:
public override void Commit(IDictionary s...
Litter asked 9/11, 2011 at 10:16
2
There are lot of threads and question out there. But the error I am facing is in quite different scenario. So let me explain here.
With the help of this article Installer Class and Custom Actions
...
Frawley asked 17/11, 2017 at 7:9
1
@action(detail=True, methods=['get'], url_path='password-reset/<uid64>/<token>', url_name='password-reset-confirm')
def password_reset(self, request, uid64, token):
pass
this is the ...
Margheritamargi asked 11/1, 2022 at 22:40
1
I am using C#. I have created a Wix installer and a custom action to support the wix installer. Now I am trying to create a unit test the CustomAction only, without LUX.
I have tried in many diffe...
Denti asked 17/10, 2018 at 3:18
1
I have a customActions class:
public static ActionResult Register(Session session)
{
try
{
Do SOmething
}
catch (Exception ex)
when (ExceptionManager.catchGenericExcetion(ex))
{
var respons...
Paisano asked 25/11, 2020 at 3:36
4
Solved
I am trying to install one from two features based on the value that should be set inside of the custom action.
Firstly, I set the value of a property:
UINT __stdcall ConfigurationCheckAction(MSIH...
Prefect asked 26/3, 2018 at 13:19
2
Solved
I have a deferred custom action which fetches a property using Customactiondata, it contains the value of password that should not be displayed in the log .
Packaging tool used: WIX
Custom action w...
Gisele asked 22/9, 2020 at 15:32
3
I want to cancel the installation if the NetCore 3.1 (preview) is not installed
I create this CustomAction :
using Microsoft.Deployment.WindowsInstaller;
using Microsoft.Win32;
namespace WixCust...
Lavinialavinie asked 19/11, 2019 at 8:57
6
Solved
I created custom django-admin commands
But, I don't know how to test it in standard django tests
Amoebic asked 17/8, 2009 at 8:4
1
I am using wix toolset to create MSI build.
Here is the Binary source in Product.wxs file.
<Binary Id="BI.CA"
SourceFile="..\..\CustomAction\bin\$(var.Configuration)\CustomAction.CA.dll" /&...
Sasnett asked 8/8, 2019 at 8:25
3
Solved
I am trying to use my first custom action in WiX and I get:
error 2896: Executing action CustomActionTest failed.
I am using Visual Studio 2010, WiX 3.5, 64-bit Windows 7 Ultimate, .NET Framew...
Whoremaster asked 12/8, 2010 at 14:49
8
Solved
Using Visual Studio 2008 to create an msi to deploy my program with a setup project. I need to know how to make the msi run the exe it just installed. A custom action? If so please explain where/ho...
Gardener asked 3/11, 2009 at 16:3
8
Solved
I am using WiX 3.5.1930 in Visual Studio 2010, targeting the .NET Framework 3.5. (Later weekly builds of WiX seem to be very broken with respect to their custom action template, at least for now. 1...
Wystand asked 24/8, 2010 at 19:38
1
Solved
I’m currently working on a project where I am using Wix for the installer. My application is developed using .net core and having appsettings.json as a configuration file.
I would like to update t...
Calloway asked 31/7, 2019 at 15:21
2
Solved
I would like to protect the MSI file against modification. It could be easily done with ORCA or with MSI API. It is sad because anyone can modify/add/remove windows installer custom actions or prop...
Etam asked 10/7, 2019 at 11:38
1
Solved
Exception from System.IO.Directory.Delete is not caught in customaction (msi generated with wix toolset)
Occured on .NET Framework 4.7.2 Windows 7 started as administrator.
Logfile from call of c...
Grinder asked 28/3, 2019 at 10:48
3
Solved
I have a problem with setting data that contains semicolons to CustomActionData property.
By default CustomActionData class uses semicolon as DataSeparator and it breaks my data, when it contains s...
Copal asked 7/4, 2011 at 10:41
1
Solved
I have a method that verifies a password in a .dll and it should return an error code on failure. It has the following prototype:
#define DllExport __declspec( dllexport )
extern "C" DllExport UIN...
Pandorapandour asked 28/2, 2019 at 11:50
2
Solved
I've created a simple winforms app and a custom installer. It all seems simple enough but I get the following popup and error details in the event log.
The description for Event ID 11001 from ...
Husky asked 13/12, 2011 at 14:45
2
Solved
I wanted to skip some of my custom actions during upgrade, uninstallDriver, to achieve this I have tried to retrieve property WIX_UPGRADE_DETECTED and UPGRADINGPRODUCTCODE, but both of them are not...
Inconvertible asked 26/12, 2018 at 9:16
4
In the past we have used Advanced Installer to build our .msi installers for a particular project. Our yearly license for Advanced Installer has expired, so to avoid the renewal cost, and because I...
Legist asked 1/6, 2011 at 17:17
1
Solved
I have a installer which is working fine. I want to run custom action only in install and modify only. Here is my custom action:
<Custom Action="UpdateAPMDBAPasswordAndStoreInRegistry" After="I...
Balancer asked 17/9, 2018 at 14:54
1
Solved
I am having trouble reading this key from my managed bootstrapper (.NET 4.5.2), and my custom action (tried .NET 2.0 and 4.0).
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Componen...
Liking asked 4/9, 2018 at 23:14
1
I know this might seem like a duplicate, but I have tried almost anything online including the following links below:
When using double click, the installation completes successfully and it launch...
Marlow asked 14/8, 2018 at 0:25
1 Next >
© 2022 - 2024 — McMap. All rights reserved.