Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

update one file in Media build - "Data as files"

30 views
Skip to first unread message

Paul Becker

unread,
Jul 22, 1999, 3:00:00 AM7/22/99
to
Is there a way to just add or update one file in a "Data as files"
uncompressed Media build without re-building the whole Media?

I have not seen this asked in a while, so I thought I would try again.
I want to just change one file in my Media without rebuilding the whole
media. (which takes quite a while.) I store all my "Data as files"
uncompressed. I have tried to just dropping in an updated file, but
InstallShield will just copy the same # of bytes as the file in the
original Media build.
Unfortunately a documented limitation states:
ISCab.exe does not let you create or modify cabinet files created
using the "Data as files" or Quick Build options.

I am guessing I really just need some way to edit 'data1.hdr',
but ISCab is not going to do it.

--thank you
Paul H. Becker
bec...@silverstream.com


Stefan Krueger

unread,
Jul 23, 1999, 3:00:00 AM7/23/99
to
> Unfortunately a documented limitation states:
> ISCab.exe does not let you create or modify cabinet files created
> using the "Data as files" or Quick Build options.

This was a limitation in an early version. AFAIK the current version also
works with "Data as Files" (get the eval. and try)

--
Stefan Krueger
Independent Setup Consultant

// InstallSite - Resources for Setup Developers
// http://www.installsite.org

My reply-to address is invalid to avoid spam.
If you are looking for individual assistance, like e-mail support,
please mail to in...@installsite.org for support options.

Paul Becker

unread,
Jul 23, 1999, 3:00:00 AM7/23/99
to
Stefan Krueger wrote:

> > Unfortunately a documented limitation states:
> > ISCab.exe does not let you create or modify cabinet files created
> > using the "Data as files" or Quick Build options.
>
> This was a limitation in an early version. AFAIK the current version also
> works with "Data as Files" (get the eval. and try)
>

I am running InstallShield 5.53 pro with iscab.exe version 5.50.134.
I did not think there was anything more recent. I still did not get it
to work. Could I doing something terribly wrong?

Oddly enough, when I use iscab.exe with "-l" the top of the .ini files has
[ISCAB Info]
Product=ISCAB
Version=2.0
but iscab with no options shows me (note the "Version")
InstallShield Professional Edition
CAB file editor
Version 5.50 for Microsoft Windows 95/98 & NT 4.0
and the InstallShield ide about box displays
iscab.exe version 5.50.134
and finally the help file examples say
"The first section of the file must be exactly the following:"
and all the examples have
Version=5.20.108

if I change the "Version" in the .ini file to "5.50", "5.50.134"
or "5.20.108" I get
"iscab.ini" is not a valid ini file.

---here is my iscab.ini-----
[ISCAB Info]
Product=ISCAB
Version=2.0

[InstallDocs]
File1="docs\relnotes.html", "c:\temp\"
------------------------------

then I put c:\ishield\program in my path and execute:
c:\ishield\Program\ISCAB.exe data1.cab -iiscab.ini -a

Error: Internal error in file DiskImage.cpp, line: 35
The system cannot find the path specified.

then I 'cd' into c:\ishield\program and try it and get
Error: Could not open file 'r:\install7-22.b1\ObjectStore\SMC\Images\
<<< 6 lines of garbage character>>>
The filename or extension is too long.

I did get this to work on a very small test where the Project was NOT
made with "Data as files". The same small test remade with "Data as files"
gave the the output:

Error: Could not open file 'c:\junki2\-:A' for reading
The system cannot find the file specified.

--thank you
Paul Becker
bec...@silverstream.com


InstallShield Software Corp.

unread,
Aug 11, 1999, 3:00:00 AM8/11/99
to
Paul,

I have the same version as you. I can confirm that it does work with Data as
files.

These are the steps that I took

cd into IS\Program

iscab "c:\path to the cab\data1.cab" -a -i"c:\Path to the INI file\test.ini"

Here is the contents of test.ini

[ISCAB Info]
Product=ISCAB
Version=2.0

[New File Group 1]
File1="new.txt", "c:\new\"

Hope this helps,

Eric
InstallShield Support

Paul Becker wrote in message <3798B652...@silverstream.com>...

0 new messages