|
-
Jun 9th, 2006, 12:02 AM
#1
Thread Starter
PowerPoster
Add Multiple Files
This is for VB6 ..
is it possible to open a file as binary, read it into a string, then open more files as such, and add them all to a single string and write to single exe ... then if I want to extract them, somehow pull them all out and back again as the exe's they once were . .. i mean can you do simple things like write FILE_1_START, FILE_1_END .. etc .. grab the stuff in between ..? I know how to read files, etc etc .. just want to know if this is possible ..
Im not worried about compression, just want to sqeeze a couple small files into 1 file for something like a patch file. I know I can simply try it and see .. but wondering if anyone else has done/tried this yet ..
thanks
Rory
-
Jun 9th, 2006, 12:59 AM
#2
Re: Add Multiple Files
There is no applicable reason to do this. What are you attempting to do. Since you are in the deployment section I will assume you are attempting to shortcut the installation process. DON"T DO IT!!!....
Please read Installation Problems in my signature for more assistance on that subject.
-
Jun 9th, 2006, 01:08 AM
#3
Thread Starter
PowerPoster
Re: Add Multiple Files
I thought I explained it pretty well .. .. but anywayz ..
i Dont want to install .. i know that part already ..
Say I updated my EXE and my Database file .. .. i want to have 2 files in an single exe so when the EXE runs it extracts both files to the specified location .. Hmmmm .. thats what I want to do .. ... Inno cant do that for me without an installation ... which I dont need.
this maybe a lil too advanced for this section so maybe i should move it back to the vb6 section ? I put it here though as it had to basically do with deployement ..
Last edited by rory; Jun 9th, 2006 at 01:13 AM.
-
Jun 9th, 2006, 01:13 AM
#4
Re: Add Multiple Files
Inno setup can do that without an installation screen...
You can also use a self extracting zip file.
-
Jun 9th, 2006, 01:16 AM
#5
Thread Starter
PowerPoster
Re: Add Multiple Files
self extraxt zip i know ($$) ..i looked everywhere with inno .. but i coulnt see where it doesnt bring up everything else ...
-
Jun 9th, 2006, 01:34 AM
#6
Re: Add Multiple Files
 Originally Posted by rory
i looked everywhere with inno .. but i coulnt see where it doesnt bring up everything else ...
Perhaps next time look in the Inno Setup Documentation
The Setup program accepts optional command line parameters. These can be useful to system administrators, and to other programs calling the Setup program.
/SP-
Disables the This will install... Do you wish to continue? prompt at the beginning of Setup. Of course, this will have no effect if the DisableStartupPrompt [Setup] section directive was set to yes.
/SILENT, /VERYSILENT
Instructs Setup to be silent or very silent. When Setup is silent the wizard and the background window are not displayed but the installation progress window is. When a setup is very silent this installation progress window is not displayed. Everything else is normal so for example error messages during installation are displayed and the startup prompt is (if you haven't disabled it with DisableStartupPrompt or the '/SP-' command line option explained above)
If a restart is necessary and the '/NORESTART' command isn't used (see below) and Setup is silent, it will display a Reboot now? message box. If it's very silent it will reboot without asking.
/SUPPRESSMSGBOXES
Instructs Setup to suppress message boxes. Only has an effect when combined with '/SILENT' and '/VERYSILENT'.
The default response in situations where there's a choice is:
-Yes in a 'Keep newer file?' situation.
-No in a 'File exists, confirm overwrite.' situation.
-Abort in Abort/Retry situations.
-Cancel in Retry/Cancel situations.
-Yes (=continue) in a DiskSpaceWarning/DirExists/DirDoesntExist/NoUninstallWarning/ExitSetupMessage/ConfirmUninstall situation.
-Yes (=restart) in a FinishedRestartMessage/UninstalledAndNeedsRestart situation.
5 message boxes are not suppressible:
-The About Setup message box.
-The Exit Setup? message box.
-The FileNotInDir2 message box displayed when Setup requires a new disk to be inserted and the disk was not found.
-Any (error) message box displayed before Setup (or Uninstall) could read the command line parameters.
-Any message box displayed by [Code] support function MsgBox.
Last edited by randem; Jun 9th, 2006 at 01:39 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|