Did this ever get resolved?

On Fri, Nov 20, 2009 at 1:01 PM, Sharat Janapareddy <
sharat.janapare...@microsoft.com> wrote:

> 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
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to