*I posted the following at the main forum, and it was suggested I post here instead...* I've written an installation package with WiX (3.6), and I want to be able to do a few extra things (that it apparently doesn't do out of the box) that can easily been done at the Command level. I understand, though, that using VBScript or executing a .bat file is not considered best practice. So I'm soliciting ideas on how I might perform the following DOS equivalent commands in my installation: taskkill /im program.exe /f schtasks /end /tn taskname del [INSTALLFOLDER]program.exe I'd prefer to use C# for the code. Any ideas are welcome. Thanks! *I am using a custom DLL, and it's working except for the last point above. How do I get access to INSTALLFOLDER from within my C# function? Thanks.*
-- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Running-DOS-commands-from-installation-tp7594577.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users