Friday, October 11, 2013

Updating HBCDMenu Applications - The Beginning

OK, so you have your nice new Bootable Flash Drive (Created in previous post), but Hiren seems to have left out an important feature in many of the programs located in the HBCDMenu. That is there is no way to easily update the applications if they become outdated and no longer work as well as they should.
Or so it seems. This post will explain the workings of the HBCDMenu thus allowing you to update the underlying application or even add your very own applications.

How does it work?

I'm sure you have wondered, as many others have the past, how does the HBCDMenu work? Well its quite simple actually, the program simply creates the "Programs" menu by using a .csv file located in the "/HBCD/Programs" directory.

How do I Edit it?

What if you want to edit the menu, maybe add your own applications or scripts or maybe clean it up a bit and get rid of all of the extra stuff that you will never use.Well Hiren has given you the facility within the HBCDMenu program to do so. This is done simply by opening the menu and selecting "Help > Edit Menu > Windows HBCDMenu.csv" as shown to the right. In a later post I will be explaining how Hiren has created this menu file and how we can create our own "Personalized" version.
So, once we have opened up the HBCDMenu.csv file we just need to decrypt how it works.
The file will be opened using the "Spread32" program which is included within the HBCD programs and will contain all of the current entries.
The key elements in this file are as follows:
  • First Cell in Column - The top cell in every column will define the name of a root level menu.
  • Set of Two Cells - Everything under the top cell needs to be in a set of two.
    • Title of the program or script - This can be anything you wish (Good idea is something that describes the program i.e. Program Title)
    • Path to program or script - This is the path to the script or program that the item will run and is relative to the path of the HBCDMenu.csv file, meaning if you wish to run a script that is located in the "HBCD/Programs" directory then you will simply put "ScriptName.cmd" in this cell. (Remember you can go back one directory by adding "../" to the begining of your script name.)
  • Backslash (\) - A backslash symbolises an additional drop-down menu within the "Programs" drop-down.
  • Use a Double Ampersands (&&) for a & symbol - This is to do with the way that VB6.0 (The programming language) interprets the ampersands (&) symbol.

Things to remember.

Its always a good idea to zip up your programs and extract them to a temp folder on-the-fly using a batch file. This is good because, it will compress the programs to save valuable and limited space on your flash drive as well as allow you to disconnect your flash drive with no issues when it has been extracted.
I will explain the complete process of adding a new program to the menu in my next post. But if you cannot wait I recommend using one of the existing .cmd files in the "HBCD/Programs" folder as an example.

9 comments:

  1. You cannot comprehend how happy it makes me to have found your site. I am greatly looking forward to seeing the upcoming articles!!

    ReplyDelete
    Replies
    1. Thank you.
      Don't forget that like many other bloggers, I rely on your support to keep going.
      Also my blog is responsive making it ideal to use on your phone or tablet.

      Delete
  2. I've been experimenting using the extent of my knowledge combined with the tips gained from your posts. Incorporating tools like the Sophos Virus Removal Tool (best VR database I've ever seen) and 3DP Net into the tools menu, and getting them to work (which is a big deal for me, given my current technical knowledge, haha!) I've been researching building Mini Win7, and using it as a proper replacement for MiniXP, and I even personally have a Win7 Pro 32bit Installation Disc, but I currently lack the information needed to take me further.

    It's worth noting that I searched for a while attempting to locate something with the direction you've provided. I honestly don't even remember exactly what I looked up to find it. I do know that if I was seeking the info currently in (and hopefully coming to) your blog as hard as I was, others are also.

    I will definitely be checking up on this through my phone on a consistent basis. Can I do anything at all to provide assistance?

    ReplyDelete
    Replies
    1. That's great to hear, I'm glad to have helped with your "Quest of the Perfect Technicians USB"
      In regards to the Mini Win7 there will be a full tutorial coming but i can help lead you in the right direction if your willing to figure it out for your self.

      Here's the info you need:
      The proper name for Mini Win7 or any Mini Windows is "WinPE" where PE stands for Preinstallation Environment.
      A great community for anything to do with a PE, be it windows or otherwise, is rebootPro.
      They kindly supply a marvelous application for building your own Win7PE called WinBuilder (Link Below)
      http://reboot.pro/files/file/4-winbuilder/
      Important thing to remember: DriverPacks are your friend and you can't have a good PE without having good driver support.

      Delete
  3. I created Hiren Boot CD on a 4GB USB. However, after booting from the USB, the device shows only a few hundred MB available for installation of additional software, though the physical USB has over 2 GB free when viewed in Explorer. Is there any method of allocating the entire available space when creating the Hiren Boot USB?

    ReplyDelete
    Replies
    1. Ok, Sorry for the late reply.
      When booting to the MiniXP or Mini7 mode of the BootUSB, the entire OS is load into a RAMDisk, meaning it will create X:/ in which it loads MiniXP (This drive is only 200MB). Your USB Drive will then be mounted as a separate drive in which you can access additional software (But remember friend, that only standalone packages will work), The XP that loads is an extremely stripped down version and does not contain many of the system files to run most applications.
      Also if you happen to try to install an application and for some reason it works, that application will not be saved to your version of MiniXP as all the data is lost when the computer turns off, because of the RAMDisk.

      I will be creating a later tutorial that will assist in adding additional software to MiniXP (or most possibly Mini7).

      Delete
  4. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
  5. It's too bad there isn't a much simpler way to do this. The biggest problem people have is with the outdated programs. Not being able to easily update or use an updated version sucks big weenie.

    ReplyDelete