Below is my product.wxs file. I am still not able to get what I need.

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
  <?define ProductName = "temp"?>
  <?define ProductCode = "{GUID1}"?>
  <?define UpgradeCode = "{GUID2}"?>
  <?define ProductVersion = "3.2.1"?>
<Product Id="$(var.ProductCode)" Name="$(var.ProductName)" Language="1033"
Version="$(var.ProductVersion)" Manufacturer="Myfriday"
UpgradeCode="$(var.UpgradeCode)">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine"
/>
    <Media Id="1" Cabinet="cab1.cab" EmbedCab="yes"/>
 <Upgrade Id="$(var.UpgradeCode)">
    <UpgradeVersion OnlyDetect="yes" Minimum="1.0.0.0"
Property="NEWERVERSIONDETECTED" IncludeMinimum="no" />
    <UpgradeVersion OnlyDetect="no" Maximum="99.0.0.0"
Property="OLDERVERSIONBEINGUPGRADED" IncludeMaximum="no" />
</Upgrade>

  <MajorUpgrade Schedule="afterInstallFinalize"
AllowSameVersionUpgrades="yes" DowngradeErrorMessage="A later version of
[ProductName] is already installed. Setup will now exit."/>

<!-- <MediaTemplate /> -->
    <Feature Id="ProductFeature" Title="MyfridaySetup" Level="1">
     <ComponentGroupRef Id="MyWebWebComponents" />
     </Feature>

    <!-- Specify UI -->
    <UIRef Id="MyUI" />
    <Property Id="WIXUI_INSTALLDIR" Value="INETPUB" />
    <WixVariable Id="WixUIBannerBmp" Value="Banner.bmp" />
  <WixVariable Id="WixUIDialogBmp" Value="Dialog.bmp" />
</Product>

<Fragment>
    <!-- Will default to C:\ if that is the main disk-->
    <Directory Id="TARGETDIR" Name="SourceDir">
      <!-- Will reference to C:\inetpub-->
      <Directory Id="INETPUB" Name="Inetpub">
        <!-- Will reference to c:\Inetpub\Demowebsite-->
        <Directory Id="INSTALLFOLDER" Name="temp" />

      </Directory>
    </Directory>

</Fragment>
</Wix>

On Sun, Apr 19, 2015 at 4:26 PM, nithin v <geturnit...@gmail.com> wrote:

> Hi,
> I did the way you told but the update installation (3.2.0 to 3.2.1) just
> removed all my files and deleted whole folder, but if I see in the control
> panel the app name is present with new version number.
>
> What am I doing wrong? Keypath is yes for all the files. Is this affecting?
>
> Please help
>
> On Sun, Apr 19, 2015 at 3:56 PM, Nir Bar <nir....@panel-sw.com> wrote:
>
>> You should remove the explicit RemoveExistingProducts in
>> InstallExecuteSequence.
>> Instead put Schedule="afterInstallFinalize" in  MajorUpgrade
>> <http://wixtoolset.org/documentation/manual/v3/xsd/wix/majorupgrade.html>
>> element.
>>
>>
>>
>> -----
>> Nir Bar
>> Freelance Developer
>> Mail: nir....@panel-sw.com
>> Web: www.panel-sw.com
>>    - C++ On Windows, Linux and Embedded Platforms
>>    - WiX & InstallShield
>> --
>> View this message in context:
>> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Exclude-some-files-and-folders-in-later-version-installation-and-patch-tp7600003p7600008.html
>> Sent from the wix-users mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------------
>> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
>> Develop your own process in accordance with the BPMN 2 standard
>> Learn Process modeling best practices with Bonita BPM through live
>> exercises
>> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
>> event?utm_
>> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>
>
>
> --
> Thanks and Regards
> Nithin Venugopal
>



-- 
Thanks and Regards
Nithin Venugopal
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to