{"id":18,"date":"2007-08-05T07:10:00","date_gmt":"2007-08-05T07:10:00","guid":{"rendered":"http:\/\/www.mohanjith.net\/wordpress\/?p=18"},"modified":"2007-08-05T07:10:00","modified_gmt":"2007-08-05T07:10:00","slug":"makensis-on-linux","status":"publish","type":"post","link":"https:\/\/mohanjith.net\/blog\/2007\/08\/makensis-on-linux.html","title":{"rendered":"MakeNSIS on Linux"},"content":{"rendered":"<p>I was supposed to create a Windows installer recently, but I just hate using Windows. NSIS was the chosen installer creator. I was lucky to be able to compile the NSIS installer on Linux.<\/p>\n<p>The installer just ran without any glitches on wine. So testing the installer as not an issue as well.<\/p>\n<p>Let me guide you through installing NSIS on Linux and how to use it on Linux.<\/p>\n<p><span style=\"font-weight: bold;font-size:130%;\" >Requires<\/span><\/p>\n<ol>\n<li>Python<\/li>\n<li>SCons<\/li>\n<\/ol>\n<p><span style=\"font-size:130%;\"><span style=\"font-weight: bold;\">Steps<\/span><\/span><\/p>\n<ol><\/p>\n<li>Download both the release and the source of x.xx.<\/li>\n<p><code>nsis-x.xx.zip nsis-x-xx-src.tar.gz<\/code><\/p>\n<li>Extract both into one parent parent directory<\/li>\n<p><code>&lt;parent&gt;<br \/>|<br \/>+-- nsis-x.xx<br \/>+-- nsis-x.xx-src<\/code><\/p>\n<li>Change to the source directory<\/li>\n<p><code>$ cd nsis-x.xx-src<\/code><\/p>\n<li>Compile makensis using scon<\/li>\n<p><code>$ scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all<\/code><\/p>\n<li>Copy makensis to the release<\/li>\n<p><code>$ cp build\/release\/makensis\/makensis ..\/nsis-x.xx\/makensis<\/code><\/p>\n<li>Change to the &lt;parent&gt;<\/li>\n<p><code>$ cd ..<\/code><\/p>\n<li>Install &#8211; Copy makensis to the install location<\/li>\n<p><code>$ sudo cp -r nsis-x.xx\/* \/usr\/local\/share\/nsis\/<\/code><\/p>\n<li>Create the link from the bin directory to the makensis such that<br \/>makensis is accessible from the command line.<\/li>\n<p><code>$ sudo link \/usr\/local\/share\/nsis\/makensis \/usr\/bin\/makensis<\/code><\/p>\n<\/ol>\n<div id=\"fb-like\" style=\"\"><iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https:\/\/mohanjith.net\/blog\/2007\/08\/makensis-on-linux.html&amp;layout=standard&amp;show_faces=true&amp;width=300&amp;action=like&amp;font=&amp;colorscheme=light&amp;locale=en_US\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" style=\"border:none; overflow:hidden; width:300px; height:30px\"><\/iframe><\/div>","protected":false},"excerpt":{"rendered":"<p>I was supposed to create a Windows installer recently, but I just hate using Windows. NSIS was the chosen installer creator. I was lucky to be able to compile the NSIS installer on Linux. The installer just ran without any glitches on wine. So testing the installer as not an issue as well. Let me &#8230; <a title=\"MakeNSIS on Linux\" class=\"read-more\" href=\"https:\/\/mohanjith.net\/blog\/2007\/08\/makensis-on-linux.html\" aria-label=\"More on MakeNSIS on Linux\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[26,54,16],"tags":[338,366,328],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-linux","category-nsis","category-open-source","tag-linux","tag-nsis","tag-open-source"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5lUHm-i","jetpack_likes_enabled":false,"_links":{"self":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":0,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"wp:attachment":[{"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohanjith.net\/blog\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}