[wix-users] Uninstaller does not remove 2 of the 3 main features... [P]

Steven Ogilvie Steven.Ogilvie at titus.com
Thu Nov 3 12:36:42 PDT 2016


Classification: Public
I looked at the log but didn't see any issues...




This message has been marked as Public by Steven Ogilvie on November 3, 2016 3:36:40 PM.
The above classification labels were added to the message by TITUS Message Classification.For More information visit www.titus.com.
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Rob Mensching
Sent: November 3, 2016 3:26 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Uninstaller does not remove 2 of the 3 main features...

A verbose log file tells no lies.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Steve Ogilvie
Sent: Thursday, November 3, 2016 12:25 PM
To: WiX User List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Uninstaller does not remove 2 of the 3 main features...

Hi all

I have a new installer that will install 3 features based on what the user selects in the Bootstrapper (I have 3 checkboxes that determines which feature to install in the MSI)

The 3 features are being installed properly, but on uninstall it is not removing all the features (i.e. it installs all the features but does not remove all the features)

The MSI features are:


<Property Id="DIRECTORY_PATH_CLIENT_TMC" Secure="yes">

      <RegistrySearch Id="Search_DIRECTORY_PATH_CLIENT_TMC"

                      Key='SOFTWARE\TITUS\TMC'

                      Name='InstallPath'

                      Root='HKLM'

                      Type='directory'

                      Win64='no'/>

    </Property>

    <Property Id="DIRECTORY_PATH_CLIENT_TCD" Secure="yes">

      <RegistrySearch Id="Search_DIRECTORY_PATH_CLIENT_TCD"

                      Key='SOFTWARE\TITUS\TCD'

                      Name='InstallPath'

                      Root='HKLM'

                      Type='directory'

                      Win64='no'/>

    </Property>

    <Property Id="DIRECTORY_PATH_CLIENT_TCO" Secure="yes">

      <RegistrySearch Id="Search_DIRECTORY_PATH_CLIENT_TCO"

                      Key='SOFTWARE\TITUS\TCO'

                      Name='InstallPath'

                      Root='HKLM'

                      Type='directory'

                      Win64='no'/>

    </Property>

<Property Id="INSTALLCLIENT1CHECKBOX" Secure="yes" Value="1">
      <RegistrySearch Id="GetFeatureSelectedRegValueForTMC"
                      Root="HKLM"
                      Key="SOFTWARE\TITUS\TMC"
                      Name="FeatureSelected"
                      Type="raw"
                      Win64="no"/>
    </Property>
    <Property Id="INSTALLCLIENT2CHECKBOX" Secure="yes" Value="1">
      <RegistrySearch Id="GetFeatureSelectedRegValueForTCO"
                      Root="HKLM"
                      Key="SOFTWARE\TITUS\TCO"
                      Name="FeatureSelected"
                      Type="raw"
                      Win64="no"/>
    </Property>
    <Property Id="INSTALLCLIENT3CHECKBOX" Secure="yes" Value="1">
      <RegistrySearch Id="GetFeatureSelectedRegValueForTCD"
                      Root="HKLM"
                      Key="SOFTWARE\TITUS\TCD"
                      Name="FeatureSelected"
                      Type="raw"
                      Win64="no"/>
    </Property>

    <Property Id="TITUS_FOUNDPRODUCTPLATFORM" Secure="yes">
      <RegistrySearch Id="Search_TITUS_FOUNDPRODUCTPLATFORM"
                      Key='SOFTWARE\TITUS\PEP'
                      Name='ProductBitness'
                      Root='HKLM'
                      Type='raw'
                      Win64='no'/>
    </Property>


<!-- TMC client -->

    <Feature Id="Feature_TMC"

             Title="TITUS Message Classification Client"

             Description="The TITUS Client software is required on all end user systems."

             Level="0"

             Display="expand"

             ConfigurableDirectory="DIRECTORY_PATH_CLIENT_TMC">

      <ComponentGroupRef Id="ProductComponents_TMC" />

      <ComponentRef Id="Cmp_RemoveDPCDir_TMC"/>

      <Condition Level="1"><![CDATA[INSTALLCLIENT1CHECKBOX=1 AND TITUS_FOUNDPRODUCTPLATFORM="x86"]]></Condition>

    </Feature>



    <Feature Id="Feature_TMCSharedFiles"

             Title="TITUS TMC Common Files"

             Description="The TITUS Client software is required on all end user systems."

             Level="0"

             Display="hidden"

             ConfigurableDirectory="DIRECTORY_PATH_SHARED">

      <ComponentRef Id="cmp_TL_DsoFileHooks"/>

      <ComponentRef Id="cmp_TL_DsoFileHooks_x64"/>

      <Condition Level="1"><![CDATA[INSTALLCLIENT1CHECKBOX=1 AND TITUS_FOUNDPRODUCTPLATFORM="x86"]]></Condition>

    </Feature>



    <!-- TCO client -->

    <Feature Id="Feature_TCO"

             Title="TITUS Classification for Microsoft Office"

             Description="The TITUS Client software is required on all end user systems."

             Level="0"

             Display="expand"

             ConfigurableDirectory="DIRECTORY_PATH_CLIENT_TCO">

      <ComponentGroupRef Id="ProductComponents_TCO" />

      <ComponentRef Id="Cmp_RemoveDPCDir_TCO"/>

      <Condition Level="1"><![CDATA[INSTALLCLIENT2CHECKBOX=1 AND TITUS_FOUNDPRODUCTPLATFORM="x86"]]></Condition>

    </Feature>



    <!-- TCD client -->

    <Feature Id="Feature_TCD"

             Title="TITUS Desktop Classification Client"

             Description="The TITUS Client software is required on all end user systems."

             Level="0"

             Display="expand"

             ConfigurableDirectory="DIRECTORY_PATH_CLIENT_TCD">

      <ComponentGroupRef Id="ProductComponents_TCD"/>

      <ComponentRef Id="Cmp_RemoveDPCDir_TCD"/>

      <ComponentRef Id="cmp_FileWatcherSDF"/>

      <ComponentRef Id="cmp_TitusServices"/>

      <Condition Level="1"><![CDATA[INSTALLCLIENT3CHECKBOX=1 AND NOT VersionNT64]]></Condition>

    </Feature>

I am saving the properties to the registry so on uninstall it should get that info, i.e.
DIRECTORY_PATH_CLIENT_TXX
INSTALLCLIENTXCHECKBOX
TITUS_FOUNDPRODUCTPLATFORM

The uninstalls my product but leaves behind the 2 main first features Feature_TMC Feature_TCO

But every other feature is removed...

Is there anything I am missing?

Thanks,

Steve


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list