Discussion:
msiexec and SMS2003 - can't find installed package
(too old to reply)
Mark_Work_DES
2009-07-03 08:58:01 UTC
Permalink
I am trying to uninstall Adobe Shockwave with SMS 2003 Advanced clients on XP
sp2 and sp3 clients.

so far I have manually run the following commands using a Domain Admin logon

To install
msiexec /package "sw_lic_full_installer_11.msi" /passive

To uninstall
msiexec /x "sw_lic_full_installer_11.msi" /passive /li c:\shockwave_uninstall

Both commands work as I expected them to when I use the 'Run' option from
the start menu.

Shockwave is first installed and then unistalled correctly.

My problem is that when I re-install Shockwave using the command above as a
test - I can't run the unistall command as part of an SMS2003 package.
I've created the package and advertised out a program which the client has
received. When it runs it fails with the error code 1605

The log file saved to the c drive says this:
MSI (s) (B4:E8) [14:59:46:266]: Product: Adobe Shockwave Player --
Installation failed.

This action is only valid for products that are currently installed.
C:\WINDOWS\system32\CCM\Cache\STF00009.7.S-1-5-21-641411641-131815292-946742744-8785\sw_lic_full_installer_11.msi

I even downloaded the package to the local PC from the DP and got it to run
from there (as you can see in the log above) but it still failed.

The package runs with Admin rights and I've tried running it under the
Software installation account as well and it still failed.

I've never come across this problem before. No matter what I've tried so far
I can't change the behaviour of the SMS package - it always fails to see that
Shockwave is already installed.

Can anyone suggest a way to make the SMS package work
Mark_Work_DES
2009-07-03 09:29:02 UTC
Permalink
Update:

It was suggested that I try running the package with user rights instead of
Admin ones. This was a success as long as the logged on user had rights to
unistall software.

Its not possible to give all my users this right - is there another solution
anyone can suggest to get SMS to work properly for a normal domain user
Sherry Kissinger [MVP]
2009-07-03 11:43:02 UTC
Permalink
One thing to try for the installation line:

msiexec.exe /i sw_lic_full_installer_11.msi ALLUSERS=1 /qb-!

or

msiexec.exe /i sw_lic_full_installer_11.msi ALLUSERS=2 /qb-!

the ALLUSERS= switch is to tell the MSI to install for all users and not
per-user. Some vendors however have been known to 'hard code' things into
Custom Actions which can only be performed by an interactively logged in
user. So that may not work. One would hope that Adobe package creators know
not to do that--but from my own personal experience with the nightmare that
is Adobe msi's...

All I can say is cross your fingers.

fyi, another place to check is http://www.appdeploy.com Perhaps someone
else has already dealt with Shockwave 11. I did a quick search, and there
are some entries for sw11 there. But without spending too much time looking
around, you might need a transform.
Post by Mark_Work_DES
It was suggested that I try running the package with user rights instead of
Admin ones. This was a success as long as the logged on user had rights to
unistall software.
Its not possible to give all my users this right - is there another solution
anyone can suggest to get SMS to work properly for a normal domain user
Loading...