Re: [WiX-users] Question about InstallValidation for uninstall

2010-09-22 Thread Blair
In case no one answered, EmbeddedUI is the most effective way.

-Original Message-
From: Elfe Xu [mailto:elf...@microsoft.com] 
Sent: Thursday, August 26, 2010 6:33 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Question about InstallValidation for uninstall


Thanks Phil.

My question is: is there anyway for me to hide the MsiRMFilesInUse dialog,
and do the close/restart application automatically? I want to use the
Restart Mananger rather than implement start/stop functions by myself, but I
don't want user to see this dialog.

Thanks,
-Elfe

-- 
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Question-about
-InstallValidation-for-uninstall-tp5464620p5467912.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Question about InstallValidation for uninstall

2010-08-26 Thread Elfe Xu

Thanks Phil.

My question is: is there anyway for me to hide the MsiRMFilesInUse dialog,
and do the close/restart application automatically? I want to use the
Restart Mananger rather than implement start/stop functions by myself, but I
don't want user to see this dialog.

Thanks,
-Elfe

-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Question-about-InstallValidation-for-uninstall-tp5464620p5467912.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Question about InstallValidation for uninstall

2010-08-26 Thread Wilson, Phil
That's a fair description of MsiRMFilesInUse:

http://msdn.microsoft.com/en-us/library/aa370379(VS.85).aspx 

Apps should integrate with Restart Manager to get automatic restart, and they 
get an oppurtunity to save state and restart where they left off. 

Phil Wilson 

-Original Message-
From: Elfe Xu [mailto:elf...@microsoft.com] 
Sent: Thursday, August 26, 2010 12:51 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Question about InstallValidation for uninstall

Hi all,
When uninstall a product, during InstallValidation, MSI will check if need to 
close any dependent applications. If yes, will show a message box:
The following applications should be lcosed before continuing the install:
...
And let user choose

(1)Automatically close applications and attempt to restart them after setup 
is complete.

(2)Do not close applications. (A reboot will be required)

Our product is depends on another windows service, but I don't want to show 
this dialog.
Of course I can schedule an action to close the application before 
installvalidation, but I do not want to do this, because then I need to handle 
the restart for various cases (cancel before/after installinitialize, install 
success/fail etc).

Is there any way that we don't show the dialog, but force to use option (1)?

Thanks,
-Elfe

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Question about InstallValidation for uninstall

2010-08-26 Thread Elfe Xu
Hi all,
When uninstall a product, during InstallValidation, MSI will check if need to 
close any dependent applications. If yes, will show a message box:
The following applications should be lcosed before continuing the install:
...
And let user choose

(1)Automatically close applications and attempt to restart them after setup 
is complete.

(2)Do not close applications. (A reboot will be required)

Our product is depends on another windows service, but I don't want to show 
this dialog.
Of course I can schedule an action to close the application before 
installvalidation, but I do not want to do this, because then I need to handle 
the restart for various cases (cancel before/after installinitialize, install 
success/fail etc).

Is there any way that we don't show the dialog, but force to use option (1)?

Thanks,
-Elfe

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users