2008-4-15:
2008-4-14:
Molebox is a commercial application [L1 ] that compresses and encrypts exe and other included files.
Disclaimer: I do not work for Molebox, I do not get money from this, and I live in another country. Use demo version to decide if it meets your needs. tbcload also works on other OS; Molebox is Microsoft Windows only. I'm just one customer of Molebox. I have not contacted Molebox about writing this wikipage here, and I've figured all of this on my own (except when mentioned what info I got from #tcl irc channel). If some info here is wrong, please add comment at the bottom of this page. Thanks!
You can't unwrap Starpack exe to get source code.
If someone is knowledgeable programmer and figures this out:
Then it's also possible to additionally protect source with tbcload that's available on Microsoft Windows and also other platforms. Molebox is Microsoft Windows only.
Download these:
Buy Molebox:
I used Molebox Pro version 2.2981.
There is already someone else's page Custom Icons For Win32 Starpacks - The Real Story but here's how I did it.
I got .png image and made different sized icons with Gimp and made .ico with png2ico [L5 ].
Then I placed it in app.vfs/tclkit.ico (I called my application as app).
Copy tclkit-win32.upx.exe to other name like mytclkit.exe that's for your own modified tclkit version.
In Microsoft Windows Explorer file manager if you right click mytclkit.exe and select properties, you see tcl info that we'll modify here.
Put mytclkit.exe and upx.exe in same directory like C:\myappdir .
In command prompt:
cd C:\myappdir upx.exe -d mytclkit.exe (unpacks upx packed tclkit using the same name)
Then start Resource Hacker and open mytclkit.exe
In tree menu, select following, numbers may be different:
Save mytclkit.exe and exit Resource Hacker.
Then in command prompt:
upx mytclkit.exe (makes it again upx packed executeable).
Now when you look file properties you see changed info.
So you should have your application specific tcl files in directory C:\myappdir\app.vfs\
In command prompt:
cd C:\myappdir tclkit-win32.upx.exe sdx.kit wrap app.exe -runtime mytclkit.exe
Now you have single app.exe, but it's not encrypted yet.
Start Molebox.
As executable, click Browse and select app.exe.
Then you need to add it second time by clicking Add file and selecting app.exe.
(Yes, this all is needed, packing first with upx and twice with Molebox and everything to make it work.)
If you need other files that are not inside starpack you can add them too.
Then click Pack To Box.
Now you got app.exe.exe that is encrypted with Molebox. You can test it this way:
Protecting a TCL program against piracy