Showing Message from Silent Installer Using InstallAnywhere

Introduction:

In this blog, I am going to demonstrate how to show a Message when we trigger the silent installer in InstallAnywhere.

Purpose of the Blog:

When we execute the Installer in silent mode using (-i silent) the installer will not allow you to show any sort of messages to the user. In some cases we might need to display some warning messages to the user in order to notify them about some failure. So this blog will explain you how to show such a Message to the user even at the silent installation.

How to Do It:

In this example am going to show a Warning Message to the user when un Installation is completed.

Adding the Action Items

Add the action item for Modify Text File single file option. And select the Create New option. And enter the name of the file should be created. The following image shows the actual change.

Add the action Item Execute Script to execute the Script file created using Modify Single File.

Delete the Script file created.

The Final Action Item List looks like in the following screen shot.

How To Test It:

This can be tested using the following command while triggering the un installer. Uninstaller.exe -i silent

Conclusion:

A silent installer is always a silent installer. It is not possible to change the silent installer functionality but when needed we can break it according to our needs.

Thanks

About elangovv
Full name Elangovan Sundaramoorthy, currently working as Sr.Software Engineer in NortonLifelock, Chennai.

Leave a comment