Click here to Skip to main content
15,913,235 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created a project which includs 2 projects, one is setup project, other is vsto and i have added output of vsto in setup project.

i want to install both files in silent mode , for the execution of vsto in silent mode i write code in installer class as:

System.Diagnostics.Process.Start(pathofvsto,"/q");

and when i write command for executing setup as:

msiexec /i setup /q

it will execute setup.exe in silent mode. but it shows windows for installing vsto.
i want to install vsto in silent mode.
Posted
Updated 18-Apr-11 22:09pm
v2

1 solution

 
Share this answer
 
v2
Comments
Kaur Jatinder 19-Apr-11 6:31am    
thanks for replying.
i had also tried for this but this is not working.
Prerak Patel 19-Apr-11 6:32am    
What happens? It works just like normal install? Elaborate more.
Kaur Jatinder 19-Apr-11 7:11am    
yes it works just like normal install but for setup which is installed sucessfully in silent mode.
but after installing setup there should be the silent installation of vsto because of statement System.Diagnostics.Process.Start(pathofvsto,"/q");
but its not happening and showing gui for installation.

Prerak Patel 19-Apr-11 7:14am    
Use /s for VSTO, Process.Start(pathofvsto,"/s")
Prerak Patel 19-Apr-11 6:33am    
Try using /quiet /qn

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