try: http://robmensching.com/blog/posts/2010/5/2/The-WiX-toolsets-Remember-Property-pattern
On Tue, Aug 3, 2010 at 6:17 PM, saikodi <saik...@hotmail.com> wrote: > > Hello All, > > This is my first post here. I am not sure if there are any guidelines here. > > I have a custom application for which I created a setup as follows: > 1. WPF application (called setup.exe) has all the UI. > 2. WIX based msi (called setup.msi) has no UI but does the installation. > 3. The WPF app collects info from user (through UI screens) and when the > user clicks on Install on teh summary page, the WPF app executes "msiexec > /i > setup.msi [command line parameters]" > > I have about 7 different command line parameters that get passed and the > msi > behaves based on the command line parameters. I also create shortcuts > during > installation and users can uninstall the application through the shortcuts. > During creation of a shortcut at install time, I store all the command line > parameters as part of the shortcut. This has been working perfectly. > However, I did not allow uninstallation from control panel till now. > > Based on feedback from my users, I need to allow uninstallation from > control > panel now. I am not sure how to do this because in this scenario, I do not > have the command line parameters. Since the command line parameters are > missing, the uninstallation wont remove certain components. > > For instance, I create a website during installation. For the website > creation, I use built in WIX CA. That CA requires certain website > properties > to be passed in for removal of the website during uninstallation. Else the > WIX CA fails. > > Please advise how I can solve this. I still do have my uninstall shortcut > on > the machine when the user attempts uninstallation from control panel. That > shortcut will have all the data as command line parameters. > > Any suggestions? > > Thanks, > Sai Kodi > -- > View this message in context: > http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Uninstall-from-Control-Panel-tp5370796p5370796.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users