Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Need Help, Making An Installer In VB

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Exodias
Expert Cheater
Reputation: 0

Joined: 14 May 2008
Posts: 220

PostPosted: Sat Aug 30, 2008 8:52 pm    Post subject: Need Help, Making An Installer In VB Reply with quote

How Do I Make An Installer Using VB? not VB.NET but just VB

Confused
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat Aug 30, 2008 9:12 pm    Post subject: Reply with quote

Take the files, pack them together, keep information such as actions to do afterwards, and registry keys to create, and ultimately contain it all within your exe.
Back to top
View user's profile Send private message
Exodias
Expert Cheater
Reputation: 0

Joined: 14 May 2008
Posts: 220

PostPosted: Sat Aug 30, 2008 10:12 pm    Post subject: Reply with quote

Uhm can you explain a bit more?
Back to top
View user's profile Send private message
pkedpker
Master Cheater
Reputation: 1

Joined: 11 Oct 2006
Posts: 412

PostPosted: Sat Aug 30, 2008 11:13 pm    Post subject: Reply with quote

In VB6... I would put the files you want to install in a Resource file.

The put each file in a Byte buffer like

Dim file() as byte
Redim file(SizeOfFile) as byte

file = LoadResData(101, "FOLDERNAME") 'example

http://support.microsoft.com/kb/141505

look at that URL for more information..

after you load it.. file array will contain bytes of the whole file. so you just dump it to file. With a basic output writer

Open "c:\somefile.exe" For Output As #1
print #1, file
Close #1


any file added to resource editor becomes part of your EXE file.

So you will have a Project1.exe which could be 20 MB.. aka a installer for example but it can dump files it has stored inside it.

This is also a way to make those keygens with music in vb6 by storing the music in a resource file.



Here is example I made: http://rapidshare.com/files/141901730/VB6_Installer_Example_by_Pkedpker.zip

_________________
Hacks I made for kongregate.
Kongregate Universal Badge Hack: http://forum.cheatengine.org/viewtopic.php?p=4129411
Kongreate Auto Rating/Voter hack: http://forum.cheatengine.org/viewtopic.php?t=263576
Took a test lol
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites