How can I install or uninstall OneNote 2013 from command line ?
I have to write a script (or two) that will quickly install or uninstall OneNote 2013 from a computer with office installed. I have tried creating .msp files with OneNote available/unavailable and running them, but once it's installed with the .msp, the other one can't uninstall, and only if I install OneNote with office's setup ("setup.exe") can I use the .msp to remove OneNote. Once I ran one of the MSP files, the other won't work, no matter what.
I have tried using `setup.exe /uninstall onenote.fr-fr` but I get an error message saying the install file was damaged. The install file works just fine when used with explorer instead of command line.