Sounds like you might have a dependency on some other service running,
have you checked the eventlog.

Neil

-----Original Message-----
From: Vijeta Khatri [mailto:vijeta.kha...@microsoft.com] 
Sent: 11 February 2009 17:14
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Windows Service

The requirement is to start the windows service immediately after
install and also the service should start automatically after reboot.

I also have the service control element defined as:

<!-- Install the Service -->
<ServiceInstall Id="WindowsService" Type="ownProcess" Start="auto"
ErrorControl="normal" Interactive="no" Vital="yes"
Account="[SERVICEACCOUNT]" Password="[SERVICEPASSWORD]" />

<!-- Start the Service -->
<ServiceControl Id=" WindowsService " Name=" WindowsService "
Start="install" Stop="uninstall " Remove="uninstall" Wait="yes" />

On reboot the service start up type is automatic, but the service is not
in started state. It doesn't give any error on reboot. If I manually
start the service after reboot, it starts without any errors.

Thanks in advance for the help.

Thanks,
Vijeta


-----Original Message-----
From: wix-users-requ...@lists.sourceforge.net
[mailto:wix-users-requ...@lists.sourceforge.net]
Sent: Tuesday, February 10, 2009 9:28 PM
To: wix-users@lists.sourceforge.net
Subject: WiX-users Digest, Vol 33, Issue 55

Send WiX-users mailing list submissions to
        wix-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/wix-users
or, via email, send a message with subject or body 'help' to
        wix-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        wix-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of WiX-users digest..."


Today's Topics:

   1. How does one use a WebSite locator in order to set the file
      path for content? (Thomas S. Trias)
   2. Re: Execute action during path installation (Tony Juricic)
   3. Re: Conditional dialog after CustomizeDlg (troy hostetter)
   4. Re: Windows service (Christopher Painter)
   5. FileInUse dialog sometimes don't show up (azurejyl)
   6. Re: FileInUse dialog sometimes don't show up (Matt Weber)
   7. ??:Re:  FileInUse dialog sometimes don't show up (azurejyl)


----------------------------------------------------------------------

Message: 1
Date: Tue, 10 Feb 2009 19:26:58 -0600
From: "Thomas S. Trias" <tomtr...@artizan.com>
Subject: [WiX-users] How does one use a WebSite locator in order to
        set the file path for content?
To: wix-users@lists.sourceforge.net
Message-ID: <49922962.6040...@artizan.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Perhaps I am missing something, but I cannot figure out how I would use
the WebSite element (outside of a Component, so it acts as a locator) in
order to set the path for content.

If I have the following:

<iis:WebSite Id="EXISTINGWEBSITE" Description="Default Web Site"
SiteId="*" />

<Directory Id="TARGETDIR" Name="SourceDir">
  <Directory Id="PATH_OF_EXISTINGWEBSITE">
    <Directory Id="MyStuff" Name="MyStuff">
      <Component Guid="PUT-GUID-HERE" Id="MyStuff" KeyPath="yes">
        <CreateFolder />
        <iis:WebDir Id="MyStuff" Path="MyStuff"
WebSite="EXISTINGWEBSITE" />
      </Component>
      ... a bunch of Component elements containing files ...
    </Directory>
  </Directory>
</Directory>

the metabase changes happen in the correct place, but how do I get the
files to deploy to the proper directory? Do I have to write a custom
action to read the IISWebSite record in order to set the
PATH_OF_EXISTINGWEBSITE property? If I'm going to do that, I might as
well write a custom action that takes an arbitrary Windows Installer
query and returns the result as text...

Thanks,

--
Thomas S. Trias
Senior Developer
Artizan Internet Services
http://www.artizan.com/




------------------------------

Message: 2
Date: Tue, 10 Feb 2009 20:50:38 -0500
From: "Tony Juricic" <tjuri...@tradestation.com>
Subject: Re: [WiX-users] Execute action during path installation
To: "General discussion for Windows Installer XML toolset."
        <wix-users@lists.sourceforge.net>
Message-ID:
 
<450196a1aaae4b42a00a8b27a59278e709af1...@exchange.trad.tradestation.com
>

Content-Type: text/plain;       charset="us-ascii"

It is possible to put a file into a Component containing only that file,
make it volatile and change the condition for installing the component
from 1 to 0.

-----Original Message-----
From: Brian Rogers [mailto:rogers.br...@gmail.com]
Sent: Tuesday, February 10, 2009 6:43 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Execute action during path installation

Hey Grigory,

I don't believe you are able to remove a file while patching. However,
you
can change the file that you want to delete to a 0byte file. This will
be
effectively the same. I don't have an example of how to run a custom
action
but believe you just add a new action to your patch. There is a lot more
information to go with that. Please view Heaths blog.

http://blogs.msdn.com/heaths/archive/2005/09/12/464047.aspx

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Fri, Feb 6, 2009 at 3:39 AM, Grigory Konovalov <
grigory.konova...@confirmit.com> wrote:

> Hello All!
> I need remove file and execute custom action during patch
installation. Is
> this possible? And if yes please give me small example.
>




------------------------------

Message: 3
Date: Tue, 10 Feb 2009 22:05:23 -0500
From: troy hostetter <troy.hostet...@gmail.com>
Subject: Re: [WiX-users] Conditional dialog after CustomizeDlg
To: wix-users@lists.sourceforge.net
Message-ID:
        <4c9b3bd50902101905u4f6c0470id8bb309604ce3...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Would someone have an example of how to "subscribe to the feature
selection
events on the feature tree and set a property when the appropriate
feature
has been selected and reset that property when the feature is
deselected."
or something similar?  I am not familiar yet with subscribing to feature
selection events.

Regards,
- Troy

On Tue, Feb 10, 2009 at 5:15 PM, troy wrote:

> This is my first post to the user group.  I am having a problem
getting a
> custom dialog to conditionally appear after the CustomizeDlg, which is
based
> on the user selecting or not selecting a feature in the CustomizeDlg.
>
> Here are my conditional statement(s) for CustomizeDlg:
>
>             <Publish Dialog="CustomizeDlg" Control="Back"
Event="NewDialog"
> Value="MaintenanceTypeDlg" Order="1">WixUI_InstallMode =
"Change"</Publish>
>             <Publish Dialog="CustomizeDlg" Control="Back"
Event="NewDialog"
> Value="SetupTypeDlg" Order="2">WixUI_InstallMode =
"InstallCustom"</Publish>
>             <Publish Dialog="CustomizeDlg" Control="Next"
Event="NewDialog"
> Value="ServiceUserCredentialsDlg"
> Order="1"><![CDATA[(&FE__SPC.WindowsService=3)]]></Publish>
>             <Publish Dialog="CustomizeDlg" Control="Next"
Event="NewDialog"
> Value="VerifyReadyDlg" Order="2">1</Publish>
>
> Basically, I want the user to enter additional info if the Feature
> "FE__SPC.SiteProvisionService" is selected.  What happens is it always
goes
> to VerifyReadyDlg.
>
> Here's my Feature definition:
>
>             <Feature Id="FE__SPC.WindowsService" Title="Provisioning
> Windows Service" Level="1" AllowAdvertise="no">
>             ...
>
> What I did was create a custom version of WiXUI_Mondo.wxs, and added
the
> new dialog, and then altered the Publish tags in order to determine
when the
> ServiceUserCredentialsDlg appears.
>
> I am using WiX v3.0
>
> Thanks,
> - Troy
>
>


------------------------------

Message: 4
Date: Tue, 10 Feb 2009 18:08:54 -0800 (PST)
From: Christopher Painter <chr...@deploymentengineering.com>
Subject: Re: [WiX-users] Windows service
To: "General discussion for Windows Installer XML toolset."
        <wix-users@lists.sourceforge.net>
Message-ID: <126084.20489...@web36607.mail.mud.yahoo.com>
Content-Type: text/plain; charset=us-ascii

I'm not sure why you would require a ServiceControl element if the
requirement is for autostart on reboot, not started at the end of the
install.

After the reboot, is the service properly created?  Does it say that
it's set to automatic?  Will it start manually?     If it tries to start
and fails, does your service provide any logging/diagnostics to aid in
troubleshooting the problem?

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


--- On Tue, 2/10/09, Wilson, Phil <phil.wil...@wonderware.com> wrote:

> From: Wilson, Phil <phil.wil...@wonderware.com>
> Subject: Re: [WiX-users] Windows service
> To: "General discussion for Windows Installer XML toolset."
<wix-users@lists.sourceforge.net>
> Date: Tuesday, February 10, 2009, 6:58 PM
> You're perhaps missing a ServiceControl element.
>
> Phil Wilson
>
>
> -----Original Message-----
> From: Vijeta Khatri [mailto:vijeta.kha...@microsoft.com]
> Sent: Tuesday, February 10, 2009 4:03 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Windows service
>
> Hi,
>
> I created an installer for a windows service using Wix and
> set the start up type to auto.
>
> <ServiceInstall Id="WindowsService"
> Name=" WindowsService "
> Type="ownProcess" Start="auto"
> ErrorControl="normal" Interactive="no"
> Vital="yes" Account="[SERVICEACCOUNT]"
> Password="[SERVICEPASSWORD]" />
>
> But the windows service doenst start automatically on
> system reboot. Am I missing something here?
>
> Thanks,
> Vijeta
>
>
------------------------------------------------------------------------
------
> Create and Deploy Rich Internet Apps outside the browser
> with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing
> skills and code to
> build responsive, highly engaging applications that combine
> the power of local
> resources and data with the reach of the web. Download the
> Adobe AIR SDK and
> Ajax docs to start building applications
> today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
------------------------------------------------------------------------
------
> Create and Deploy Rich Internet Apps outside the browser
> with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing
> skills and code to
> build responsive, highly engaging applications that combine
> the power of local
> resources and data with the reach of the web. Download the
> Adobe AIR SDK and
> Ajax docs to start building applications
> today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users






------------------------------

Message: 5
Date: Wed, 11 Feb 2009 12:18:36 +0800 (CST)
From: azurejyl <azure...@163.com>
Subject: [WiX-users] FileInUse dialog sometimes don't show up
To: wix-users@lists.sourceforge.net
Message-ID:
 
<22452007.133461234325916899.javamail.corem...@bj163app56.163.com>
Content-Type: text/plain; charset=gbk

Hi, I encountered a problem with FileInUse dialog. During
uninstallation, if the application is running, sometimes the dialog will
not show up and the uninstallation succeeds. The application will crash
if continue to use at finally.

Does someone meet the similar problem and what can I do to solve this
problem?

Thanks a lot!

------------------------------

Message: 6
Date: Tue, 10 Feb 2009 22:52:35 -0600
From: "Matt Weber" <matt.we...@emergingsoft.com>
Subject: Re: [WiX-users] FileInUse dialog sometimes don't show up
To: "General discussion for Windows Installer XML toolset."
        <wix-users@lists.sourceforge.net>
Message-ID:
        <ff9419d191fe8947bfb23d6de638aee0398...@beta.emergingsoft.com>
Content-Type: text/plain;       charset="US-ASCII"

> -----Original Message-----
> From: azurejyl [mailto:azure...@163.com]
> Sent: Tuesday, February 10, 2009 10:19 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] FileInUse dialog sometimes don't show up
>
> Hi, I encountered a problem with FileInUse dialog. During
> uninstallation, if the application is running, sometimes the dialog
> will not show up and the uninstallation succeeds. The application will
> crash if continue to use at finally.
>
> Does someone meet the similar problem and what can I do to solve this
> problem?

I have had similar experiences with the FilesInUse dialog, although its
appearance (or lack thereof) has not been restricted to uninstalls. I've
never gotten around to determining why this behavior happens, however,
so I don't have a definite answer for you.

If you have a log handy of an uninstall that failed to show the
FilesInUse dialog, you might be able to find some clues by looking at
the InstallValidate action messages. This is where the checks are made
for files to be removed which also happen to be currently in use by a
running process.

If you don't see anything there, then maybe check out messages from the
various file costing actions, where the files to be overwritten/removed
are determined and calculated.

Matt Weber
Computer Engineer
EmergingSoft(tm)
7900 Xerxes Avenue
Bloomington, MN 55431
952-842-7444, ext 21
matt.we...@emergingsoft.com





------------------------------

Message: 7
Date: Wed, 11 Feb 2009 13:28:08 +0800 (CST)
From: azurejyl <azure...@163.com>
Subject: [WiX-users] ??:Re:  FileInUse dialog sometimes don't show up
To: "General discussion for Windows Installer XML toolset."
        <wix-users@lists.sourceforge.net>
Message-ID:
 
<20447631.157181234330088240.javamail.corem...@bj163app56.163.com>
Content-Type: text/plain; charset=gbk

I looked into a log file for uninstalling, during InstallValid action, a
line reads: RESTART MANAGER: Did detect that a critical application
holds file[s] in use,  so a reboot will be necessary.
The log indicates that a running application is found, but the FileInUse
dialog is not poped up to ask the user for closing the application.
Could it be something wrong with my FileInUse dialog with restart
manager?



--

Jiang Yongli
tel:86-13857112624
msn:azureseacos...@hotmail.com


?2009-02-11?"Matt Weber" <matt.we...@emergingsoft.com> ???
>> -----Original Message-----
>> From: azurejyl [mailto:azure...@163.com]
>> Sent: Tuesday, February 10, 2009 10:19 PM
>> To: wix-users@lists.sourceforge.net
>> Subject: [WiX-users] FileInUse dialog sometimes don't show up
>>
>> Hi, I encountered a problem with FileInUse dialog. During
>> uninstallation, if the application is running, sometimes the dialog
>> will not show up and the uninstallation succeeds. The application
will
>> crash if continue to use at finally.
>>
>> Does someone meet the similar problem and what can I do to solve this
>> problem?
>
>I have had similar experiences with the FilesInUse dialog, although its
>appearance (or lack thereof) has not been restricted to uninstalls.
I've
>never gotten around to determining why this behavior happens, however,
>so I don't have a definite answer for you.
>
>If you have a log handy of an uninstall that failed to show the
>FilesInUse dialog, you might be able to find some clues by looking at
>the InstallValidate action messages. This is where the checks are made
>for files to be removed which also happen to be currently in use by a
>running process.
>
>If you don't see anything there, then maybe check out messages from the
>various file costing actions, where the files to be overwritten/removed
>are determined and calculated.
>
>Matt Weber
>Computer Engineer
>EmergingSoft(tm)
>7900 Xerxes Avenue
>Bloomington, MN 55431
>952-842-7444, ext 21
>matt.we...@emergingsoft.com
>
>
>
>-----------------------------------------------------------------------
-------
>Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
>software. With Adobe AIR, Ajax developers can use existing skills and
code to
>build responsive, highly engaging applications that combine the power
of local
>resources and data with the reach of the web. Download the Adobe AIR
SDK and
>Ajax docs to start building applications
today-http://p.sf.net/sfu/adobe-com
>_______________________________________________
>WiX-users mailing list
>WiX-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------

------------------------------------------------------------------------
------
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and
code to
build responsive, highly engaging applications that combine the power of
local
resources and data with the reach of the web. Download the Adobe AIR SDK
and
Ajax docs to start building applications
today-http://p.sf.net/sfu/adobe-com

------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


End of WiX-users Digest, Vol 33, Issue 55
*****************************************


------------------------------------------------------------------------
------
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and
code to
build responsive, highly engaging applications that combine the power of
local
resources and data with the reach of the web. Download the Adobe AIR SDK
and
Ajax docs to start building applications
today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to