/build/static/layout/Breadcrumb_cap_w.png

Need to package an application and distribute specific icons to certain groups

I need to develop an MSI package with three icons that allows me to do the following in an automated fashion.

Install the application with icon #1, but not icon #2 or icon #3. Later, if the user needs icon #2, I need to be able to add icon #2 without uninstalling and reinstalling the application.

This seems simple enough, but I can't figure it out.

Can someone with more MSI experience help me out?
[8|]

0 Comments   [ + ] Show comments

Answers (1)

Posted by: yarborg 18 years ago
Blue Belt
3
If you are wanting to handle this just from the MSI then you will need to place the icons in different features within the MSI. Like for example, if you install Office, each application is a feature and can be installed or not installed. You can then use the command line switches against the MSI to choose which features to install. But, that does mean using the MSI again but it's more of a repair than an install or uninstall. You would need to see the documentation for the packaging solution you are using on how to add the features. Wise does it in a very simple manner and I imagine most of the other tools are very similar.

Here is what the command line for using features looks like:
msiexec /i MyApp.msi ADDLOCAL="Feature1,Feature2,Feature4"

Generally it is a good idea to see if these types of things can be controlled by a GPO or some kind of group membership script. It makes it easier to install everything before hand and control what they have access to through a group membership that creates the icons and possibly sets permissions as well.

Hope that helps.
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