February 6, 2013

Mind Mapping Software - FreeMind

What is Mindmapping all about?
Mindmapping is the process of drawing up diagrams that show relations between various ideas, tasks or information. Concept-mapping and mind-mapping are similar in the way it connects concepts / topics via graphs but with a difference. This article provides crisp information on Mindmapping and a free tool that aids you to map your thoughts.

How is it useful?
When you are part of brainstorming sessions, by drawing mind maps you actually visualize your tasks and how each task can influence each other in a better way, making your brain remember more easily and/or come up with new ideas.
Further if you are running short of time to make an appealing presentation, a quick MindMap can portray your thought process. In general, it can be used to organize things more efficiently with a visual and structural touch.


FreeMind
Add caption
FreeMind
Freemind is an open source, cross-platform mind mapping software. You can download the latest installable for Windows or supported platform from here.
You may wonder why FreeMind, when you have several other mind mapping software?
I prefer FreeMind for the following features plus it lets you to play around only with keyboard. Yes, most of  the actions are mapped with a key board shortcut.


 Features:
  • Folding branches
  • Save files as XML -- in mm file format
  • Export hypertext to HTML and XHTML
  • Export document to PDF and OpenDocument
  • Exports image to PNG, JPEG and SVG
  • Icons on nodes
  • Clouds around branches
  • Graphical links connecting nodes
  • Search restricted to single branches
  • Web and file hyperlinks from nodes
  • FreeMind browser/player for web in Java or Flash
  • Transform maps using XSLT

  • Here is a simple Mind map created using FreeMind to represent few departments in a company
     Here you go with miniature (but zoomed-in for better view) of the image with the folded nodes.
    Never mind even if you are technically challenged, countable keyboard shortcuts will help you to do wonders.
     
    Thanks to Ram for jubilantly sharing this Cool Tool.

    February 4, 2013

    Ant: Did you know that using arg 'value' instead of arg 'line' will have an impact?

    We heavily use Ant scripts for Build automation and it came as a big surprise that using arg 'value' instead of arg 'line' will have an impact. This article will focus on the problem statement that had issues and the Solution for the same.

    Problem Statement:

    There were two issues as detailed below while creating the Tags the Ant Script.
     
    1) When the SVN authentication credentials are saved

    -->The below script is creating a directory with the time stamp but its including the username and password also in the directory name (e.g  "20130130_044807 --username testuser --password testpass")
    -->We tried with many options but it's still taking the username and password in the directory name.
    --> Tagging is working properly.
    <?xml version="1.0"?>
    <project name="samplescript" default="TagSource">
    <property name="SVN_UNAME" value="testuser"/>
    <property name="SVN_PWD" value="testpass"/>
    <property name="SVN_LOGIN" value="--username ${SVN_UNAME} --password ${SVN_PWD}"/>
    <property name="SVN_TAG_MSSG" value="tagging"/>
    <tstamp>
                    <format property="TODAY" pattern="yyyyMMdd"/>
     </tstamp>                        
                       <tstamp>
                          <format property="NOW" pattern="HHmmss"/>
      </tstamp>  
     <property name="svn_dir" value="${TODAY}_${NOW}"/>
     <echo> ${svn_dir} </echo>
     <property name="SVN_URL" value="http://url/trunk/${svn_dir}"/
     <echo> ${SVN_URL} </echo>
    <target name="TagSource" description="Creating a directory and tagging the working copy" >
       <exec executable="svn">
                    <arg value="mkdir"/>
                    <arg value="${SVN_URL} --username ${SVN_UNAME} --password ${SVN_PWD} " />
                    <arg value="-m Creating_dir" />
       </exec>               
       <exec executable="svn">
                    <arg value="copy"/>
                    <arg value="D:\backup\SQL\xsl" />
                    <arg value="${SVN_URL} --username ${SVN_UNAME} --password ${SVN_PWD} " />
                    <arg value="-m tagging" />
       </exec>
    </target
    </project>
    2) When the SVN authentication credentials are not saved:
    -->The same above script is failing with the below error:
               TagSource:
         [exec] Authentication realm: <http://url:80> Subversion Repo 
    The main issue here is It's not considering the username and password provided in the script.
     
    Solution:
    Instead of the following statement,
    < arg value="${SVN_URL} --username ${SVN_UNAME} --password ${SVN_PWD} " />

    use

    < arg line="${SVN_URL} --username ${SVN_UNAME} --password ${SVN_PWD} " />

    arg value treats entire value as single command separated by space.
    arg line will consider this as separate command delimited by space.

    Thanks to Mayur Bhatt for the solution.

    January 21, 2013

    An entrepreneurial Journey of Compassites Co-founder - A Visionary walk over disability!

    An interesting article depicting the journey of Compassites Co-founder Naveen Lakkur, who has limited sight but unlimited vision.

    He have undergone Fourteen surgeries in three years to set the eyes right (rather partially right ..) but he has turned 14 of his ideas into commercially viable business.

    No wonder that he has been compared with John Milton, the renowned English poet, who has composed most of his immortal literary masterpiece after he had lost his eyesight at the age of 43. 

    Worth Reading of him, who deserves thy Standing Ovation!




     

    December 25, 2012

    Combining Uninstall / Change on same button in ARP Panell

    Have you ever noticed that double-clicking any program / entry in Add / Remove Programs panel triggers Uninstallation and the application will be removed completely? The user does not have choice to select the options from the maintenance mode window. I have observed this behaviour with Installers created in Wise as well as InstallShield.
    This article focus on the limitation associated with this behaviour in InstallShield Basic MSI project and provides a workaround for the same.

    Further exploration unveiled that for some applications, the default action (bolded item) is "Uninstall/Change", where as a Basic MSI project created in InstallShield has 3 options as "Uninstall", "Change" and "Repair" and the default (in Bold) action is "Uninstall". My current case is to have "Uninstall/Change" option for our software instead of 3 Options.

    For this InstallShield provided a solution with a disclaimer that this has not been tested at their end! But the solution worked like a charm for our application and hence would like to share it ..

    By default, Windows Installer allows the creation of the “Repair”, “Change” and “Uninstall” buttons in order to maintain your application. The downside of this method is that the “Repair” and “Uninstall” actions are done in a basic user interface. There is no direct method available in InstallShield to achieve this. But tweaking some registry entries, you can make changes in display of ARP. You can make appropriate backup of registry and then try it.

    For displaying Uninstall\Change on same button in ARP, disable all display options under General information->Add/Remove programs.

    In the registry options, create the following registry key under the Current User/ Local Machine hive:

    Software\Microsoft\Windows\CurrentVersion\Uninstall\MyApplication

    where MyApplication is the Product Name you assigned for them.

    In MyApplication registry key, create the following registry entries..

    Name
    Type
    Data
    DisplayIcon             
    REG_SZ                
    [SystemFolder]msiexec.exe
    DisplayName             
    REG_SZ                
    [ProductName]
    HelpLink                
    REG_SZ                
    [ARPHELPLINK]
    InstallLocation         
    REG_SZ                
    [APPDIR]
    Publisher               
    REG_SZ                
    [Manufacturer]
    UninstallPath           
    REG_SZ                
    [SystemFolder]msiexec.exe /i [ProductCode]
    UninstallString         
    REG_SZ                
    [SystemFolder]msiexec.exe /i [ProductCode]
    URLUpdateInfo           
    REG_SZ                
    [ARPURLINFOABOUT]
    DisplayVersion          
    REG_SZ                
    [ProductVersion]
    Language                
    REG_DWORD            
    [ProductLanguage]
    URLUpdateInfo
    REG_SZ
    [ARPURLUPDATEINFO]
    URLInfoAbout
    REG_SZ               
    [ARPURLINFOABOUT]
    Comments
    REG_SZ
    [ARPCOMMENTS]
     

    Then add the ARPSYSTEMCOMPONENT to Property Manager and set the value as 1.

    After successful installation, you can view the "Uninstall/Change" button on your application from Add / Remove Programs Panel.

    [Note: This information has been verified with a Basic MSI project created in InstallShield 2012 Spring Edition.]

    December 14, 2012

    Forcefully removing the 'Installation Directory' during uninstallation..

    Most frequent defect that is logged against an Application Package is around "the installation directory not deleted during uninstallation" and we all know that based on Windows Installer design, the files / folders that are not created by the installer will not be removed by the installer. But the user would always want a clean system after uninstallatoin :)

    So here you go with the approach to remove the installation directory via Direct Editor.

    In the following example, I have a Basic MSI Project created using InstallShied 2012 Spring edition and assume that your application would create some files in the installed directory after installation, which would invalidate the removal of installation directory during uninstallation. The same solution applies to InstallScript MSI Project as well.

    Take a look at the RemoveFiles table. You can remove specific files and files using wildcards. Once you remove those files, the folder should get removed as well on uninstall.
    Something like the following should do the trick:
    _MyFilesToRemove, <SomeComponentKey>, *.*, INSTALLDIR, 2

    where <SomeComponentKey> is a key to an entry in the Component table. Any component will do, but if there is an .exe that actually creates the binary files, then perhpas you would want to use that .exe's component as you would only want the files to get removed when the corresponding .exe is removed.
    Also, you may want to change *.* to *.<SomeSpecificExtension>

    [Note: The above solution is basically an excerpt from MartinMarkevics's post in a community website.]