Re: PDW without a .CAB file
- From: "MikeB" <m.byerleyATVerizonDottieNettie>
- Date: Sun, 28 Jan 2007 11:12:32 -0500
Inno Setup Scripting Language is PascalScript, based on Delphi Pascal.....
"Nando" <nospam@xxxxxxx> wrote in message
news:UK3vh.477722$Fi1.321093@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks Mayayana!!! Very interesting. You are right, I got to check that Inno
Setup. I will also play a little with that Setup1.vbp. Thank you very much!
"mayayana" wrote:
Hi all! Question: How do I make my SETUP.LST work without the CAB file? IFILES.
wanted to put all my files under the a new directory in the cd called
I did that. Then I modified the LST file created by PDW, but when runningit
the message "Please insert disk" comes up. I commented out the CAB partsof
the bootstrap section. What am I missing?!
You can't do it that way. Setup moves the CAB
into the Windows folder and calls VB6STKIT.DLL
functions to extract the files. That DLL was made
specifically for setup and will ONLY extract from a
CAB in the Windows folder.
So this comes back to your other post. If you
want a custom Setup1 you need to understand and
edit the Setup1 project. It was designed with few
options, to be easy for people who don't understand
how setup works and who don't want to. Once you start
changing it you have to deal with the whole thing.
If you want to skip the CAB (why?) then you need
to rewrite the code to skip the extraction and instead
copy your files to your Temp folder (msftqws.pdw
according to your setup.lst). But then you also have
a problem there: The Temp folder is created where
setup is run from. So if you run from a CD you need
setup to be a self-extractor that unpacks to %TEMP%...
or you need to rewrite the code and setup.lst to look
to your CD folder for the files.
If you don't want to go through all that you could use
something like Inno Setup, which a lot of people
seem to like. I think Inno requires learning a custom
script. It's probably less work than rewriting Setup1.vbp.
The one notable advantage to the latter is that you
can control the whole thing and customize the GUI.
Inno, and similar installers, are very barebones when it
comes to GUI.
You can customize MSI installs, but it's an almost
unbelievable amount of work, and the MSI system
itself is an almost unbelievable mess, unless you
buy a 3rd-party program that does all the work for
you. The one advantage of MSI is that it seems to
be more "trusted" in Vista than a plain EXE will be.
Another method, in limited environments, would be
VBScript. From your description it sounds like VBS
might be plenty to do what you want. It sounds like
you only want to copy some files to disk and create
a folder...maybe a shortcut. Unfortunately, though,
VBS has got a bad reputation because it's been
used for MS Office attacks and viruses in the past.
Some anti-virus programs will do nothing when an
unrecognized EXE runs, but go crazy when a
VBScript runs.
.
- References:
- PDW without a .CAB file
- From: Nando
- Re: PDW without a .CAB file
- From: mayayana
- Re: PDW without a .CAB file
- From: Nando
- PDW without a .CAB file
- Prev by Date: Re: Where in Windows Vista app should keep data?
- Next by Date: Re: PDW without a .CAB file
- Previous by thread: Re: PDW without a .CAB file
- Next by thread: Re: PDW without a .CAB file
- Index(es):
Relevant Pages
|