Hi Keith,

I am not running silently and the Property and the removal of the dialogs
worked for my Windows 7 installation, on Windows 8 I am still getting the
Restart at the very end, when the MSI terminates (The last dialog closes).
It seems to be popping the reboot dialog from Windows Installer and not WIX.

Sorry I couldn't be of more help,
Marc


-----Original Message-----
From: keith.doug...@statcan.gc.ca [mailto:keith.doug...@statcan.gc.ca] 
Sent: April-24-2014 4:37 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Restart manager, services, unattended installs

Hi Marc, thanks for answering.

I am not sure the property you mentioned is the right one: the documentation
says that with it set the way you recommend the FilesInUse dialog will be
used. But since I do unattended/installs from a service, that doesn't sound
useful - since it seems that would freeze the installation waiting for the
input which can never come. Unless of course some other option (on the
command line? a property?) works to automatically answer the dialog with a
"shut down the process" type answer. But that's precisely what I don't see
explained - least of all on that page. Is it buried somewhere else? In fact
I already use the property in question, so maybe this is exactly opposite?
Hm, for some reason I have MSIRMSHUTDOWN = 2 set as well. Maybe that's
wrong.


As for the Restart Manager APIs, I found on my own aa373682, which explains
how to register applications to automatically be shutdown and restarted.
That sounds promising, but how do I do that from WiX? Util:RestartResource ?
I seem to have tried that in the past unsuccessfully.


Keith Douglas
Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6
Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6
keith.doug...@statcan.gc.ca Telephone | Téléphone 613-854-5589 Facsimile |
Télécopieur 613-951-4674 Government of Canada | Gouvernement du Canada

-----Original Message-----
From: Marc Beaudry [mailto:mbeau...@matrox.com]
Sent: April-24-14 4:04 PM
To: 'General discussion about the WiX toolset.'
Subject: Re: [WiX-users] Restart manager, services, unattended installs

Hi Keith, 

Far from being an expert, but I am currently dealing with similar issues:

Here is an Idea: 
<Property Id="MSIRESTARTMANAGERCONTROL" Value="Disable"/>

Also you can remove the FileInUse dialogs from within the WIX sources

And lastly take a look at this:
http://msdn.microsoft.com/en-us/library/aa373649(v=vs.85).aspx

Hope this helps,
Marc

-----Original Message-----
From: keith.doug...@statcan.gc.ca [mailto:keith.doug...@statcan.gc.ca]
Sent: April-24-2014 3:07 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Restart manager, services, unattended installs

We have a in house windows service installed by a WiX installer. Since our
users on these remote systems are not administrators, this install is
actually "brokered" by the same service. That is, msiexec is called by the
service itself, and the installation is called with /quiet /norestart as we
do not want the user to see anything nor to have the OS reboot immediately,
as the user will be confused/lose work, etc. by this. Unfortunately under
some circumstances the installation fails because the files from the service
(e.g. its EXE and its remoting proxy library) are in use. I don't care if it
takes a reboot to finish the installation; but I do want to ensure the files
are eventually updated and the service continues working. What is the most
reliable way to do this? I take it that if the installation were to be
manual the FilesInUse dialog would do the trick, but with the unattended,
SYSTEM brokered install this won't of course work. So what will "click OK"
there and do the shutdown and restart of the service? Is it passable as a
property in the installer itself?

Thanks,


Keith Douglas
Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6
Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6
keith.doug...@statcan.gc.ca Telephone | Téléphone 613-854-5589 Facsimile |
Télécopieur 613-951-4674 Government of Canada | Gouvernement du Canada


----------------------------------------------------------------------------
--
Start Your Social Network Today - Download eXo Platform Build your
Enterprise Intranet with eXo Platform Software Java Based Open Source
Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your
Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


----------------------------------------------------------------------------
--
Start Your Social Network Today - Download eXo Platform Build your
Enterprise Intranet with eXo Platform Software Java Based Open Source
Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your
Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

----------------------------------------------------------------------------
--
Start Your Social Network Today - Download eXo Platform Build your
Enterprise Intranet with eXo Platform Software Java Based Open Source
Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your
Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to