Need Package to Uninstall Shortcuts from User Profile
First, a little background information:
My department repackages software for a network that consists of approx. 2500 machines. We previously installed software to the machine and the shortcuts would go on the user's profile. We are moving away from that and just installing everything on the All User's profile. The problem we are running into is when we install an updated software version of something that a user previously had installed, their profile's shortcuts override the new All User's shortcuts.
Does anyone have a VB script that can be used as an MSI's Custom Action in an advertised shortcut that will remove old shortcuts everytime a user clicks on it?
Any help in scripting it or in where it should be in the install sequence would be greatly appreciated.
Thanks!
My department repackages software for a network that consists of approx. 2500 machines. We previously installed software to the machine and the shortcuts would go on the user's profile. We are moving away from that and just installing everything on the All User's profile. The problem we are running into is when we install an updated software version of something that a user previously had installed, their profile's shortcuts override the new All User's shortcuts.
Does anyone have a VB script that can be used as an MSI's Custom Action in an advertised shortcut that will remove old shortcuts everytime a user clicks on it?
Any help in scripting it or in where it should be in the install sequence would be greatly appreciated.
Thanks!
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
WiseUser
18 years ago
I don't believe that a CA is what you need since the users aren't presented with the right shortcuts in the first place.
What you need is a script which runs when the user logs in. It should do the following:
1) Search the AllUsers' start menu for shortcuts and place their names (and relative path) in an array.
2) Search the current users' start menu for shortcuts and check whether the name exists within the array - if so, delete the shortcut.
What you need is a script which runs when the user logs in. It should do the following:
1) Search the AllUsers' start menu for shortcuts and place their names (and relative path) in an array.
2) Search the current users' start menu for shortcuts and check whether the name exists within the array - if so, delete the shortcut.
Posted by:
xythex
18 years ago
Posted by:
WiseUser
18 years ago
ORIGINAL: xythex
Or write a script that checks every folder in Documents and Settings for said shortcuts and deletes them before you push out your new software. You should then be able to just push this out once per program as long (and its sounds like you do) you know what shortcuts you're looking for.
Unless they use roaming profiles.
Posted by:
xythex
18 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.