Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello Team

SQL
I am installing a msi file on remote machine silently. But not able to find a way to stop the ongoing silent installation and provide an user a option to rollback the changes which the half installed package has made.

I used WMI classes to install the msi package silently. Could anyone help me on stopping and roll-backing the msi silent installation, in-between the installation process.

Please do your valuable comments and feedback.
Posted
Updated 25-Sep-14 0:01am
v2

If something is silent, it's also supposedly death. How to give some instructions to something which does not give you any prompt? This is beyond the purpose of silent installation.

—SA
 
Share this answer
 
I have achieved that using WCF and MsiInterop.
I hosted the WCF service on the client machine by placing the console application using WMI on client machine. The WCF service is performing start and stop of msi using MsiInterop methods.
Please let me know if anyone want code for the same.
All your help is appreciated.Thank You.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900