Replies: 1 comment 7 replies
-
Type 21/22 custom actions use an installed file. Type 37/38 CAs use embedded script. https://wixtoolset.org/docs/schema/wxs/customaction/ says:
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I want to move my projects from WiX v3 to WiX v4. I have some custom VB script actions (Type 37 or 38). Now I'm not able to find the correct XML syntax for this. Maybe this feature is still missing in WiX v4?
I thought the following XML should be correct. But it does not work. Visual Studio states the text must be empty.
<CustomAction Id="MyActionId" Script="vbscript"><![CDATA[ MyCustomScript ]]></CustomAction>
In the corresponding xsd file the documentation states, that the script attribute needs the script in the element's text.
Has anyone had success with this?
Beta Was this translation helpful? Give feedback.
All reactions