Replies: 1 comment
-
Maybe it has something to do with using |
Beta Was this translation helpful? Give feedback.
0 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.
-
Question
I am trying to pass
INSTALLDIR
to a deferred CustomAction withExeCommand
and for the purpose of making the reproducible simple, I am just callingecho "[CustomActionData]"
. I have the following code:Running the produced built installer, the log shows:
MSI (s) (BC:6C) [19:01:42:524]: PROPERTY CHANGE: Adding RunEcho property. Its value is 'c:\InstallerTest\'.
...
MSI (s) (BC:6C) [19:01:53:213]: Executing op: ActionStart(Name=RunEcho,,)
Action 19:01:53: RunEcho.
MSI (s) (BC:6C) [19:01:53:214]: Executing op: CustomActionSchedule(Action=RunEcho,ActionType=3186,Source=cmd.exe,Target=/c echo "",CustomActionData=c:\InstallerTest\)
...
As you can see in the log,
CustomActionData
is printed with the correct value of the directory, however the command evaluates to/c echo ""
and not/c echo "c:\InstallerTest\"
.What is wrong with this code?
Note: I am stuck at WiX v3.14.1
Thanks for taking a look!
Open Source Maintenance Fee
wixtoolset
project because I support the maintainers.Beta Was this translation helpful? Give feedback.
All reactions