So I guess my question is how do I ignore those dialogs to not show up
during an install? 

 

>From what I read, ignoring the MSIRESTARTMANAGERCONTROL during a Full UI
install has no effect. 

 

The other method I tried was removing the dialogs completely, which
resulted in error 2803...however dismissing the error allowed the
install to go through fine. Is there any way to remove all references of
the FilesInUse and MsiRmFilesInUse to avoid error 2803? I can't seem to
find any more references anywhere in my Wix package.

 

From: Wilson, Phil [via Windows Installer XML (WiX) toolset]
[mailto:ml-node+4430757-1194437...@n2.nabble.com] 
Sent: Wednesday, January 20, 2010 4:43 PM
To: Ashwin Chandra
Subject: Re: [WiX-users] FileInUse and MsiRMFilesInUse dialogs

 

The differences are because Windows 7 has an MSI engine that has better
detection of files that are in use (using the Restart Manager). All
other things being equal, you'd expect the XP install to ask for a
reboot at the end (because it can't detect all in-use situations) and
the Windows 7 install to ask to shut things down (because it can detect
them). If your exe is a tray app or otherwise has no top level window
this is exactly the kind of thing you can expect. 

So: 
1) If the in-use situation is correct and you ignore it you'll need to
reboot at the end of the install. That counts as having the service and
exe shut down, unless you're in the camp that thinks reboots are better
solutions than temporary shutdowns of your apps. If you really want to
play nice then integrate with the Restart Manager and your exe will be
automatically shut down and restarted, again assuming you want to avoid
reboots. 

2) Different functionality, different UI. 

3) 2803 means "Dialog View did not find a record for the dialog" so that
may mean there's reference that is still looking for it. 

4) See opening remarks. Ignore the MSIRESTARTMANAGERCONTROL property ;=)


Phil Wilson 


-----Original Message----- 
From: achandrapano [mailto:[hidden email]
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4430757&i=0> ] 
Sent: Wednesday, January 20, 2010 3:16 PM 
To: [hidden email]
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4430757&i=1>  
Subject: [WiX-users] FileInUse and MsiRMFilesInUse dialogs 


Hello, 
I have an application that is wrapped in an MSI. It contains 1 service
and 1 
exectuable that is 'in use' during an upgrade. 

On Windows XP, I do not get any notice/popup that the service and
executable 
is in use with any dialog to ask me if i want to ignore or shut it down.


On Windows 7, a popup comes up twice during the validation portion
telling 
me that the service and executable is in use and it asks me via radio 
buttons if I want to shut it down now or ignore it and reboot later. 

I have a couple of questions: 

1. Is there any way to suppress this prompt during a Full UI install? I
do 
not wish to have my service and exe shutdown at all during the install. 
2. What is the difference between FilesInUse and MsiRMFilesInUse? 
3. I tried removing both these dialogs from my UI sequence in 
PanoWixUI_Mondo.wxs but then I received a 2803 error during upgrade. 
4. Why does windows XP not show this dialog (which is what I want) and 
Windows 7 does? 


Thanks for any help! 

-- 
View this message in context:
http://n2.nabble.com/FileInUse-and-MsiRMFilesInUse-dialogs-tp4430290p443
0290.html
Sent from the wix-users mailing list archive at Nabble.com. 

------------------------------------------------------------------------
------ 
Throughout its 18-year history, RSA Conference consistently attracts the

world's best and brightest in the field, creating opportunities for
Conference 
attendees to learn about information security's most important issues
through 
interactions with peers, luminaries and emerging and established
companies. 
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________ 
WiX-users mailing list 
[hidden email]
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4430757&i=2>  
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 Portland House, Bressenden Place, London, SW1E 5BF
(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_i
d=77. You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail
[hidden email]
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4430757&i=3> .
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). 



------------------------------------------------------------------------
------ 
Throughout its 18-year history, RSA Conference consistently attracts the

world's best and brightest in the field, creating opportunities for
Conference 
attendees to learn about information security's most important issues
through 
interactions with peers, luminaries and emerging and established
companies. 
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________ 
WiX-users mailing list 
[hidden email]
<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4430757&i=4>  
https://lists.sourceforge.net/lists/listinfo/wix-users



________________________________

View message @
http://n2.nabble.com/FileInUse-and-MsiRMFilesInUse-dialogs-tp4430290p443
0757.html 
To unsubscribe from FileInUse and MsiRMFilesInUse dialogs, click here
< (link removed) 
ub2xvZ2ljLmNvbXw0NDMwMjkwfDUxNzIzNDMyOQ==> . 

 


-- 
View this message in context: 
http://n2.nabble.com/FileInUse-and-MsiRMFilesInUse-dialogs-tp4430290p4430934.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to