You can prevent a dialog from appearing during patching by adding a condition
of "not PATCH" in the appropriate place, depending on where its being shown
from (another dialog or the InstallUISequence). That should take effect, even
if you add the condition in the update (not original) MSI. 
There might be other ways too - I don't use the MSI UI myself.

-----Original Message-----
From: Farrukhw [mailto:farru...@gmail.com] 
Sent: 17 July 2012 14:11
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Patch to update version of installed product?

Peter,
I just tried this:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
  <Patch
      AllowRemoval="yes"
      Manufacturer="Farrukh"
      DisplayName="elcoCAD Patch"
      Description="elcoCAD Patch"
      Classification="Update"
       OptimizePatchSizeForLargeFiles="yes"
        >
    <Media Id="5000" Cabinet="RTM.cab" >
      <PatchBaseline Id="RTM"/>
   </Media>
    <PatchFamilyRef Id="elcoCAD" />

    <TargetProductCodes Replace="yes">
      <TargetProductCode Id="{8AFE6DB7-4732-4BD5-A9D2-1CF2C6CC9C13}" />
    </TargetProductCodes>

  </Patch>

  <Fragment>
    <PatchFamily Id="elcoCAD" Version='1.0.0.0' Supersede='yes'>
      <PropertyRef Id='ProductVersion'/>
    </PatchFamily>
  </Fragment>
</Wix>

and it worked. It changed the version that 4 digit version successfully. But
only problem I faced is when I launched the msp file, it showed Customize
Dialog (Repair, Reinstall, Uninstall) and I have to click on Repair but it
did the job.

i want to get rid of that Customize Dialog and wanted that this should do the
job directly.

Any ideas if I can skip any Dialogs during Patch installation?

--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Patch-to-update
-version-of-installed-product-tp7579458p7579472.html
Sent from the wix-users mailing list archive at Nabble.com.

-----------------------------------------------------------------------------
-
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat
landscape has changed and how IT managers can respond. Discussions will
include endpoint security, mobile security and the latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to