Venom4444 Posted December 12, 2009 Share Posted December 12, 2009 Hi I need i bit on Help please Im Creating my own EXE from 1 or 2 file with the FileInstall Command in Autoit isExampleOpt("TrayIconHide", 1)FileInstall("Paste Clipboard.vbs",@TempDir & "\$$.tmp")FileMove ( @TempDir & "\$$.tmp", "C:\Paste Clipboard.vbs" ,1 )RunWait('cscript.exe "C:\Paste Clipboard.vbs"')FileDelete("C:\Paste Clipboard.vbs")ExitIf somebody can help with i better why lets say creating One EXE from many diffrent file "lets say about 30 files""SenditTO"Can " Automated Scripts" help.?FileInstall EXE Create.au3 Link to comment Share on other sites More sharing options...
Xenobiologist Posted December 12, 2009 Share Posted December 12, 2009 Hi, you could create a self extracting archive and then you only need to Fileinstall that file. Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Venom4444 Posted December 12, 2009 Author Share Posted December 12, 2009 Hi,you could create a self extracting archive and then you only need to Fileinstall that file.MegaOk Thanx i had that Idea Lets Say you have Got about 50 files with Subdirectories you first zip it and make is an Self-Excutable fileAnd then use the "FileInstall of AutoIT Just to copy the Zip Self extracting EXE.Hope i understand it correct.Thanx .:-) Link to comment Share on other sites More sharing options...
Venom4444 Posted December 13, 2009 Author Share Posted December 13, 2009 The Other thing i also wanne ask you let say i have got i App its name is RegFromApp v1.20.exethe switches for this app is Command-Line Options/AttachProcess <Process ID or .exe Filename> Attach the existing process. You can specify a process ID or process filename. /RunProcess <exe filename> Run the specified process /ProcessParams <parameters> Specify parameters for the process that you run with /RunProcess. /StartImmediately <0 | 1> Specify the "Start Immediately" value (0 or 1). /RegFileVersion <4 | 5> Specify the .Reg file version (4 or 5) /AddOnlyModifiedValues <0 | 1> Specify the value for "Add Only Modified Values" (0 or 1) /AutoSave <.reg filename - modified> <.reg filename - original> When you specify this option, RegFromApp automatically save the data to .reg files and exit when the process that you inspect is terminated. Can i person create an EXE from "RegFromApp v1.20.exe /RunProcess"and Drag and drop also in cluded in the EXE my plan is to copy to the Send menu then is i have got i Installation that i wanne check for reg changes i can click on the setup file and send it to the new EXE that u made from RegFromApp v1.20.exeDo you think iets Possible..I have tried i Few script but no success.run("RegFromApp v1.20.exe /RunProcess")orShellExecute("RegFromApp v1.20.exe /RunProcess")How can i make the new EXE that its Drag and drop enabled.? Link to comment Share on other sites More sharing options...
Xenobiologist Posted December 13, 2009 Share Posted December 13, 2009 Hi, I don not really get you there. Firstly, yes - you can create an self extracting exe with 7zip or winzip, then you Fileinstall it and after that, you run it and the files with subdirs are there. So, no problem here. Secondly, you speak of commandline options and drag&drop ? You can extract the 50 files and RegFromApp.exe, too. After that, you can run the second one with parameters. Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Venom4444 Posted December 14, 2009 Author Share Posted December 14, 2009 Hi Thank you for the assitance. There is another thing im stuggeling with also "The INF File. If got "ElevateHTA.zip" For example if you right click on the in the context menu you get an install function that installs the INF file. I went to my Extension list and looked at the Command the Command was "rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %1" So what i need to do is run this command like "rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %1 ElevateHTA.inf But it still dont wanne work. If i manage to het this INF command correct i wanne build an autoit exe running the command installation with this inf file. I had try u few time with no luck.. the CMD , Dos command or Autoit command installing an INF file. Runwait (@systemdir & "\rundll32.exe syssetup,SetupInfObjectInstallAction DefaultInstall 128 " & $pathtoinf & "\your.inf","",@SW_HIDE) this command also not working any help please. ;-)ElevateHTA.zip Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now