View Full Version : Automated but visible uninstall of InstallScriptMSI possible?

06-28-2013, 12:49 PM
Of course it's easy enough to perform a silent automatic uninstall of an InstallScript MSI project, via setup.exe /s /f1"..path to iss file"

And 99% of the time I want this to be silent (invisible). But is it possible to have a fully automated uninstall that still shows the dialogs that appear during the uninstall process?

I've tried /uninstall and /x with and without the *.iss file, and have tried passing /v/qb and tried other things too ... googled it and looked on this board. Can't get it to work, but it seems I've done this before many years ago ... and have forgotten how.

Anyone know if this is even possible? :confused:


10-15-2015, 10:29 AM
I am no w finding myself in the same boat. Did you ever figure out how to do this?

10-15-2015, 10:38 AM
I wound up converting to a basic msi for the projects that absolutely needed some minimal feedback and used a /qb (for "quite basic feedback") command line parameter.

10-15-2015, 11:56 AM
Thanks Shuttledude. That's what I did for previous Basic MSI projects. Finding myself in InstallScript MSI projects now. I do have access to the projects and I could add a property that tells me if this is a Suite install... wonder if there is a way to add a condition somewhere in the IS MSI project to skip that pop up if we are installing via Suite.

10-15-2015, 12:18 PM
...wonder if there is a way to add a condition somewhere in the IS MSI project to skip that pop up if we are installing via Suite.

You might be able to get the suite itself to set a property that could be checked by the msi project ... open the suite project, go to "Behavior and Logic / Events", expand Events, right-click an event (e.g., OnPackagesConfiguring), choose "New Set Property", on the Action tab specify the Property Name and Property Value. An alternate approach would be to open the msi project, create some unique property, skip the pop up if that property is set to some certain value. Then, in the Suite project, select the Package of interest, on the Common tab expand the "Install" operation, and in the "EXE Command Line" supply a command argument that just sets the property (I think the property needs to be in ALL CAPS to make it public, such that it can be set via a command line parameter).

Hope this helps!

10-15-2015, 12:32 PM
Yes, I have added properties to a Suite via the 'Property Manager' and then passed them on the command line. Just don't know where/how to add a condition in the InstallScript MSI project to skip the pop up.

10-23-2015, 12:52 PM
To save time and help out any that encounter this problem… this was answered by Josh at
The part that may not be obvious is that when you go to the InstallScript tab some Events may not appear (at least they did not in my InstallScript MSI project). To add them:
• Click on Files and Setup.rul
• Pull down the drop-down in the window to the right (Initializaton)
• Select ‘Before Move Data’
• Now select the desired Event in the box to the right to insert it into your Setup.rul
• Proceed to edit as needed