Launchy as own portable console

The idea is to automatize launchy installation together with your most favourite and must have application.
https://www.launchy.net/downloads/win/Launchy2.5.exe

Install Launchy as portable version
Do not launch the program yet
The program is installed.
By default in launchy root directory it have 6 catalogues and and 10 files
The Launchy.ini config file just contains only one setting
[General]version=200
If you delete Launchy.ini then it will not longer work as an portable version. So keep mind to keep Launchy.ini side by side with Launchy.exe to make the application portable.

Click on the Launchy.exe first time and go to options
Uncheck box about checking updates to make launchys startup more faster.

Since the program does not include an option to rescan catalog at startup make a workaround to rescan catalogs after one minute when Launchy goes at the first time
Close Launcy from system tray:
The Launchy.ini contains:
Interesting that version number are changed.

I replace:
2\name=C:\\Users\\Administrator\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu
with:
2\name=%userprofile%\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu
to make Launchy more portable

Add new entry to support your own directory
5\name=Portable\\5\types=*.lnk5\indexDirs=false5\indexExes=true5\depth=100
and replace the size=4 with size=5.

Here is how it looks like at the end:
Backup this your own customized Launchy.ini.
Delete launchys directory and install it again like in start of this post.
Do not run it.

Paste and overwrite you predefined Launchy.ini config file.

Copy your own portable folder to Launchy's root directory
Select Launchy directory and make as self extracting archive
Click, click, click, ..
Go to Advance and click "SFX Options"
Write the place where default launchy should be installed. Here you can also write %appdata% to install launchy without administrative rights
Add option to launch Launchy after startup
Make the installation in unattended mode
Configure launchy as start up application to launch Launchy automatically after computer restart
Choose startup and write few data
This section will overwrite launchy folder if there already exist one:
Press two times [OK] button to finally make self extracting archive
When you launch your installer it will automatically create a startup item:
Pretty cool :)

I do not know why but Launchy rescan catalogues automatically after it has launched the second time.

After minute is gone you are able to launch your own application by holding Alt and press Space then write the first letters of application and press Enter. Awesome and handy

No comments: