{"id":1477,"date":"2017-12-04T10:16:00","date_gmt":"2017-12-04T10:16:00","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=1477"},"modified":"2020-01-09T09:38:44","modified_gmt":"2020-01-09T09:38:44","slug":"check-if-file-exists","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/check-if-file-exists\/","title":{"rendered":"Check if File Exists"},"content":{"rendered":"<p><strong>msiexpert created the topic: Check if File Exists<\/strong><br \/>\nUsing CreateInstall 4.<\/p>\n<p>How can I check if a file exists at Program Folders\\MySetup\\Myprogram.exe?<\/p>\n<p><strong>applicationPackaging replied the topic: Re: Check if File Exists<\/strong><br \/>\nFor example,<br \/>\nyou can use &#8216;Source Code&#8217; command<\/p>\n<p>macrox_setint( &#8220;mymacro&#8221;, fileexist( macrox_do(&#8220;#progfiles#\\\\MySetup\\\\Myprogram.exe&#8221;)))<\/p>\n<p>After that you can use macro &#8216;mymacro&#8217;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[49],"tags":[349],"class_list":["post-1477","post","type-post","status-publish","format-standard","hentry","category-general","tag-file"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=1477"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1477\/revisions"}],"predecessor-version":[{"id":1478,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1477\/revisions\/1478"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=1477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=1477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=1477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}