Silent uninstall?

N

nzfreak

Hello,

I would like to make a silent uninstall of OneNote 2007. I have created a
msp file by running setup.exe /admin and entering all my producut information
and configuration and saving it. Initially, I put it in the Updates folder
so that it will run without having to specify /adminfile, as with the msp in
the Updates folder, it will automatically get applied. I did read somehere
however that when uninstalling, you do not want a msp file in the updates
folder. So for the install, I now just run setup.exe /adminfile OneNote.msp,
with the msp file being in the same dir as setup.exe. The msp file has
everything set for silent - No Cancel, UI level is set to None, etc.

I have also made 2 xml files. One for a 'basic' install and another for a
silent install. The only difference between these 2 files is 'Display
Level="None" vs. Display Level="Basic". I am also running setup and
specifying the xml file as I read somewhere that if no config.xml file exists
in the same dir as setup.exe, it will read the config.xml in the OneNote.WW
folder. The silent install is named config.xml and the basic install xml is
named qbconfig.xml.

When running setup...
For silent, I am running: setup.exe /adminfile OneNote.msp /config config.xml

For quiet/basic, I am running: setup.exe /adminfile OneNote.msp /config
qbconfig.xml

The problem I am having is, when I try to run the uninstall, no matter what,
I cannot get it to run. What happens is, the GUI comes up and asks if I
would like to uninstall. I have tried: setup.exe /uninstall OneNote /config
config.xml. This should run the silent install config as the uninstall and
thus not prompt for anything. That does not work. I've also grabbed the
registry key from uninstall:

MsiExec.exe /X{90120000-00A1-0000-0000-0000000FF1CE}

and put a /qn at the end and that runs, but not silently (ie. no window
being displayed). It also reboots at the end. I would like to use the xml
file as I have set SETUP_REBOOT to NEVER.

Thanks for your help!
nzfreak
 
N

nzfreak

On another note..

Is there a way to disable the inital splash screen that comes up? There is
a 2007 screen that comes up saying something to the effect of 'Please wait
while setup copies files'. It shows up just briefly then disappears. With
everything set to not show, display, silent, etc., I am puzzled why this
would be happening.

Also, for what it's worth, the xml settings for the silent install are:

<!-- <Display Level="None" CompletionNotice="no" SuppressModal="yes"
AcceptEula="yes" /> -->

The settings in the msp file are:
Product key is valid (ie. OneNote installs just fine manually or silently)
I accept the terms in the License Agreement: Checked
Display level: None
Completion Notice: UNchecked
Supress modal: Checked
No cancel: Checked
 
N

nzfreak

I figured it out. I just created another xml file and called it uninstall
and in it it contains only:

<Configuration Product="OneNote.en-us">

<Display Level="none" CompletionNotice="no" SuppressModal="yes"
AcceptEula="yes" />

<Setting Id="SETUP_REBOOT" Value="Never" />

</Configuration>
 
R

Rainald Taesler

nzfreak shared these words of wisdom
Hello,

I would like to make a silent uninstall of OneNote 2007.

Pls permit a dumb question (I am famous for those <bg>):
What might this be good for?

Why not have it running "loud"? <bg,d&rf>

Rainald
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top