Re: [WiX-users] How to show FilesInUse dialog _always_ ?

2006-10-23 Thread Stefan Pavlik
Thanks for reply.

The problematic case is when standard MSI FilesInUse check will
detect the application but the user will answer Ignore. In such case
another FilesInUse dialog will not be correct.

Thanks anyway...

Stefan

Wilson, Phil wrote:
 But if you're calling it from a custom action, aren't you detecting a
 FilesInUse condition that the standard one did not detect?  I'm not why
 you'd call it from a CA if MSI is showing FilesInUse when necessary. 
 
 Phil Wilson 
 
 
 -Original Message-

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to show FilesInUse dialog _always_ ?

2006-10-20 Thread Stefan Pavlik
Hi list,...


Is there a way to determine wheter the system FilesInUse dialog was
already displayed (and answered by user) in order to not display it
again (from custom action)?

I can publish a property from the customized (authored) dialog and
check it in th CA. But what about the build-in FilesInUse dialog
(during basic UI)?

On the other side - I can ommit additional check for FilesInUse when
running in basic UI.


Thaks in advance...


Stefan Pavlik

Phil Wilson wrote:
 Sequence the custom action before files get copied so yes, somewhere early
 in the sequence is fine.
 
 Phil Wilson 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Alexander
 Biryukov
 Sent: Monday, August 07, 2006 1:28 AM
 To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] How to show FilesInUse dialog _always_ ?
 
 
 It's good, but how to catch file in use moment (before any file copy
 operation) to show dialog  ?
 
 Maybe somehow that :
 
 InstallExecuteSequence
   Custom Action=MyFileInUseCheck Before=InstallFiles /
 /InstallExecuteSequence
 
 MyFileInUseCheck is custom action, that check file and show FilesInUse
 dialog, when file locked.
 
 It will work ?
 
 --
 Alexander Biryukov
 
 On Mon, 07 Aug 2006 00:21:58 +0400, Phil Wilson [EMAIL PROTECTED]
 wrote:
 
 The FilesInUse dialog can be shown from a custom action with 
 MsiProcessMessage (...INSTALLMESSAGE_FILESINUSE...), this vbscript 
 shows the general idea:

 option explicit
 dim inst, rec, res
 const tryagain=4
 const DoExit = 2
 const Docontinue =1
 set inst = CreateObject(WindowsInstaller.Installer)
 set rec=inst.CreateRecord (3)
 rec.StringData(1) = myfile.exe
 rec.StringData(2) = Please use Task Manager to terminate the program

 Do
 res = Session.Message (H0500, rec) ' check for the program 
 terminated

 loop until res  tryagain


 Phil Wilson

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Alexander Biryukov
 Sent: Friday, August 04, 2006 1:19 PM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] How to show FilesInUse dialog _always_ ?

 Greetings all,

 We need for doing minor upgrades of our software product on servers, 
 that is _not acceptably_ to reboot.
 Some of upgrades affect on running windows services, but Windows 
 Installer does not show FilesInUse dialog for this, instead show 
 Please reboot at final of installation. In this situation user not 
 be aware that services/files in use and will be updated, for manually 
 prevent reboot.

 The Windows Installer documentation says :
 -
 If you expect the installer to display a FilesInUseDialog, but it does 
 not, this may be due to one of the following reasons:
 - The files in use are not executables.
 - The installer is not actually trying to install those files.
 - The process holding those files is the process invoking the 
 installation.
 - The process holding those files is one that does not have a window 
 with a title associated with it.
 -

 Is exist a way to display FilesInUse dialog (or some custom dialog 
 with file
 names) always, for _all_ files in use which should be updated ?

 --
 Alexander Biryukov

 --
 --- Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to share 
 your opinions on IT  business topics through brief surveys -- and 
 earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEV
 DEV ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 --
 --- Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to share 
 your opinions on IT  business topics through brief surveys -- and 
 earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEV
 DEV ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's
 Techsay panel and you'll get the chance to share your opinions on IT 
 business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 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

Re: [WiX-users] How to show FilesInUse dialog _always_ ?

2006-10-20 Thread Stefan Pavlik
I have already realized that it is not possible to Publish the
property from FilesInUse dialog because this dialog is called from
InstallExecuteSequence.

So I am posting my question again:

Is there a way to determine wheter the FilesInUse dialog was
already displayed by InstallValidate action (and answered by user)
in order to not display it again (from custom action)?

Thanks
Stefan


-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to show FilesInUse dialog _always_ ?

2006-10-20 Thread Wilson, Phil
But if you're calling it from a custom action, aren't you detecting a
FilesInUse condition that the standard one did not detect?  I'm not why
you'd call it from a CA if MSI is showing FilesInUse when necessary. 

Phil Wilson 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stefan
Pavlik
Sent: Friday, October 20, 2006 5:07 AM
To: Stefan Pavlik
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to show FilesInUse dialog _always_ ?

I have already realized that it is not possible to Publish the property
from FilesInUse dialog because this dialog is called from
InstallExecuteSequence.

So I am posting my question again:

Is there a way to determine wheter the FilesInUse dialog was already
displayed by InstallValidate action (and answered by user) in order to
not display it again (from custom action)?

Thanks
Stefan


--
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com Panenska 28 | SK-81103
Bratislava | Slovak Republic Tel +421(2)5930-0735 | Fax +421(2)5443-5512


-
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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to show FilesInUse dialog _always_ ?

2006-08-08 Thread Phil Wilson
Sequence the custom action before files get copied so yes, somewhere early
in the sequence is fine.

Phil Wilson 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexander
Biryukov
Sent: Monday, August 07, 2006 1:28 AM
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to show FilesInUse dialog _always_ ?


It's good, but how to catch file in use moment (before any file copy
operation) to show dialog  ?

Maybe somehow that :

InstallExecuteSequence
Custom Action=MyFileInUseCheck Before=InstallFiles /
/InstallExecuteSequence

MyFileInUseCheck is custom action, that check file and show FilesInUse
dialog, when file locked.

It will work ?

--
Alexander Biryukov

On Mon, 07 Aug 2006 00:21:58 +0400, Phil Wilson [EMAIL PROTECTED]
wrote:

 The FilesInUse dialog can be shown from a custom action with 
 MsiProcessMessage (...INSTALLMESSAGE_FILESINUSE...), this vbscript 
 shows the general idea:

 option explicit
 dim inst, rec, res
 const tryagain=4
 const DoExit = 2
 const Docontinue =1
 set inst = CreateObject(WindowsInstaller.Installer)
 set rec=inst.CreateRecord (3)
 rec.StringData(1) = myfile.exe
 rec.StringData(2) = Please use Task Manager to terminate the program

 Do
 res = Session.Message (H0500, rec) ' check for the program 
 terminated

 loop until res  tryagain


 Phil Wilson

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Alexander Biryukov
 Sent: Friday, August 04, 2006 1:19 PM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] How to show FilesInUse dialog _always_ ?

 Greetings all,

 We need for doing minor upgrades of our software product on servers, 
 that is _not acceptably_ to reboot.
 Some of upgrades affect on running windows services, but Windows 
 Installer does not show FilesInUse dialog for this, instead show 
 Please reboot at final of installation. In this situation user not 
 be aware that services/files in use and will be updated, for manually 
 prevent reboot.

 The Windows Installer documentation says :
 -
 If you expect the installer to display a FilesInUseDialog, but it does 
 not, this may be due to one of the following reasons:
 - The files in use are not executables.
 - The installer is not actually trying to install those files.
 - The process holding those files is the process invoking the 
 installation.
 - The process holding those files is one that does not have a window 
 with a title associated with it.
 -

 Is exist a way to display FilesInUse dialog (or some custom dialog 
 with file
 names) always, for _all_ files in use which should be updated ?

 --
 Alexander Biryukov

 --
 --- Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to share 
 your opinions on IT  business topics through brief surveys -- and 
 earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEV
 DEV ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 --
 --- Take Surveys. Earn Cash. Influence the Future of IT Join 
 SourceForge.net's Techsay panel and you'll get the chance to share 
 your opinions on IT  business topics through brief surveys -- and 
 earn cash 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEV
 DEV ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



-
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's
Techsay panel and you'll get the chance to share your opinions on IT 
business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to show FilesInUse dialog _always_ ?

2006-08-07 Thread Alexander Biryukov

It's good, but how to catch file in use moment (before any file copy  
operation) to show dialog  ?

Maybe somehow that :

InstallExecuteSequence
Custom Action=MyFileInUseCheck Before=InstallFiles /
/InstallExecuteSequence

MyFileInUseCheck is custom action, that check file and show FilesInUse  
dialog, when file locked.

It will work ?

--
Alexander Biryukov

On Mon, 07 Aug 2006 00:21:58 +0400, Phil Wilson [EMAIL PROTECTED]  
wrote:

 The FilesInUse dialog can be shown from a custom action with
 MsiProcessMessage (...INSTALLMESSAGE_FILESINUSE...), this vbscript shows  
 the
 general idea:

 option explicit
 dim inst, rec, res
 const tryagain=4
 const DoExit = 2
 const Docontinue =1
 set inst = CreateObject(WindowsInstaller.Installer)
 set rec=inst.CreateRecord (3)
 rec.StringData(1) = myfile.exe
 rec.StringData(2) = Please use Task Manager to terminate the program

 Do
 res = Session.Message (H0500, rec)
 ' check for the program terminated

 loop until res  tryagain


 Phil Wilson

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Alexander
 Biryukov
 Sent: Friday, August 04, 2006 1:19 PM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] How to show FilesInUse dialog _always_ ?

 Greetings all,

 We need for doing minor upgrades of our software product on servers,  
 that is
 _not acceptably_ to reboot.
 Some of upgrades affect on running windows services, but Windows  
 Installer
 does not show FilesInUse dialog for this, instead show Please reboot at
 final of installation. In this situation user not be aware that
 services/files in use and will be updated, for manually prevent reboot.

 The Windows Installer documentation says :
 -
 If you expect the installer to display a FilesInUseDialog, but it does  
 not,
 this may be due to one of the following reasons:
 - The files in use are not executables.
 - The installer is not actually trying to install those files.
 - The process holding those files is the process invoking the  
 installation.
 - The process holding those files is one that does not have a window  
 with a
 title associated with it.
 -

 Is exist a way to display FilesInUse dialog (or some custom dialog with  
 file
 names) always, for _all_ files in use which should be updated ?

 --
 Alexander Biryukov

 -
 Take Surveys. Earn Cash. Influence the Future of IT Join  
 SourceForge.net's
 Techsay panel and you'll get the chance to share your opinions on IT 
 business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share  
 your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to show FilesInUse dialog _always_ ?

2006-08-05 Thread Bob Arnson
Alexander Biryukov wrote:
 Unfortunately, ServiceControl with Stop='install' always stops service, it  
 is not dependent on that updating service or not. 
True, but better to stop more services than reboot.
 Also it does not solve the problem with locked non executable files.
   
MSI doesn't support that -- the FilesInUse dialog is geared toward users 
who can close their apps, not arbitrary executables.

WiX v3 includes a CloseApplications custom action and you can use to 
shut down arbitrary executables. I'm not sure how well it works with 
services, however, so you might want to experiment.

-- 
sig://boB
http://bobs.org


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users