[Help]Starting .exe with using .ini

Posts 1–15 of 22 · Page 1 of 2
[Help]Starting .exe with using .ini
Well
I am wantig to create a semi Loader...But i wanted to use like valkyrie and with it his ini.
In this ini the Path of injection must be.
Well
I would like to put the injector and the ini in the resources and when i klick Button the exe is opening with using the .ini.
How can i do that...
They must be in resources...
Thanks
Why in resources. If it was saved in applicatoin start up path, I could help you

(Hint: Just use settings)
You don't need an .ini with the path location if you're adding the injector to resources, seeing as you'll need to specify where you want to put the injector when extracting it from resources:

i.e:

[php]
Private Sub ExtractFromResources(ByVal WhatToExtract, ByVal WhereToExtract)

If Not IO.File.Exists(WhereToExtract) Then

Dim bArray() As Byte = WhatToExtract
Dim FileInfo As New IO.FileStream(WhereToExtract, IO.FileMode.OpenOrCreate)

Try
Using bWrite As New IO.BinaryWriter(FileInfo)
bWrite.Write(bArray)
End Using
Catch ex As Exception

End Try
End If

End Sub
[/php]

And then to use it:

[php]
ExtractFromResources(My.Resources.Example, Application.StartupPath & "\Injector.exe")
[/php]

This will extract an item from resources to a new file called "Injector.exe" in the application's startup-path.

So you don't need to write an ini saying where the .exe is stored, seeing as you've specified the location in your code, it will always be in that location (if the user doesn't move it).

Hope that's what you wanted.
Well...
I need an ini...
Because in the ini i would like to put the injection path and the savings...
Like C:\Tester\caeu.dll
that it has that...
then the programm downloads that caeu.dll hidden...
That you can normaly inject without having the dll
Quote Originally Posted by Sydney View Post
Well...
I need an ini...
Because in the ini i would like to put the injection path and the savings...
Like C:\Tester\caeu.dll
that it has that...
then the programm downloads that caeu.dll hidden...
That you can normaly inject without having the dll
Are you using an injector like PerX or Valkyrie? Just go to their ini file that they create and change the .dll location manually to like "C:\NewFolder\CaEu.dll" then in your code download the .dll to "C:\NewFolder\CaEu.dll" and yeah...
I please you to stop making injectors/loaders.
Quote Originally Posted by Blubb1337 View Post
I please you to stop making injectors/loaders.
i dont wanna create an injector....
Quote Originally Posted by Sydney View Post
i dont wanna create an injector....
Yeah but it sounds like you're making a loader are you not?
Yea i do...
But i will not release it...
So any other help ?
Quote Originally Posted by Sydney View Post
Yea i do...
But i will not release it...
So any other help ?
With what? You haven't asked for anything else
Quote Originally Posted by Jason View Post


With what? You haven't asked for anything else
My Problem...

I wanna create a semi Loader...The Concept:
if you press lik Button1 then it openeds PerX from Resources.PerX used his setting from the ini...Like the injection Path is there saved..So i just have to place the .dll hack hidden in the injection path from the ini...

Thanks
Quote Originally Posted by Sydney View Post
My Problem...

I wanna create a semi Loader...The Concept:
if you press lik Button1 then it openeds PerX from Resources.PerX used his setting from the ini...Like the injection Path is there saved..So i just have to place the .dll hack hidden in the injection path from the ini...

Thanks
Already told you how to do all those things, you even downloaded my opensource loader project before, that's pretty much exactly what you're doing now!
Yea...But your source is working awesome but it gets everytime for other pplz an error...With ICS.Sharp. if they use it.If i am using it i get no errors
Quote Originally Posted by Sydney View Post
Yea...But your source is working awesome but it gets everytime for other pplz an error...With ICS.Sharp. if they use it.If i am using it i get no errors
I please you to learn English, no idea what the hell you're saying lol.
Quote Originally Posted by Jason View Post


I please you to learn English, no idea what the hell you're saying lol.
My Problem with your Loader Base:
If am using it i get 0 errors.
If my friends are using the loader with ya base they get an error with ICS.Sharp...
If they use it compiled by me without any errors. -.-
So i think you understand me now
Posts 1–15 of 22 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?