I have a weird scenario where I have a C# Windows Forms app and a setup Project that builds an MSI in VS 2015.
In the Windows Forms Project I've created and setup the InstallerClass.cs properly, in the setup project I've configured an Install Custom Action and set the CustomActionData to: /CODE="[CODE]" /GROUP="[GROUP]", and InstallerClass property is set to true.
And when running the installer in a command prompt with: "msiexec /i /qb myapp.msi /COMPANYCODE=12345 /GROUP=Test" it works perfectly, I can in the Install function of the InstallerClass get the COMPANYCODE and GROUP properties and they are populated with 12345 and Test. And then in the Installer function I can use these values and perform custom actions as needed (in this case write it down for later use).
BUT, when I deploy the msi through Microsoft Intune the arguments are TOTALLY ignored and are null in the Install function of the InstallClass... do you have any tips on this?
I can see the CustomAction table in the MSI when opening with Orca: Orca table view picture Thanks a lot in advance!
Best Regards, Richard