[wix-users] installation procedure

Blair Murri osito at live.com
Tue Oct 24 13:04:03 PDT 2017


RemoveExistingProducts removes the products who's ProductCodes are found in the union of all properties found in the rows of the Upgrade table not marked “detect only”. The property values are semicolon-delimited lists. If you add ProductCodes to the list, they will also be removed. If, OTOH, you remove ProductCodes from the list, they will be ignored.





Sent from my Windows 10 phone



From: abi navigator via wix-users<mailto:wix-users at lists.wixtoolset.org>
Sent: Tuesday, October 24, 2017 2:12 AM
To: WiX Toolset Users Mailing List<mailto:wix-users at lists.wixtoolset.org>
Cc: abi navigator<mailto:abi.navigator at gmail.com>
Subject: Re: [wix-users] installation procedure



What about the uninstalling? What I want to achieve is that only version
that resides in the same directory is
 uninstalled and all other versions are preserved (side by side
installation support). As far as I can see RemoveExistingProducts
uninstalls all versions
and there is no option to uninstall specific one. Is there any other
possibility how to do it?

For each product  Product/@Id is auto generated, UpgradeCode guid is a
constant and version is modified.

Thanks for support.

On Tue, Oct 24, 2017 at 12:09 AM, Joseph L. Casale via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of abi navigator via wix-users
> Sent: Monday, October 23, 2017 3:49 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: abi navigator <abi.navigator at gmail.com>
> Subject: Re: [wix-users] installation procedure
>
> > I've tried to detect if selected installation directory already has a
> > specific file (from previous installation) and then use
> > RemoveExistingProducts
> > action.
> > Here is my code snippet:
> > ...
> > <Property Id = "FILE_EXISTS">
> >   <DirectorySearch Id="MyInstallationFolder" Path="[INSTALL_FOLDER]">
> >     <FileSearch Name="MyApp.exe"/>
> >   </DirectorySearch>
> > </Property>
> > ...
> > where INSTALL_FOLDER is an installation folder, selected by the user.
> > But it seems that Property is evaluated even before installation folder
> is
> > known.
> > So how can the property be evaluated before/after InstallInit?
>
> https://stackoverflow.com/questions/7354619/wix-how-to-
> do-a-directorysearch-in-a-custom-installation-location
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>

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



More information about the wix-users mailing list