What I did was I had a bat file that was installed with my package. My custom action refered to the FileKey of that bat file and inside the bat file all I had was "iisreset /stop". Unfortunately, it's really ugly because a command prompt pops up.
John Hidey (The C# Junkie) wrote: > > All > > How to I ensure that IIS gets stopped on and uninstall. I'm installing a > site (web service) and also a windows service. The windows service uses > the > web service that I installed and the windows service is started on > install. > When uninstalling, the web services bin directory and its contents are > left > behind. If I manually stop IIS and then uninstall everything is fine. > Can > I have the uninstall process stop IIS during uninstalled and if so how do > I > go about this. > > Thanks in advance everyone. > > John > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://www.nabble.com/Stop-IIS-on-uninstall-tf2159128.html#a5970612 Sent from the wix-users forum at Nabble.com. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users