[wix-users] installation procedure

Joseph L. Casale jcasale at activenetwerx.com
Mon Oct 23 15:09:36 PDT 2017

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


More information about the wix-users mailing list