nextedgeptyltd
Posts: 2
Joined: Tue Jan 30, 2018 11:38 pm

Supress Survey On Uninstall

Tue Jan 30, 2018 11:42 pm

Is there a MSI command line switch to prevent the MSI from opening the survey website on uninstall? We have a client that wants to remove the software from a high number of machines and doesn't want all the users being prompted. Why does the survey not honour the silent MSI run?

Daniel
Posts: 8237
Joined: Mon Apr 02, 2012 1:11 pm
Contact:  Website

Re: Supress Survey On Uninstall

Fri Feb 02, 2018 3:03 pm

Hello and welcome to our forums,

Thank you for using Advanced Installer.

This is our current implementation. I've created a ticket in our bug tracking system and so we analyze our current implementation and maybe we will consider not displaying the uninstall reason form during a silent uninstall process. I agree with you that this defeats the purpose of an unattended process.

In the meantime as a workaround, you can proceed like this:
1. go to "Custom Actions" page and add a new "Set installer property" custom action with sequence like this:
  • Property: AI_IA_UNINSTALL_REASON
    Value: ""
    Condition: UILevel = "2" AND REMOVE = "ALL"
2. schedule the action under the "Install Execution Stage" just before "Searches" action group
3. rebuild and test the silent uninstall scenario

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

nextedgeptyltd
Posts: 2
Joined: Tue Jan 30, 2018 11:38 pm

Re: Supress Survey On Uninstall

Mon Feb 05, 2018 2:20 am

Unfortunately that doesn't solve the uninstall of the software currently out there on 3500 endpoints.

We are actually turning off the survey all together in an upcoming release so the client will have to "update" to that before running the uninstall unfortunately.

Daniel
Posts: 8237
Joined: Mon Apr 02, 2012 1:11 pm
Contact:  Website

Re: Supress Survey On Uninstall

Mon Feb 05, 2018 9:25 am

Hello,

If you already deployed the setup on customer network, then to suppress the uninstall survey form you can set from command line (at uninstall time) the "AI_IA_UNINSTALL_REASON" property to empty string.

For instance you can use an uninstall command line like this

Code: Select all

msiexec /x setup.msi /qn AI_IA_UNINSTALL_REASON=""
or like this:

Code: Select all

setup.exe /x // /qn AI_IA_UNINSTALL_REASON=""
All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Installer Analytics”