Re: PDW without a .CAB file

Tech-Archive recommends: Fix windows errors by optimizing your registry



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? I
wanted to put all my files under the a new directory in the cd called
FILES.
I did that. Then I modified the LST file created by PDW, but when running
it
the message "Please insert disk" comes up. I commented out the CAB parts
of
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.







.



Relevant Pages

  • Re: PDW without a .CAB file
    ... Setup moves the CAB ... CAB in the Windows folder. ... I think Inno requires learning a custom ... You can customize MSI installs, ...
    (microsoft.public.vb.general.discussion)
  • Re: PDW without a .CAB file
    ... I got to check that Inno ... Setup moves the CAB ... CAB in the Windows folder. ... I think Inno requires learning a custom ...
    (microsoft.public.vb.general.discussion)
  • Re: 2 identical projects ---> 2 compiled exec causing Vista different response
    ... I have posted that question in Inno Setup newsgroup before ... All was running fine, until I modifed Project1 (nothing significant, and I ... I am using vbasic5 and I can repeat both compilation many times with exactly ...
    (microsoft.public.vb.general.discussion)
  • Re: 2 identical projects ---> 2 compiled exec causing Vista different response
    ... From what you're saying it sounds like your compiled Setup file is not running. ... Maybe you need to upgrade to a later version of Inno Setup? ... All was running fine, until I modifed Project1 (nothing significant, and I ... I am using vbasic5 and I can repeat both compilation many times with exactly ...
    (microsoft.public.vb.general.discussion)
  • Re: Freeware Setup Utility
    ... > Can anyone here vouch for Inno Setup? ... > deployment wizard and I've been spoiled rotten by the Setup Factory 6. ... the big boys - it is just a matter of how much time you want to put into it. ...
    (microsoft.public.vb.general.discussion)