Re: [WiX-users] Induce Sleep in the MSI script

2008-06-27 Thread John Hall
> > I think you'd have to write a custom action. As custom 
> > actions go, this would be a very simple one.

> I tried putting in a custom action that used the cmd.exe 
> sleep command to fix a problem with a service that needed to 
> restart only to discover that not all my deployment targets 
> had the sleep command!
> 
> I later was able to abandon the sleep as we fixed the fact 
> the service needed to be restarted.

I meant a C++ custom action that called the Win32 function Sleep(). That
would be very simple - no C runtime library dependencies, no need to
worry about rollback, etc.

Regards,
John

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Induce Sleep in the MSI script

2008-06-26 Thread Osman Masood
I also need a sleep command during setup. What is the WiX custom
action to sleep, i.e. delay operations for a certain period of time?
Thanks very much!

On Thu, Jun 26, 2008 at 9:46 AM, John Hall
<[EMAIL PROTECTED]> wrote:
>> Is there a way to do this?
>
> I think you'd have to write a custom action. As custom actions go, this
> would be a very simple one.
>
> Just out of interest, why do you want to sleep during installation?
>
> Regards,
> John
>
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Induce Sleep in the MSI script

2008-06-26 Thread Siegfried Heintze
"
I tried putting in a custom action that used the cmd.exe sleep command to fix a 
problem with a service that needed to restart only to discover that not all my 
deployment targets had the sleep command!

I later was able to abandon the sleep as we fixed the fact the service needed 
to be restarted.


- Original Message -
From: John Hall <[EMAIL PROTECTED]>
To: General discussion for Windows Installer XML toolset. 

Cc:
Date: Thursday, June 26 2008 10:46 AM
Subject: Re: [WiX-users] Induce Sleep in the MSI script
> Is there a way to do this?

I think you'd have to write a custom action. As custom actions go, this
would be a very simple one.

Just out of interest, why do you want to sleep during installation?

Regards,
John

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Induce Sleep in the MSI script

2008-06-26 Thread John Hall
> Is there a way to do this?

I think you'd have to write a custom action. As custom actions go, this
would be a very simple one.

Just out of interest, why do you want to sleep during installation?

Regards,
John

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Induce Sleep in the MSI script

2008-06-26 Thread Anidil

Well i mean wait for a defined time.. sleep(milliseconds)

I have written a c# exe that gives a sleep of 30 seconds.But when i call it
from the installer using a CA,i see that the exe in the process list of task
manager for just 4 seconds and it doesn't hold/delay the installation
sequence for 30 seconds..



Roger Lipscombe wrote:
> 
> Use a custom action to play some soothing music? Maybe turn down the LCD
> backlight?
> 
> Or did you mean one of the following?
>  1. Wait for a defined time -- i.e. ::Sleep(milliseconds) or
> Thread.Sleep(whatever)
>  2. Put the computer into standby.
> 
> I'm joking around, but you'll need to be more specific.
> 
> Cheers,
> Roger.
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Anidil
> Sent: Thu 26 June 2008 13:08
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Induce Sleep in the MSI script
> 
> 
> Is there a way to do this?
> --
> View this message in context:
> http://www.nabble.com/Induce-Sleep-in-the-MSI-script-tp18132204p18132204.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 1E can save a company with 10,000 PCs over $165,000 and 1,381 tons of CO2
> emissions per annum.  Calculate what you can save with the award winning
> NightWatchman from 1E. Discover the benefits of System Center solutions
> for yourself - attend an exclusive 1E Enterprise Solutions Road Show.
> Visit our website at http://www.1e.com
> 
> DISCLAIMER: This is a PRIVATE message. If you are not the intended
> recipient, please delete without copying and kindly advise us by e-mail of
> the mistake in delivery. NOTE: Regardless of content, this e-mail shall
> not operate to bind 1E Ltd to any order or other contract unless pursuant
> to explicit written agreement or government initiative expressly
> permitting the use of e-mail for such purpose
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> 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/Induce-Sleep-in-the-MSI-script-tp18132204p18133837.html
Sent from the wix-users mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Induce Sleep in the MSI script

2008-06-26 Thread Roger Lipscombe
Use a custom action to play some soothing music? Maybe turn down the LCD 
backlight?

Or did you mean one of the following?
 1. Wait for a defined time -- i.e. ::Sleep(milliseconds) or 
Thread.Sleep(whatever)
 2. Put the computer into standby.

I'm joking around, but you'll need to be more specific.

Cheers,
Roger.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anidil
Sent: Thu 26 June 2008 13:08
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Induce Sleep in the MSI script


Is there a way to do this?
--
View this message in context: 
http://www.nabble.com/Induce-Sleep-in-the-MSI-script-tp18132204p18132204.html
Sent from the wix-users mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


1E can save a company with 10,000 PCs over $165,000 and 1,381 tons of CO2 
emissions per annum.  Calculate what you can save with the award winning 
NightWatchman from 1E. Discover the benefits of System Center solutions for 
yourself - attend an exclusive 1E Enterprise Solutions Road Show. Visit our 
website at http://www.1e.com

DISCLAIMER: This is a PRIVATE message. If you are not the intended recipient, 
please delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to bind 1E 
Ltd to any order or other contract unless pursuant to explicit written 
agreement or government initiative expressly permitting the use of e-mail for 
such purpose

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Induce Sleep in the MSI script

2008-06-26 Thread Anidil

Is there a way to do this?
-- 
View this message in context: 
http://www.nabble.com/Induce-Sleep-in-the-MSI-script-tp18132204p18132204.html
Sent from the wix-users mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users