I've got a couple of projects I'm using Wix 3.5 for, along with Paraffin which is going really well, but I'm stuck trying to figure out how to create a Windows Scheduled Task as part of the installation.
I could just run a bat file that creates the task, but I don't think that would give me the uninstall features that Wix has, nor allow me to define it as part of the setup UI.
Does anyone know how to create a scheduled task as part of the XML Configuration in Wix 3.5?
I think you can't avoid writing a custom action for this. Here's the sample. Alternatively, you can wrap this functionality into WiXExtension and e.g. "tie" it to a component, but that's far more work to be done.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With