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

DevOps Architect - Mentor - Coach - Trainer at Cotocus
Email -
CV -

Total, Over 15 years of extensive experience working with more than 8 software MNCs for software development/maintenance and production environments involved in continuous improvement and automating entire life cycle using latest devops tools and techniques from design and architecture, through implementation, deployment, and successful operations. Also, helping more than 70 software organizations globally, providing coaching, mentoring and consulting in devops, CICD, cloud, containers and operations.

I help software organization to improve a quality of the software, reducing the software development/operational cost and immediate feedback/monitoring. Have in-depth working experience in following domains with real project implementation.

- Test Driven DevOps Approach
- Continuous Integration
- Continuous Delivery
- Continuous Deployment
- Continuous Inspection
- Technical Debt Reduction
- Containerization/Micro Services Using Kubernetes & Docker
- Cloud Migration using AWS
- Production Monitoring & Postmortem
Rajesh Kumar