cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bluestar8783
Level 5

How to uninstall program after silent install?

I use setup command Line:/r、/s to create one silent installer.(
I use one InstallScript Project)

After silent installing, the uninstall item would show in Add/Remove Panel.
When I run the uninstall item in Add/Remove Panel, no driver can be
removed.

I try to modify some code to uninstall in OnMaintUIBefore(), but
some pc works and some doesn't work.

What event handler when running Uninstall in Add/Remove Panel?
Labels (1)
0 Kudos
(1) Reply
bluestar8783
Level 5

I would debug it and found below condition.

First, I run my installer.exe(one single execution file) and install successfully.
And run my installer.exe again, it will remove completely by running
OnMaintUIBefore()、OnMaintUIAfter()

But when I use Add/Remove Programs Panel to run remove option,
it doesn't run any source code(I use ISDbg.exe to debug) and
fail to remove.

What happens this strange condition?
How to solve it?

any hint to me?

bluestar8783 wrote:
I use setup command Line:/r、/s to create one silent installer.(I use one InstallScript Project)

After silent installing, the uninstall item would show in Add/Remove Panel.
When I run the uninstall item in Add/Remove Panel, no driver can be
removed.

I try to modify some code to uninstall in OnMaintUIBefore(), but
some pc works and some doesn't work.

What event handler when running Uninstall in Add/Remove Panel?
0 Kudos