HI All,
I have an intresting requirement from a user.
Is there a possibility to uninstall a feature when user clicks on a short cut created for this feature/Component.
Here is what I am trying to do.
I have an app to install, with two features in it.I am creating two folders(Main App, SubApp) and a Short cut in each folder under Start Menu/Programs Menu. Each Short cut is named Uninstall. So if the user select the Short cut under Sub App I need to uninstall the feature called SubApp and with it the short cut. Can this be done?? The uninstall for the main app is easy for me as I am uninstalling the whole app.
I am developing Basic MSI project in IS 7.x Dev.
thank you for your time.
ranjit
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Uninstall Feature
Started by
ranjit
, Mar 11 2003 21:48
5 replies to this topic
Posted 12 March 2003 - 14:28
You could try to call msiexec with REMOVE=FeatureName command line option.
Stefan Krüger
InstallSite.org twitter facebook
Posted 12 March 2003 - 22:13
Stefan,
Sorry for sending you a message, I think I clicked on the wrong button and havent realised util I saw this add reply button.
Sorry to bother you with personal mail.
ranjit bendapudi
Sorry for sending you a message, I think I clicked on the wrong button and havent realised util I saw this add reply button.
Sorry to bother you with personal mail.
ranjit bendapudi
Posted 12 March 2003 - 22:17
Stefan,
The suggestion you send gave an error saying Invalid command line arguments.
My Short cut property sheet looks like this.
Arguments = /x {ProductGUID} REMOVE = "SubAPP"
Target = [SystemFoder]Msiexec.exe
If I remove the "REMOVE" part it will remove the whole application.
Any suggestions??
Thank you
Ranjit
The suggestion you send gave an error saying Invalid command line arguments.
My Short cut property sheet looks like this.
Arguments = /x {ProductGUID} REMOVE = "SubAPP"
Target = [SystemFoder]Msiexec.exe
If I remove the "REMOVE" part it will remove the whole application.
Any suggestions??
Thank you
Ranjit
Posted 12 March 2003 - 23:21
the command line should be:
/i {ProducCode} REMOVE=FeatureName
/i {ProducCode} REMOVE=FeatureName
Stefan Krüger
InstallSite.org twitter facebook
Posted 13 March 2003 - 00:43
Thank you stfan that did the trick. Except that the Feature name should be in "".
Thank you once again.
ranjit
Thank you once again.
ranjit