cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
PysnLiu
Pilgrim

How to create uninstall shortcuts for each feature?

I have an installation including several features,and I want to create an uninstall shortcuts for each feature.
How can i implement this?
Labels (1)
0 Kudos
3 Replies
RobertDickau
Pilgrim

Re: How to create uninstall shortcuts for each feature?

Perhaps create a bunch of shortcuts, each running a command like:

msiexec.exe /i [ProductCode] /qb REMOVE=FeatureToRemove
0 Kudos
PysnLiu
Pilgrim

My project is not a msi

RobertDickau wrote:
Perhaps create a bunch of shortcuts, each running a command like:

msiexec.exe /i [ProductCode] /qb REMOVE=FeatureToRemove


The project i've created is an installscript,not a mis.
0 Kudos
RobertDickau
Pilgrim

Re: How to create uninstall shortcuts for each feature?

I haven't tried it, but perhaps shortcuts that launch \ plus a command-line argument referring to the feature to remove; where you read the data from CMDLINE and call FeatureSelectItem to remove the feature you don't want?
0 Kudos