{"id":7605,"date":"2023-06-08T14:00:01","date_gmt":"2023-06-08T14:00:01","guid":{"rendered":"https:\/\/www.samlogic.net\/blog\/?p=7605"},"modified":"2023-06-18T13:13:46","modified_gmt":"2023-06-18T13:13:46","slug":"how-to-run-a-program-after-installation","status":"publish","type":"post","link":"https:\/\/www.samlogic.net\/blog\/2023\/06\/how-to-run-a-program-after-installation\/","title":{"rendered":"How to run a program after an installation"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignright\" src=\"https:\/\/www.samlogic.net\/pad\/icons\/visual_installer.gif\" border=\"0\" alt=\"\">Sometimes there is a need to start a program immediately after the installation. This is possible with our installation tool <a href=\"https:\/\/www.samlogic.net\/visual-installer\/visual-installer.htm\" rel=\"noopener\" target=\"_blank\">Visual Installer<\/a>.<\/p>\n<p>If the program that you want to run is included in the installation project&#8217;s file list, you can follow the steps below:<\/p>\n<p><strong>1.<\/strong> Select the program file in the installation project&#8217;s file list.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.samlogic.net\/blog\/images\/product-visual-installer\/vi-run-program-after-1.png\" alt=\"File list\" width=\"693\" height=\"74\" \/><\/p>\n<p><strong>2.<\/strong> Right click over the selection.<\/p>\n<p><strong>3.<\/strong> Choose the <strong>Run this program after installation<\/strong> menu item in the local menu that appear.<\/p>\n<p><strong>4.<\/strong> The dialog box below is now shown:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.samlogic.net\/blog\/images\/product-visual-installer\/vi-run-program-after-3.png\" alt=\"Run program after installation\" width=\"498\" height=\"507\" \/><\/p>\n<p><strong>5.<\/strong> Confirm that the file path (at <strong>Filename<\/strong>) is ok. <\/p>\n<p><strong>6.<\/strong> If you need to send a parameter to the program, enter it at <strong>Parameters<\/strong>.<\/p>\n<p><strong>7.<\/strong> Check the other settings. Change if you need.<\/p>\n<p><strong>8.<\/strong> Click on <strong>OK<\/strong>.<\/p>\n<p>Now the program file that you selected in the steps above will be run when the installation is completed. It will be run after the last dialog box in the installation is closed.<\/p>\n<p>You can open the <strong>Run program after installation<\/strong> dialog box (that is shown at step 4 above) also by choosing the menu item <strong>Run program after installation<\/strong> in Visual Installer\u00b4s <strong>Special<\/strong> menu. The same dialog box will be shown. But there is one difference; if you open the dialog box this way, the file path at <strong>Filename<\/strong> will not pre-filled. You need to enter it manually.<\/p>\n<p>The program that you want to run after the installation does not need to exist in the file list. But if you want to run a program outside your setup package, you need to be careful and make sure that it exists at the specified location.<\/p>\n<p><strong>See also<\/strong><br \/>\n<strong><span style=\"color: #ff0000;\">&gt;<\/span><\/strong> <a href=\"https:\/\/www.samlogic.net\/blog\/2023\/06\/how-to-show-a-document-after-an-installation\/\">How to show a document after an installation<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes there is a need to start a program immediately after the installation. This is possible with our installation tool Visual Installer. If the program that you want to run is included in the installation project&#8217;s file list, you can follow the steps below: 1. Select the program file in the installation project&#8217;s file list. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.samlogic.net\/blog\/2023\/06\/how-to-run-a-program-after-installation\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to run a program after an installation&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[15],"tags":[],"_links":{"self":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/7605"}],"collection":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/comments?post=7605"}],"version-history":[{"count":32,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/7605\/revisions"}],"predecessor-version":[{"id":7670,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/posts\/7605\/revisions\/7670"}],"wp:attachment":[{"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/media?parent=7605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/categories?post=7605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.samlogic.net\/blog\/wp-json\/wp\/v2\/tags?post=7605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}