/build/static/layout/Breadcrumb_cap_w.png

Orphaned Shortcuts

I got a package that I am assigning to users through Group Policy which then installs when they launch it from the shortcut in the Start Menu.

Problem is that when it falls out of scope for them, the package uninstalls fine but there are shortcuts left in the Start Menu with no icons and that do not work. I've had a look at the tables in the MSI and it appears that they should be removed.

Any ideas on how to make sure these get removed?
Thanks,
Doug.

0 Comments   [ + ] Show comments

Answers (7)

Posted by: The Packeteer 18 years ago
Senior Yellow Belt
0
DGDavis,

Does the workstation leave then there also if you uninstall them manualy with administrative rights?

If so try to log your uninstall with MSIEXEC /x /l* <your logfile> <Your MSI> /qb

good luck,

Regards,

The Packeteer.
Posted by: dgdavis 18 years ago
Orange Belt
0
The shortcuts get removed fine when I just do a normal install then remove using an Admin account. This makes me think that it's something to do with the fact it's advertised. There's also a roaming profile and redirected folders involved. It's not a permissions thing, as I can happily remove the shortcuts as the user after the uninstall. I've also checked in Application Data\Microsoft\Installer and there is no folder there containing the advertised shortcuts so it's not like it's being left behind there.

Any other ideas?
Posted by: The Packeteer 18 years ago
Senior Yellow Belt
0
I think you still need to " log " you MSI with the /l*v commando, maybe this will shed some light on the Custom Actions you are running.

( the log lets you see the actions performed and if the fail --> why they fail. )

Good luck.

Regards,
Posted by: nheim 18 years ago
10th Degree Black Belt
0
Hi Doug,
are all of the installed shortcuts left on the system or only part of it?
Does the 'InstallExecuteSequence' table contain the row 'RemoveShortcuts'?
Regards, Nick
Posted by: dgdavis 18 years ago
Orange Belt
0
OK. After some thought I worked out what was going wrong - it was all related to a forced reboot. Because I had to use REBOOT=Force to ensure a service was being installed, when the uninstall was occurring at user logon this was again kicking in thus preventing a full logon for the user and causing the shortcuts to be orphaned. Removing the forced reboot solved the shortcuts issue, and I have figured out how to deal with the service using the ServiceInstall and ServiceControl tables, but I now have a new niggling issue:-

The Start Menu shortcuts discussed previously look and work fine when advertised. Click on one, and the app installs. Go back into the Start Menu after the app has installed and all the shortcuts have lost their icons. A reboot fixes this, but I don't really need to reboot as the app works. Any reason for this lack of icons? If not, can someone tell me how to force a reboot at install time only & not during uninstall?

Thanks.
Posted by: nheim 18 years ago
10th Degree Black Belt
0
Hi Doug,
good to see you work out your first problem.
To reboot at the end, set the condition of the 'ScheduleReboot' sequence in the 'InstallExecuteSequence' table to your needs.
But is this really necessary? Try to refresh the desktop icons, e.g. with this utility: http://camtech2000.net/Programs/refrsh10.zip
Maybe, a reboot won't be needed afterwards.
Regards, Nick
Posted by: dgdavis 18 years ago
Orange Belt
0
Thanks nheim, using the ScheduleReboot action and setting a condition of Not Installed did the trick and the Start Menu icons are back to normal.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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