But.. guess what: any program that gets executed by the app running Thinstalled gets Thinstalled too, and all the changes monitored and being sandboxed. So I had an idea. I made a simple app that asks you for a executable and runs it. And then I made a Thinstall version out of it.
So how does it work? Easy.. extract the files to any folder on your hard drive, and execute "ThinLoader.exe". Then you're asked for a program to be run (inside the Thinstall sandbox). Choose any installer, and install the program as usual. But there's a difference: The files are extracted inside the sandbox, and not directly onto the system.
And now run ThinLoader.exe again, and when you're asked for an app to run, (remember that you're browsing the contents INSIDE the sandbox), choose the program you have just installed, and that's all. Using this method you can install any application (well, at least Thinstall compatible) on a pendrive or wherever you want, and run it as usual as if it was Thinstalled but without having to get the full version of Thinstall or anything.
You can also use command-line parameters to set an app that should be automatically opened when you launch ThinLoader.exe. Just use:
ThinLoader.exe choosemain
and then you're asked for where the program is. Next time you launch ThinLoader.exe, that program will be executed directly, without being asked.
There's also a virtual drive, only available from inside ThinLoader, T:. That's where ThinLoader stores its configuration (well, only where the program is).. and where you can install any program too.
So, here it is. Feel free to use it and report any bugs you find..
Version 0.01b - stores data on ThinData folder
http://tinyload.com/VSjIj
Source code: (AutoIT)
Code: Select all
AutoItSetOption("TrayIconHide", 1)
If $CmdLine[0] = 0 Then
$var = IniRead("T:\\thinloader.ini", "ThinLoader", "Launch", "Unset")
If $var = "Unset" Then
$var = FileOpenDialog("Choose program to launch into ThinLoader sandbox", ".", "Executables (*.exe;*.bat;*.com;*.pif)")
If @error Then
MsgBox(4096,"T:\","No File(s) chosen")
Else
Run($var)
EndIf
Else
Run($var)
If @error Then MsgBox(4096,"ThinLoader","Error executing "+$cmd+":\n"+@error)
EndIf
ElseIf $CmdLine[1] = "choosemain" Then
If $CmdLine[0] = 2 Then
IniWrite("T:\\thinloader.ini", "ThinLoader", "Launch", $CmdLine[2])
Else
MsgBox(0, "ChooseMain", "Choose the file you want to load using the main file ThinLoader.exe.")
$var = FileOpenDialog("Choose", "T:\", "Executables (*.exe;*.bat;*.com;*.pif)")
If @error Then
MsgBox(4096,"","No File(s) chosen")
Else
IniWrite("T:\\thinloader.ini", "ThinLoader", "Launch", $var)
EndIf
EndIf
ElseIf $CmdLine[1] = "run" Then
If $CmdLine[0] = 2 Then
Run($CmdLine[2])
Else
$var = FileOpenDialog("Choose program to launch into ThinLoader sandbox", ".", "Executables (*.exe;*.bat;*.com;*.pif)")
If @error Then
MsgBox(4096,"","No File(s) chosen")
Else
Run($var)
EndIf
EndIf
EndIf