ThinLoader: easily run any program on a Thinstall sandbox
-
- Posts: 6
- Joined: Tue Jun 10, 2008 5:55 am
This Quote is from the first post.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.
How does one go about this?
Thanks,
jjblack
kuihdez
If you want to thinapp the code, you just need to compile through AutoIt (I recommend to disable UPX compression).
Make a pre-install capture, put the .exe in your root folder, post-install capture, select cmd and regedit, change folder's name from "%driveC%" to "%driveT%" and point it modifying the Package.ini.
Then the project folder is complete. After that you can compile the code through "build.bat".
If you want to thinapp the code, you just need to compile through AutoIt (I recommend to disable UPX compression).
Make a pre-install capture, put the .exe in your root folder, post-install capture, select cmd and regedit, change folder's name from "%driveC%" to "%driveT%" and point it modifying the Package.ini.
Then the project folder is complete. After that you can compile the code through "build.bat".
gonna need more help on that. check pm. or post the autoit source in here, cause the one i used returned a problem with line 10 (endif)castman wrote:kuihdez
If you want to thinapp the code, you just need to compile through AutoIt (I recommend to disable UPX compression).
Make a pre-install capture, put the .exe in your root folder, post-install capture, select cmd and regedit, change folder's name from "%driveC%" to "%driveT%" and point it modifying the Package.ini.
Then the project folder is complete. After that you can compile the code through "build.bat".
Well, it's not so hard to learn AutoIt.
It is a language easy to understand.
A great XP user would only take 1 hour to understand this code by examples.
If you don't want to use the first, try this:
It is a language easy to understand.
A great XP user would only take 1 hour to understand this code by examples.
If you don't want to use the first, try this:
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;*.scr;*.com;*.bat;*.cmd;*.pif;*.msi)|All Files (*.*)")
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;*.scr;*.com;*.bat;*.cmd;*.pif;*.msi)|All Files (*.*)")
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;*.scr;*.com;*.bat;*.cmd;*.pif;*.msi)|All Files (*.*)")
If @error Then
MsgBox(4096,"","No File(s) chosen")
Else
Run($var)
EndIf
EndIf
EndIf
Last edited by castman on Mon Aug 11, 2008 9:06 am, edited 1 time in total.
Sorry
Typing...
There's no errors when I execute the code I showed you through "AutoIt3.exe" and "AutoIt3A.exe".
Maybe it is a OS problem. I am using Windows XP SP3. I don't know if it makes difference, if not it's probably you have an outdated version of AutoIt.
I am using AutoIt Version 3.2.12.1!!
There's no errors when I execute the code I showed you through "AutoIt3.exe" and "AutoIt3A.exe".
Maybe it is a OS problem. I am using Windows XP SP3. I don't know if it makes difference, if not it's probably you have an outdated version of AutoIt.
I am using AutoIt Version 3.2.12.1!!
There you go...
http://rapidshare.com/files/138352841/T ... 2.rar.html
found this here !!!
Made With ThinApp 4.0.2 and Corrections made to the AutoIt Script.
http://rapidshare.com/files/138352841/T ... 2.rar.html
found this here !!!
Made With ThinApp 4.0.2 and Corrections made to the AutoIt Script.
-
- Posts: 1212
- Joined: Wed Jul 18, 2007 5:45 pm
thanks for compiling... just wondering what "corrections" were made to the original?kuihdez wrote:There you go...
http://rapidshare.com/files/138352841/T ... 2.rar.html
found this here !!!
Made With ThinApp 4.0.2 and Corrections made to the AutoIt Script.