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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 01/16/2006 by: The Packeteer
Senior Yellow Belt

Please log in to comment
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?
Answered 01/16/2006 by: dgdavis
Orange Belt

Please log in to comment
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,
Answered 01/16/2006 by: The Packeteer
Senior Yellow Belt

Please log in to comment
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
Answered 01/16/2006 by: nheim
Tenth Degree Black Belt

Please log in to comment
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.
Answered 01/16/2006 by: dgdavis
Orange Belt

Please log in to comment
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
Answered 01/16/2006 by: nheim
Tenth Degree Black Belt

Please log in to comment
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.
Answered 01/18/2006 by: dgdavis
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity