Hello,
I have a dialog box that has three textboxes and I have tested powershell to edit a file, the problem is when I go to dialog> click on Next button>published events> new> " new control event" window pop,when I click on Execute custom action, the argument dropdown has nothing in it, not event my custom action
Please note that the dropdown you've mentioned only displays custom actions without sequence. The custom actions from "Wizard Dialogs Stage" or "Install Execution Stage". Please make sure your custom action is configured without sequence.
However this workflow will trigger the launch of the powershell script when the button is pressed. Is this what you need to achieve?
All i want is take the values form textboxes and pass these vales to powershell and powershell will update the file which should be there after installation of app
In order to get the Windows Installer properties associated with your editboxes and use them in your poweshell scripts please use the method described in this article:
How to set an installer property using custom actions
Best regards,
Sorin