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
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