The program will uninstall if I use the msiexec uninstall string at the
command prompt of the machine.
I tried putting the uninstall registry key in a batch file and deploying via
SMS which states the advertisement was successful but the application does
not uninstall.
I currently do not have any packaging experience so am kind of stuck at this
point. (I am using SMS 2003 - sp2).
What I would do is create a new package called "Prog-X Uninstall." I
would create a new program in that package called "Prog-X Uninstall"
and in the command line box I would put that command string that you
know works. Then distribute the package. Next, create a collection,
and last, an advertisement.
hth
Scott
--
"Everyone is an expert at something"
Kim Oppalfens - Sms Expert for lack of any other expertise
Windows Server System MVP - SMS
http://www.blogcastrepository.com/blogs/kim_oppalfenss_systems_management_ideas/default.aspx
The /x mean uninstall
The /quiet means it runs hidden no prompts
/l*v "c:\googleearth.txt" creates a log file in verbose mode. In your
package program properties you would put the line below in the Command
line text box. The uninstall string in the registry should be
similar.
MsiExec.exe /x{407B9B5C-DAC5-4F44-A756-B57CAB4E6A8B} /quiet /l*v "c:
\googleearth.txt"
MsiExec.exe /uninstall {9B07E14F-44CE-4E24-A440-9F9E1ADE804A} /quiet
I will add the log file piece in and try that. If it did not uninstall
though I wonder if I will get a log file.... well I will give it a try....
MsiExec.exe /x {9B07E14F-44CE-4E24-A440-9F9E1ADE804A} /qn
MsiExec.exe /uninstall {9B07E14F-44CE-4E24-A440-9F9E1ADE804A} /quiet
=== Verbose logging started: 9/28/2007 9:03:54 Build type: SHIP UNICODE
3.01.4000.4039 Calling process: C:\WINDOWS\system32\msiexec.exe ===
MSI (c) (58:7C) [09:03:54:117]: Resetting cached policy values
MSI (c) (58:7C) [09:03:54:117]: Machine policy value 'Debug' is 0
MSI (c) (58:7C) [09:03:54:117]: ******* RunEngine:
******* Product: {9B07E14F-44CE-4E24-A440-9F9E1ADE804A}
******* Action:
******* CommandLine: **********
MSI (c) (58:7C) [09:03:54:117]: Client-side and UI is none or basic: Running
entire install on the server.
MSI (c) (58:7C) [09:03:54:117]: Grabbed execution mutex.
MSI (c) (58:7C) [09:03:54:226]: Cloaking enabled.
MSI (c) (58:7C) [09:03:54:226]: Attempting to enable all disabled priveleges
before calling Install on Server
MSI (c) (58:7C) [09:03:54:226]: Incrementing counter to disable shutdown.
Counter after increment: 0
MSI (s) (38:B4) [09:03:54:289]: Grabbed execution mutex.
MSI (s) (38:B8) [09:03:54:289]: Resetting cached policy values
MSI (s) (38:B8) [09:03:54:289]: Machine policy value 'Debug' is 0
MSI (s) (38:B8) [09:03:54:289]: ******* RunEngine:
******* Product: {9B07E14F-44CE-4E24-A440-9F9E1ADE804A}
******* Action:
******* CommandLine: **********
MSI (s) (38:B8) [09:03:54:289]: Machine policy value 'DisableUserInstalls'
is 0
MSI (s) (38:B8) [09:03:54:289]: MainEngineThread is returning 1605
MSI (c) (58:7C) [09:03:54:289]: Decrementing counter to disable shutdown. If
counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (58:7C) [09:03:54:289]: MainEngineThread is returning 1605
=== Verbose logging stopped: 9/28/2007 9:03:54 ===
Any ideas?
I would first check the registry on the client computer for the
uninstall string to make sure it is the same. Then I would set the
package to only run when a user is logged in to see if that works.
Make sure that you set your package program to Run with administrative
rights and if you use a software installation account check the box
for that. Try using the /passive switch to see if you get any sort of
errors on the client pc.