[wix-users] Executing custom exe at the end from a C# CA

R ryee at pronktech.com
Thu Jul 19 12:40:18 PDT 2018

I'm very new, but is there a reason you don't want to use a bundle? Is it
because the exe will not be installed, but just be executed?

On Thu, Jul 19, 2018 at 12:30 AM, Ven H via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> I have to execute some exe files towards the end of installation. So, I
> created deferred CA in C# to execute these. But these exe file don't seem
> to be getting executed. To test it, I created a sample exe in Console App
> thru which I am creating a text file and adding some contents to it upon
> execution. When I try to invoke this exe from my C# CA using
> Diagnostics.Process.Start, though it seems to be running, it is actually
> not since it is not able to create the text file. Has anyone faced this
> issue? I tried with Impersonate=no and even without this attribute, but no
> luck. I also tried with Execute="deferred" and Execute="commit", but
> nothing seems to be working. I am not sure what I am doing wrong. Has
> anyone faced this? I also need to be able to execute it without popping a
> console window. Please help.
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/

Please reply to confirm that you have read and understand the contents of
this e-mail.

More information about the wix-users mailing list