A patch works by transforming the installed and cached MSI with the patch and
then running a repair on the resulting MSI. That's why you see the MSI
apparently installing again.
Altering the condition to NOT REMOVE AND NOT PATCH in the patch sounds like a
reasonable fix, if you're certain that the condition that required the reboot
won't occur again. 

-----Original Message-----
From: abhijit chakraborty [mailto:abhi.chak.ju...@gmail.com] 
Sent: 16 October 2012 11:23
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Patch installation asks for a reboot

Hi,
We are creating a patch on top of already shipped product.

In the product msi we schedule a reboot like <ScheduleReboot
sequence=AfterInstallFinalize>NOT REMOVE</ScheduleReboot>

It appears while installing the patch which targets the above msi, it reruns
the msi and a reboot gets scheduled.

Is there any way we can avoid the ScheduleReboot while installing the patch?

Will changing the schedule reboot condition in product msi to something like
*NOT REMOVE AND NOT PATCH* or, *NOT REMOVE AND NOT OLDERPRODUCTFOUND* help?

While re-running the msi installsequence does the patch pick up the actions
from already installed msi i.e is it runtime event?
Or, the msi installsequence run by the patch is determined at compile time
(I.e. if I change the condition for reboot in the product msi will it be
honored by the patch)?

Regards
Abhijit
-----------------------------------------------------------------------------
-
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly what is
happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at
no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to