http://www.reflexive.com/ release games are all wrapped by RAInstallerWrapper, so I wrote a small console program called RAIU to unwrap them. I think that maybe Universal Extractor can add this little program.
Only problem is how to identity the wrapped installer, I can not found a easy mark to identity.
here to download it.
http://www.cnblogs.com/files/icebird/raiu.rar
finally, you can reach me via email: liuruxu@gmail.com.
Do ALL extraction methods (For all files MSI/NSIS etc) extract without executing the programs? If not can you name which extractions do execute programs. Thank you.
Default Language - specifies the language used by UniExtract (http://www.legroom.net/software/uniextract#usage)
No, not "Default Language" but "language" is right.
if i change this setting, it will not be saved on exit.
please ad a complete UniExtract.ini with all entries to the setup and zip-archive.
One thing I always liked about Windows (compared to Linux) is that it's very easy to add custom actions to the context (right-click) menu for any given file types. For example, I used this ability with Universal Extractor to add UniExtract... entries to the context menu of archive files, and I use it with Open with Arguments to add Open with arguments... to .exe and .bat files. I missed that ability for quite some time once I began using Linux as my primary OS. Something as simple as extracting Zip files, for example, would require jumping to the command line and entering an appropriate unzip command[1]. However, a while back I stumbled across a tutorial entitled, "Creating Konqueror Service Menus", and was very pleasantly surprised to discover that this allowed me to do exactly what I had wanted for so long.
I setup a few custom actions (called "servicemenus" in KDE) a while back on my home system and pretty much forgot about it since it "just worked", but since I'm now using a new desktop system at home I'm already missing these custom actions. So, I figured I'd document them here while setting them up again. Hopefully this information will help out other Linux users. Much more thorough instructions can be found in the article referenced above - my instructions should be treated as more of a reference.
To begin, you'll need to create a new .desktop file for the action you want to perform. For the purposes of this article, I'm going to add a context menu item that will extract RAR files to the current directory. So, we'll create a new file named ~/.kde/share/apps/konqueror/servicemenus/rar.desktop. The file name is arbitrary, but it must be saved in the specified location, and must end with the .desktop extension. Next open the file in your favorite editor and add the following:
[Desktop Entry]
ServiceTypes=application/x-rar,application/x-rar-compressed
Actions=unrar
[Desktop Action unrar]
Name=Extract Here
Exec=launch.sh %d unrar x \"%f\"
Icon=package
This code is not very intuitive, so I'll explain each option
rar, and then add the listed file types to the Service Types entry. Repeat for each extension if you want to associate with multiple types[Desktop Action xxx] defined below.package icon from the current icon set. The easiest way (that I know of) to view these "pre-defined" icons is to right-click on any K-menu entry, select Edit Item, and click on the icon button for that item, It'll bring up an icon browser. Find the icon you like best, note the name, then close the windows and add it to the Icon entry.Now, let's discuss the Exec entry. Ordinarily you'd probably want to call the binary directly; eg., unrar x \"%f\". In this case, however, I want to get feedback on the current progress of the operation, as well as any errors that might have occured. Since unrar is a CLI application, running it from a GUI wouldn't provide any feedback. It would simply run in the background and then exit. To work around this, I created a "wrapper" script called launch.sh that will accept arguments passed by KDE and run the command in a standalone xterm terminal[2]. Using this method, clicking the the action in the context menu will spawn a new xterm window, which will then display the current status of the operation. It will also allow you to enter any additional information that may be necessary, such as answering an overwrite prompt or providing an archive password.
The code for the wrapper script is listed below. The only dependency is that xterm must be installed in an your $PATH.
#!/bin/bash
# enable support for spaces
IFS=$'\r\n'
# check for number of arguments
if [ "$2" = "" ]; then
echo "Usage: $0 <dir> <command>"
exit 1
fi
# set directory and command
DIR=$1
shift
COM=$@
# execute command in xterm
cd $DIR
xterm -e $COM
exit
That should do it. Save both of those files, make sure that launch.sh is copied to a location in your $PATH, then try right-clicking on a RAR file. Under the Actions submenu, you should now see an entry called Extract Here. Click it, and if all goes well the contents of the RAR file should be extracted to that directory.
For reference, here's a list of all KDE servicemenus that I have created:
Enter when complete to unmount the ISO and remove the temporary directory. This service menu requires my mountiso.sh script.Ctrl-C when complete to unmount the disk image and remove the temporary directory. This service menu requires my mountvmdk.sh script. More details can be found in the How to Mount VMware Disk Images under Linux article.xterm window; most of my servicemenus require this script[1] Yes, I know that I can install a GUI archiving utility such as Ark. However, that's not really relevant here for two reasons:
[2] Yes, you could theoretically call xterm directly from the .desktop file rather than using a wrapper script, but I couldn't get it to work properly. I had issues with getting xterm and the associated command (in this case, unrar) to accept the correct path, as well as dealing with spaces in the filename. My wrapper script will handle anything that's thrown at it (so far, anyway...).
If it seems that I haven't spent much time working on my website recently, well, I haven't. :-) A whole lot has been keeping my busy for the last few weeks, including:
That's the highlights, but I've been dealing with some other stuff as well. I have some projects I'm trying to get done before I start my new job on Monday, and of course once I do begin my new job I'm sure it'll keep my busy for a while. So, to be honest I don't know when I'm going to be able to start posting regular updates again, but hopefully it won't be too far off.
One important task I'd like to finish up is putting out an update for Universal Extractor 1.5.1. I had mostly completed it about a month ago, but just haven't had time to fix a couple remaining issues and get the updated translation files. I'd like to start working on that again this weekend if I can finish my other projects in time, so keep an eye out for it in the next week or two.