WiX uninstall GUI - user-interface

I'm creating an installer using wix for my project. For the installation of the project, wix uses a GUI
based on WIXUI_Mondo. When the application is uninstalled from control panel, the user just sees a small box with a progress bar. But i want to add a window asking the user if he made a backup of the configuration file for future use. In that window i also want to add two buttons one to proceed the uninstallation and another to abort the uninstall process.
I can't find anything on google about this, so do you guys know if this is possible and how i can achieve this?
Thanks in advance

You should be able to achieve this by setting the ARPNOREMOVE property. This will disable the Remove button so users have to run the Modify button to activate uninstall.

As far as I know there is no UI during uninstalling. The only way is a custom action (e.g. from DLL) with a dialog window.

Related

How to do the uninstall process by using UI dialog box?

i.e. If i click the uninstall button in UI dialog box It should process uninstall for my msi file. what things i need to add to the wix coding and is that custom action need for this?
There is no need for a custom action.
You will have to include one of the Wix provided dialog sets as part of your installer source code.
http://wixtoolset.org/documentation/manual/v3/wixui/dialog_reference/wixui_minimal.html
Your requirement can very well be met by making use of the WixUI_Minimal dialog set.
For an example of how to include a built in dialog set to your installer, please see the following URL:
http://wixtoolset.org/documentation/manual/v3/wixui/wixui_dialog_library.html
Hope this helps.

Displaying a message after successful uninstall in a VS2010 deployment project?

My VS2010 setup project works OK, but the uninstall process is completely non-interactive. It displays a progress window like the one below, then it vanishes with no feedback to the user. The user interface editor in VS2010 has only trees for "Install" and "Administrative Install", not for "Uninstall".
How can I display a MsgBox saying "[Product] has been successfully uninstalled" after the uninstall is completed?
A simple solution is to add a Commit custom action and condition it with:
REMOVE = "ALL"
Another approach is to set the ARPNOREMOVE property in your MSI. In this case the Control Panel Programs and Features applet will show only the Change option, which uses full UI. The Uninstall option which uses basic UI will not be visible.

Disable Previous Button in IzPack

I have an installer using IzPack that installs a Groovy/Griffon project, and it uses the installer plugin for griffon that does so. I would like to restrict one panel's previous button through the installer.xml. One of our testers has determined that (with a very vanilla installer from Griffon's plugin) clicking the previous button after the actual unpacking and installation causes the shortcut screen to be blank, causing some issues. Is this possible, or will I have to write some panel Java?
You can lock the previous button. look at here
You indeed need to make a custom panel for this purpose.

uninstall dialogs

I am composing a setup project in VS2010 . I want to add a dialog with checkbox for the user to specify if he wants to delete the database or not. But I can't figure out how to do it: the user interface doesn't represent the uninstall dialogs on the "view dialogs" form. So I can show a messagebox instead, but then there is another problem: how can a person specify whether the database should be deleted or not if the uninstaller is launched in a quited mode? In that case some parameters should be passed to the setup project somehow. Got any thoughts?
Right now I am trying to use Orca, it is a part of Windows Installer SDK.
http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en
It might solve my problem.

Customizing Repair option in MSI

I have a Visual Studio Setup Project that is very basic except for one modification. I have two different libraries that I would like installed based on the user's selection. I added a checkbox screen and conditions to the files. They can install either component or both components. This all works fine.
Now for my requirement. Let's say that the user installed the MSI and selected only one component. Now, they need to install the second component from the same MSI. If they run the MSI again, I get the option to repair or remove. Repair will only fix the component that was installed originally. How can I give them the option to install the other components by showing the checkbox screen again?
If this functionality isn't available in a VS Setup Project, is there something else where it is? WiX perhaps?
I don't think VS Setup projects support this. Wix or MSI's created from other tools like Installshield can support this. The usual way to handle this would be to create separate features and assign the different components to each feature. Then if the MSI is built using WiX or some other tool, from add/remove there will be the Change button/option through which you can get the option to repair, modify, or uninstall. Modify then lets you change your feature selections without doing a reinstall.
You need to use the free MSI editors like ORCA or SuperORCA. Microsoft use to provide ORCA tool in their service pack. Not sure if they are continuing so. SuperORCA tool you can find at http://www.pantaray.com/msi_super_orca.html. Now when I had similar task to achieve following was my approach. I used SuperOrca to open my MSI file.
1] On repair/remove MSI dialog screen, add one more radiobutton for "Modify" - In SuperOrca-->Under RadioButton table --> Add entry for Modify radiobutton
2] Rename BackButton's text to "Reinstall" from its original "Back" --> In SuperOrca-->under Control table --> change Text property to rename Back to Reinstall
3] On selection of Repair/Remove radio button enable Finish button and disable Reinstall button. On select of modify radio button enable Reinstall button and disable Finish button - In SuperOrca--> Under ControlCondition table --> add entries for enable/disable "Reinstall" and "Finish" buttons for each comibinations for repair/remove screen (In my case dialog form name is "MaintananceForm")
4] Now from SuperOrca tools ControlEvent table find out conrol name for BackButton, In my case it is "PreviousButton". Now modify its Event, Argument & Condition entries from the table. And the values for these properties must be the same for the "Next" button properties from the Welcome screen of MSI file which redirects user to show installation options to choose.
Note: This is working fine for me. But when you re-select installation options again and click Next, somehow it does not forced for installing the selected option. Instead it repairs the MSI. I tried deleting entries from Windows\Installer folder so that MSI will not pick cashed installed version but no luck. If anybody is having answer on how to forced MSI to re-install through MSI setup wizard please let me know.

Resources