Solved

Install MSI package - suppress creation of Start Menu shortcuts

Posted on 2014-11-10
7
1,275 Views
Last Modified: 2014-11-29
I'd like to install an MSI package (Microsoft LocalGPO utility, to be specific) to a large group of client machines.  A separate batch file that I've written will make use of the LocalGPO features, so I really don't want any of the users to have shortcuts to the LocalGPO folder appear in their Start menu.  (Please note that these are not domain-joined systems.)

I haven't found any obvious msiexec parameters that will suppress the creation of start menu shortcuts, nor have I found anything in the installer's "Property" table that I can modify to achieve the outcome I desire.

I suppose I could  probably have the installer execute a command (or small .bat file) to delete the offending shortcuts post-install.  I'm somewhat familiar with Orca, but I don't know how exactly to modify the MSI (or create a transform) to append this post-install kludge.

My preference would be to use a command-line parameter with msiexec (something like "NOSHORTCUTS=1").  Creating a transform that suppresses the shortcut creation would be almost as good.  Tacking on a post-install command to delete the shortcuts would still work, but would be least-desirable.

The LocalGPO utility is part of Microsoft's freely available Security Compliance Manager:  http://go.microsoft.com/fwlink/?LinkId=182512.
0
Comment
Question by:bryanhwoods
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 19

Expert Comment

by:Kash
ID: 40434740
I am not sure about suppressing creation of an icon but I have found a work around which is to create a gpo to delete the shortcuts etc afterwards

>>> this may guide you in doing so http://www.grouppolicy.biz/2010/03/how-to-use-group-policy-to-remove-the-adobe-reader-desktop-shortcut/
0
 

Author Comment

by:bryanhwoods
ID: 40443822
Kash, thanks for passing that along.  As the target computers for this package are not joined to a domain, using a GPO to manipulate the Start menu shortcuts wouldn't be a simple solution.  I could, of course, apply a local group policy, but that would be problematic.
0
 
LVL 29

Expert Comment

by:Michael Pfister
ID: 40466584
Whether  a property  to suppress the icons/start menu is available or not depends on the designer/creator of the MSI.
You could use Orca (or SuperOrca ) to have a look at the public properties the MSI supports (I'd look by myself but the installation of the Security Compliance Manager just crashed).
Or just run a batch script to install the msi and then delete the start menu/desktop icons
0
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 total points
ID: 40466731
1. open msi in orca
2. menu transform → new transform
3. select table Shortcut on the left
4. remove 3 shortcuts on the right
5. menu transform → generate transform

Or you can simply modify the original MSI, without transform. Transform makes sense when it's temporary, or when you apply different transforms to different deployments of the same product, such as different configurations for different OU's.
0
 

Author Comment

by:bryanhwoods
ID: 40471598
Vadmirapp1, that was exactly what I needed.  Much gratitude to you!

I went one step farther and removed the one entry from the "CreateFolder" database so that the installer wouldn't leave me with an empty "LocalGPO" folder in the Start menu.  In the end:

1. open msi in orca
2. menu transform → new transform
3. select table Shortcut on the left
4. remove 2 shortcuts on the right
5. select table CreateFolder on the left
6. drop the 1 database entry on the right
5. menu transform → generate transform
0
 

Author Closing Comment

by:bryanhwoods
ID: 40471599
The step-by-step instructions were an excellent addition.
0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

634 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question