Replies: 1 comment
-
My guess is that This is all a horrible idea by the way. Don't do this. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm playing around with concept of Custom Actions.
I've created two CAs:
<CustomAction Id="SetCmdLine_TempDirCreate" Property="WixShellExecTarget" Value="mkdir C:\temp\a1" />
<CustomAction Id="CreateTempDir" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />
I then call them consequently by custom PushButton:
<Publish Event="DoAction" Value="SetCmdLine_TempDirCreate">1</Publish>
<Publish Event="DoAction" Value="CreateTempDir">1</Publish>
After pressing the button I get "...Setup Wizard ended prematurely" message.
Installer log file contains FatalError on CreateTempDir.
What I'm missing?
PS:
I do know that I can create folder by means of Directory Id.
Beta Was this translation helpful? Give feedback.
All reactions