Your customer either has incorrect requirements or isn't communicating them clearly. First I want to point out that there is no such msiserver.exe. The client and server side processes both use msiexec.exe. There is no best practice way to terminate the msiservice from within a running msisession short of calling for a mandatory reboot. Their process is the process that called msiexec /i foo.msi and spun up your install and the service. It should be their job to shut it down if they are so inclined or they should realize that you didn't start it so it's not your problem to close it.
Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me ----- Original Message ---- From: "Bisht, Pradeep" <pradeep_bi...@yahoo.com> To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Sent: Tue, September 28, 2010 4:41:37 PM Subject: Re: [WiX-users] how to stop msiserver after installation; Thanks for responding. The top installer is not ours it is of our customer who takes software from us and several other vendors. Their top level installer expects our installer to stop all the processes that started for our installation and that includes msiserver.exe also. If I use service APIs what will be the id for the msiserver service? Can you please point me to a sample code. Thanks. ----- Original Message ---- From: "Wilson, Phil" <phil.wil...@invensys.com> To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Sent: Tue, September 28, 2010 12:33:08 PM Subject: Re: [WiX-users] how to stop msiserver after installation; It sounds like you have a design that expects the Windows Installer service (or some number of processes called msiexec.exe?) to stop when a bunch of your installs have finished. The Windows Installer service isn't a child process! Like any other Windows service you stop it with the service APIs, but really, your design is just very very wrong. If those other installs are completely out of your control (and you can't install them yourself so you *know* when they complete) you'd be better off polling for the ProductCode of last one you launched to see when it is finally installed. Phil Wilson -----Original Message----- From: Bisht, Pradeep [mailto:pradeep_bi...@yahoo.com] Sent: Tuesday, September 28, 2010 12:05 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] how to stop msiserver after installation; After my installer finishes, msiserver keeps running for long time. How can I stop it? Our top level installer package (not MSI based) waits for all the child processes launched by a specific installer to end/stop before it can proceed with the installation of other packages. How can I stop msiserver? Any help will be highly appreciated. Thanks. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users