/build/static/layout/Breadcrumb_cap_w.png

SPSS 19 not removing icons on uninstall

I am currently pushing SPSS 19 via GPO/MSI/MST. The installation works without issue. The problem I am having is that the uninstaller will not remove the icons from the Start menu. One thing I have tried is to delete the existing shortcuts from the mst and create new ones. The icons where still there after the uninstall. The uninstallation happens via the gpo when the computer object goes out of scope.

0 Comments   [ + ] Show comments

Answers (4)

Posted by: ppizz 13 years ago
Yellow Belt
0
It appears that the SPSS 19 msi just doesn't remove the shortcuts, regardless of the way it is installed. Only installing via the setup.exe will do the proper cleanup when uninstalling. Thanks IBM.
Posted by: anonymous_9363 13 years ago
Red Belt
0
Do the shortcuts appear in the Shortcut table? If they do, they *should* be removed by the standard WI action. If not, then they can't be removed other than by either a CA or, more simply, adding them to the RemoveFile table.
Posted by: ppizz 13 years ago
Yellow Belt
0
I went the way of a vb script in a custom action.

strFolder = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\IBM SPSS Statistics"
set objFSO = createobject("Scripting.FileSystemObject")
objFSO.DeleteFolder strFolder

It works now.
Posted by: anonymous_9363 13 years ago
Red Belt
0
It works now. ...the stand-out word there neing "now". What happens if Microsoft change the location that shortcuts get installed to? At the very least your script should use an environment variable to build part of the path.

A better way would be to use the RemoveFile table, with the path built using formatted text property to point to the path. That way, when MS releases Windows 8 and changes the location again, your package should work unaltered.

The best way would be to find the CA which creates the shortcuts, stop it executing and use the Shortcut table to recreate them.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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