Wix 3.5 Create Scheduled Task
I've got a couple of开发者_如何学Go 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.
精彩评论