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.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: bkelly 10 years ago
Red Belt

Have you created an uninstall.xml? Check out the tips here: http://www.itninja.com/software/microsoft/office-onenote/12-780

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ