//检查是否安装了 PDFCREATER.EXE 系统
if (!IsRegeditItemExist(@"SYSTEM/CurrentControlSet/Control/Print/Printers/PDFCreator"))
{
//启动pdfcreater.exe安装程序,注意后面的参数,这样使得程序无需另外的跳出pdfcreater.exe另外安装
System.Diagnostics.ProcessStartInfo ps = new System.Diagnostics.ProcessStartInfo(path + "//printer//PDFCreator-0_9_9_setup.exe", @"/sp- /silent /norestart");
ps.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
System.Diagnostics.Process pro = System.Diagnostics.Process.Start(ps);
if (pro.HasExited)
pro.Kill();
}