Jump to content

Creating one EXE from Multiple File


 Share

Recommended Posts

Hi I need i bit on Help please Im Creating my own EXE from 1 or 2 file with the FileInstall Command in Autoit is

Example

Opt("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")

Exit

If 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

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

Hi,

you could create a self extracting archive and then you only need to Fileinstall that file.

Mega

Ok 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 file

And 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

The Other thing i also wanne ask you let say i have got i App its name is RegFromApp v1.20.exe

the 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.exe

Do you think iets Possible..

I have tried i Few script but no success.

run("RegFromApp v1.20.exe /RunProcess")

or

ShellExecute("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

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

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

post-54787-12607948784149_thumb.jpg

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...