Solved

Install MSI package - suppress creation of Start Menu shortcuts

Posted on 2014-11-10
7
793 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
7 Comments
 
LVL 19

Expert Comment

by:Kash
Comment Utility
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
Comment Utility
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 28

Expert Comment

by:Michael Pfister
Comment Utility
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
Too many email signature updates to deal with?

Do you feel like you are taking up all of your time constantly visiting users’ desks to make changes to email signatures? Wish you could manage all signatures from one central location, easily design them and deploy them quickly to users? Well, there is an easy way!

 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
The step-by-step instructions were an excellent addition.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now