Re: [WiX-users] Stop IIS on uninstall

2006-08-24 Thread JosephMM

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


Re: [WiX-users] Stop IIS on uninstall

2006-08-24 Thread david adams
John:

Does IIS have to be stopped or is it acceptable to simply stop the Website 
in IIS.  Our install creates the Website, Application Pool, etc. with the 
Website items created in a "stopped" status.  Upon completion of the 
install, we go into IIS and start the Website.  Uninstall removes the 
Website, Application Pool, and all files / folders.

David Adams
MSN MessengerID: [EMAIL PROTECTED]





>From: JosephMM <[EMAIL PROTECTED]>
>To: wix-users@lists.sourceforge.net
>Subject: Re: [WiX-users] Stop IIS on uninstall
>Date: Thu, 24 Aug 2006 12:12:04 -0700 (PDT)
>MIME-Version: 1.0
>Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by 
>bay0-mc10-f14.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Thu, 
>24 Aug 2006 12:12:11 -0700
>Received: from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93])by 
>sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 56661F413; Thu, 24 Aug 
>2006 12:12:11 -0700 (PDT)
>Received: from sc8-sf-mx2-b.sourceforge.net 
>([10.3.1.92]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net 
>with esmtp (Exim 4.43)id 1GGKcb-0001WR-Ttfor 
>wix-users@lists.sourceforge.net; Thu, 24 Aug 2006 12:12:10 -0700
>Received: from www.nabble.com ([72.21.53.35] helo=talk.nabble.com)by 
>mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256)(Exim 4.44) id 
>1GGKcZ-0002U2-W3for wix-users@lists.sourceforge.net; Thu, 24 Aug 2006 
>12:12:09 -0700
>Received: from [72.21.53.38] (helo=jubjub.nabble.com)by talk.nabble.com 
>with esmtp (Exim 4.50) id 1GGKcW-0006RB-UOfor 
>wix-users@lists.sourceforge.net; Thu, 24 Aug 2006 12:12:04 -0700
>X-Message-Info: LsUYwwHHNt1LDbb1Nt1m5oZrMTfsgTFU+JvmZTHlxmc=
>References: <[EMAIL PROTECTED]>
>X-Spam-Score: -1.2 (-)
>X-Spam-Report: Spam Filtering performed by sourceforge.net.See 
>http://spamassassin.org/tag/ for more details.Report problems 
>tohttp://sf.net/tracker/?func=add&group_id=1&atid=210.5 
>FROM_ENDS_IN_NUMS  From: ends in numbers-2.8 ALL_TRUSTEDDid 
>not pass through any untrusted hosts1.1 FORGED_HOTMAIL_RCVD2   hotmail.com 
>'From' address,but no 'Received:'
>X-BeenThere: wix-users@lists.sourceforge.net
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: "General discussion for Windows Installer XML 
>toolset."
>List-Unsubscribe: 
><https://lists.sourceforge.net/lists/listinfo/wix-users>,<mailto:[EMAIL 
>PROTECTED]>
>List-Archive: 
><http://sourceforge.net/mailarchive/forum.php?forum=wix-users>
>List-Post: <mailto:wix-users@lists.sourceforge.net>
>List-Help: <mailto:[EMAIL PROTECTED]>
>List-Subscribe: 
><https://lists.sourceforge.net/lists/listinfo/wix-users>,<mailto:[EMAIL 
>PROTECTED]>
>Errors-To: [EMAIL PROTECTED]
>Return-Path: [EMAIL PROTECTED]
>X-OriginalArrivalTime: 24 Aug 2006 19:12:12.0081 (UTC) 
>FILETIME=[33EAEA10:01C6C7B1]
>
>
>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.
>
&g

Re: [WiX-users] Stop IIS on uninstall

2006-08-24 Thread Joe Kaplan
What I've done in the past is just include a ServiceControl element in the 
component:



You might change the Start and Stop attributes to get what you want.  I was 
installing an ISAPI filter.

The schema might be a little different in WiX3, but you get the idea.  You 
shouldn't need your own CA for this--the built in one in WiX should do what 
you want.

You might also need to put a condition on it to ensure that IIS is installed 
or something.

Joe

- Original Message - 
From: John Hidey (The C# Junkie)
To: wix-users@lists.sourceforge.net ; wix-devs@lists.sourceforge.net
Sent: Thursday, August 24, 2006 9:55 AM
Subject: [WiX-users] Stop IIS on uninstall


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 


-
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