Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Check if File Exists

msiexpert created the topic: Check if File Exists
Using CreateInstall 4.

How can I check if a file exists at Program Folders\MySetup\Myprogram.exe?

applicationPackaging replied the topic: Re: Check if File Exists
For example,
you can use ‘Source Code’ command

macrox_setint( “mymacro”, fileexist( macrox_do(“#progfiles#\\MySetup\\Myprogram.exe”)))

After that you can use macro ‘mymacro’

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x