Kalani's Tech Blog

This blog contains stuff mainly related to Information Technology

Already a Member? Log In to Your Account
This blog contains stuff mainly related to Information Technology
Added: February 22, 2010
Authority: 31.3137
Type: Blog
Language: English
Category: Programming
  Analytics :: more
   Latest Posts :: more

NSIS - How to Write the Uninstaller

If you know how to create an installer using NSIS, you'll probably want to know how to create the uninstaller too :) So you have to write a section named "Uninstall" inside your .nsi script file. section "Uninstall" SetShellVarContext all Delete "$DESKTOPYour Application.lnk" RMDir /r "$SMPROGRAMSYourApp" RMDir /r "$INSTDIR" Delete $INSTDIRuninstall.exe DeleteRegKey HKLM

NSIS - How to Embed Other Installers in Your Installer

Sometimes you may want to embed some other installer in your installer. As an example if you need Java as a prerequisite then you can embed Java installation inside your installer. Then it will run the Java installation before installing your application, when you run your installer.  So let's write a section to embed JRE installer in your installer Section "jre" SECJRE File "jre-6u14-

NSIS - How to Detect Whether Java is Installed in the System

While writing my installer I wanted to install JRE (embed JRE installer in my installer) only if Java is not installed already. So I had to detect whether Java is already installed. My previous post on NSIS points to a quick start guide (in Harshani



  Related Blogs
Language: English
Language: English
Language: English
Language: English
Language: English
Language: English
Language: English
Language: English
Language: English
© 2006-2013 OnToplist.com, All Rights Reserved