im not that experienced in .script files
here is the script and the application
Here is my script for those who don't want do download it:
Title=SnapShot2 Author=DarkPhoenix Level=5 Version=020 Description=Takes ScreenShots with Print Screen Button Locked=false Contact=vistape@vistape.net Date=13.01.2011 Selected=True Download_Level=2 [Variables] %ProgramFolder%=SnapShot %ProgramEXE%=Purrint.exe %ProgramTitle%=SnapShot2 [Process] Echo,Processing %ProgramTitle%... RunFromRam,True CopyProgram,%pFileBox1% Add_Shortcut,StartMenu,SnapShot2 Hive_Load,Default reg_add,0x1,%reg%\Software\Angeldust reg_add,0x4,%reg%\Software\Angeldust\Purrint,"Prompt",0x00000000 reg_add,0x4,%reg%\Software\Angeldust\Purrint,"Clipboard",0x00000000 reg_add,0x4,%reg%\Software\Angeldust\Purrint,"File",0x00000001 reg_add,0x4,%reg%\Software\Angeldust\Purrint,"Printer",0x00000000 reg_add,0x4,%reg%\Software\Angeldust\Purrint,"RunApplication",0x00000001 reg_add,0x2,%reg%\Software\Angeldust\Purrint,"Filename","C:\%pTextBox1%" reg_add,0x1,%reg%\Software\Angeldust\Purrint,"Application","Purrint.bat" reg_add,0x4,%reg%\Software\Angeldust\Purrint,"Timer",0x00000000 reg_add,0x4,%reg%\Software\Angeldust\Purrint,"TimerSecs",0x0000012C reg_add,0x4,%reg%\Software\Angeldust\Purrint,"SavePrompt",0x00000000 reg_add,0x4,%reg%\Software\Angeldust\Purrint,"ShowPrintDlg",0x00000000 reg_add,0x4,%reg%\Software\Angeldust\Purrint,"AlwaysOnTop",0x00000001 reg_add,0x4,%reg%\Software\Angeldust\Purrint,"SaveWinName",0x00000000 reg_add,0x4,%reg%\Software\Angeldust\Purrint,"Replace",0x00000000 reg_add,0x4,%reg%\Software\Angeldust\Purrint,"PrintHeader",0x00000000 reg_add,0x4,%reg%\Software\Angeldust\Purrint,"TrayIcon",0x00000001 reg_add,0x4,%reg%\Software\Angeldust\Purrint,"JpegQuality",0x0000004B reg_add,0x4,%reg%\Software\Angeldust\Purrint,"ScaleBMPs",0x00000000 reg_add,0x4,%reg%\Software\Angeldust\Purrint,"Advanced",0x00000001 reg_add,0x4,%reg%\Software\Angeldust\Purrint,"PromptLeft",0x00000014 reg_add,0x4,%reg%\Software\Angeldust\Purrint,"PromptTop",0x00000014 reg_add,0x4,%reg%\Software\Angeldust\Purrint,"PromptWidth",0x00000226 reg_add,0x4,%reg%\Software\Angeldust\Purrint,"PromptHeight",0x0000015E Hive_Unload,Default //AddAutoRun,"SnapShot","%ProgramFolder%/Purrint.exe","",4 AddAutoRun,%ProgramTitle%,%PE_Programs%\%ProgramFolder%\%ProgramExe%,,4 [Interface] pTextBox1="Screen Shot Saved File Name",1,0,8,58,185,23,VirusLog.png pFileBox1=C:\WBAPX3\SnapShot\,1,13,81,12,207,30,dir pTextLabel1="Source folder",1,1,7,16,72,18,8,Normal pTextBox4="Info: Use The “Print Screen” button on the Keyboard to Take a Screen Shot. The Screen Shot is saved by Default to the C:\ drive .Accepted formats is : .png, .bmp, .gif & .jpg .Read The Readme.txt file for more info on how to use the program. ",1,1,9,240,537,75,8,Normal
The problem is that when you press print screen "Purrint.bat" is suppose to run after "Purrint.exe"(see the reg settings for this app)
but it dose not,the command line pops up for a second and then it says:
'Purrint.bat' is not reconized as a internal or external command...bla..bla....
Note:
Its for Winbulder 80 VistaPE
that Purrint.bat is in the same directory as Purrint.exe
Purrint.reg is just a regshot dump
Purrint.exe has to start when windows start
Purrint.bat is the file verifier(verifies that VirusLog.png is made)
nircmd.exe is a cmd tool i use in a lot of my apps
and if you do a manual installation (copy an run it wile VistaPe is running)it works fine
Please Help!!