[wix-users] Check for file

KONDURU Pavan Pavan.KONDURU at 3ds.com
Thu Feb 18 13:25:14 PST 2016


That's right.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Bob K.
Sent: Thursday, February 18, 2016 12:37 PM
To: 'WiX Toolset Users Mailing List'
Subject: Re: [wix-users] Check for file

Got it! Thank you.

So this is where I'll need a dll or script, correct?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of KONDURU Pavan
Sent: Thursday, February 18, 2016 3:16 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Check for file


<Property Id="FILEEXISTS" Secure="yes">
      <DirectorySearch Id="CheckFileDir"
                    Path="[SOMEPATH] "
                    Depth="0">
        <FileSearch Id="CheckFile"
                Name="[SOMEFILE]" />
      </DirectorySearch>
    </Property>

Now you can run a custom action based on this property.

--Pavan
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Bob K.
Sent: Thursday, February 18, 2016 12:13 PM
To: 'WiX Toolset Users Mailing List'
Subject: Re: [wix-users] Check for file

Yes, but I can't find where I can execute some code.  If the file does not exist I want to download and rename a file.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Greg Oliver
Sent: Thursday, February 18, 2016 2:55 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Check for file

Did you look into LaunchConditions, FileSearch?

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Bob K.
Sent: Thursday, February 18, 2016 11:26 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Check for file

I've searched the online documentation and I have the WiX 3.6 Developer's Guide, but I can't find the answer to this question.



I want to check for the existence of a file, and if it exists perform one operation, and if it's not do something else. Is this possible?






____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.firegian
t.com%2f&data=01%7c01%7cgolive%40microsoft.com%7cb216c30c515440b53cbc08d3389
95b74%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=x%2bGKbhugRaGbrQO6rzgQF7i
lQTbgQTZk1%2btvSsaQg%2bg%3d

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


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/ This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email and all attachments,

(iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.

For other languages, go to http://www.3ds.com/terms/email-disclaimer

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


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged.

If you are not one of the named recipients or have received this email in error,

(i) you should not read, disclose, or copy it,

(ii) please notify sender of your receipt by reply email and delete this email and all attachments,

(iii) Dassault Systemes does not accept or assume any liability or responsibility for any use of or reliance on this email.

For other languages, go to http://www.3ds.com/terms/email-disclaimer



More information about the wix-users mailing list