If I haven't released any patches to my customers yet, I first try an
"empty" PatchFamily. When the PatchFamily doesn't have any children "...Ref"
elements in it, it INCLUDES EVERYTHING to ensure that I have the basic
upgrade functionality intact.

After that, I add references to include the fragments with the things I need
included if I have a long term plan to support multiple patch families
(HINT: most products don't ever need more than one PatchFamily that
encompasses everything).

-----Original Message-----
From: Sharat Janapareddy [mailto:sharat.janapare...@microsoft.com] 
Sent: Friday, November 20, 2009 2:50 PM
To: Heath Stewart; General discussion for Windows Installer XML toolset.
Cc: Anandha Ganesan; Clive Eastwood
Subject: Re: [WiX-users] How to patch standard actions?

Nope, I don't see them being updated. I am checking this with Orca. Even the
custom actions that I got working, I had to add them to a patch family.

Thanks,

Sharat Janapareddy
~ 40269


-----Original Message-----
From: Heath Stewart 
Sent: Friday, November 20, 2009 2:34 PM
To: Sharat Janapareddy; General discussion for Windows Installer XML
toolset.
Cc: Clive Eastwood; Anandha Ganesan
Subject: RE: How to patch standard actions?

If these are added to the upgrade build, they should be pulled in
automatically. Is that not happening?

Heath Stewart
Deployment Technology Group, Microsoft
http://blogs.msdn.com/heaths

-----Original Message-----
From: Sharat Janapareddy 
Sent: Friday, November 20, 2009 2:25 PM
To: General discussion for Windows Installer XML toolset.
Cc: Clive Eastwood; Anandha Ganesan; Heath Stewart
Subject: How to patch standard actions?

FYI, I was able to figure out how to include CustomActions in the patch. But
the one thing that I don't see in the WIX documentation is how to patch
Standard Actions.

Thanks,

Sharat Janapareddy
~ 40269

-----Original Message-----
From: Sharat Janapareddy [mailto:sharat.janapare...@microsoft.com] 
Sent: Friday, November 20, 2009 1:02 PM
To: General discussion for Windows Installer XML toolset.
Cc: Clive Eastwood; Anandha Ganesan
Subject: [WiX-users] How to patch elements in InstallExecuteSequence table?

We made some changes to the MSI installer that was released this year and we
are releasing the SP soon. One of those changes include adding support to
uninstall the patches. For this, we modified some Custom elements in
InstallExecuteSequence table of the MSI generating WXS file. (I am not sure
if these are the same as CustomActions though!)

Anyway, how do we specify in the Patch.wxs that these Custom elements need
to be patched?

For instance, here's the change which says that we should not run this
action when uninstalling the patch - <Custom Action='_GetServiceState'
After='_SetADName'><![CDATA[Installed And REMOVE<>"ALL" And Not
MSIPATCHREMOVE ]]></Custom>

And here's how I listed it in the Patch.wxs - <PatchFamily
Id="AgentPatchFamily" Version="1.0.0.1" Supersede="yes">
  <!-- Nothing here as of now -->
  <CustomActionRef Id="_GetServiceState "/> </PatchFamily>

I have also tried this way -
<Fragment>
    <InstallExecuteSequence>
      <Custom Action="_GetServiceState" After="_SetADName" />
      <InstallServices Sequence="5800" />
      <DeleteServices Sequence="2000" />
    </InstallExecuteSequence>
</Fragment>

However in both the cases, when I generated the patch and applied it to the
release MSI through ORCA, I don't see this change at all! Another similar
issue is with InstallServices and DeleteServices elements of the same
InstallExecuteSequence table.

Can someone tell me if this is the right way to do this?

Thanks,

Sharat Janapareddy
~ 40269

----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to