| View previous topic :: View next topic |
| Author |
Message |
Exodias Expert Cheater
Reputation: 0
Joined: 14 May 2008 Posts: 220
|
Posted: Sat Aug 30, 2008 8:52 pm Post subject: Need Help, Making An Installer In VB |
|
|
How Do I Make An Installer Using VB? not VB.NET but just VB
 |
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sat Aug 30, 2008 9:12 pm Post subject: |
|
|
| 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 |
|
 |
Exodias Expert Cheater
Reputation: 0
Joined: 14 May 2008 Posts: 220
|
Posted: Sat Aug 30, 2008 10:12 pm Post subject: |
|
|
| Uhm can you explain a bit more? |
|
| Back to top |
|
 |
pkedpker Master Cheater
Reputation: 1
Joined: 11 Oct 2006 Posts: 412
|
Posted: Sat Aug 30, 2008 11:13 pm Post subject: |
|
|
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
_________________
|
|
| Back to top |
|
 |
|