PDA

View Full Version : Changes files...



NewsArchive
01-04-2002, 01:00 AM
Hi

Is it possible to disable the CRC-check in an installation so I can make
changes to files without rebuilding the entire installation?

NewsArchive
01-07-2002, 01:00 AM
"lo" <vneiva@sidexa.com> wrote in message
news:3c35e3f3$1@news.installshield.com...
> Hi
>
> Is it possible to disable the CRC-check in an installation so I can make
> changes to files without rebuilding the entire installation?

If after running the media builder you replace an uncompressed file in a
disk image folder, an MD5Error event will be generated at run time. You can
modify the default OnMD5Error code to automatically handle this MD5Error
event rather than display a dialog box. For example, to automatically ignore
the MD5Error event for the file ReplacedAfterBuild.txt, which is installed
to TARGETDIR, add the following lines at the beginning of the OnMD5Error
code:

if File = TARGETDIR ^ "ReplacedAfterBuild.txt" then
return ERR_IGNORE;
endif;

--
Mark
InstallShield Software Corporation

NewsArchive
01-08-2002, 01:00 AM
Hi and thanks to answer ...

I have IS6.3 and I use "OnMD5Error" event but I write directly "return
ERR_IGNORE;"
and doesn't work !!

Have you an another idea

Thanks for your help.

best regards.


"Mark at IS" <http://support.installshield.com/ask-via-web/default.asp> a
écrit dans le message news: 3c39a5ce$1@news.installshield.com...
> "lo" <vneiva@sidexa.com> wrote in message
> news:3c35e3f3$1@news.installshield.com...
> > Hi
> >
> > Is it possible to disable the CRC-check in an installation so I can make
> > changes to files without rebuilding the entire installation?
>
> If after running the media builder you replace an uncompressed file in a
> disk image folder, an MD5Error event will be generated at run time. You
can
> modify the default OnMD5Error code to automatically handle this MD5Error
> event rather than display a dialog box. For example, to automatically
ignore
> the MD5Error event for the file ReplacedAfterBuild.txt, which is installed
> to TARGETDIR, add the following lines at the beginning of the OnMD5Error
> code:
>
> if File = TARGETDIR ^ "ReplacedAfterBuild.txt" then
> return ERR_IGNORE;
> endif;
>
> --
> Mark
> InstallShield Software Corporation
>
>

NewsArchive
01-08-2002, 01:00 AM
"lo" <vneiva@sidexa.com> wrote in message
news:3c3aa38d$1@news.installshield.com...

> Hi and thanks to answer ...
>
> I have IS6.3 and I use "OnMD5Error" event but I write directly "return
> ERR_IGNORE;"
> and doesn't work !!

What exactly happens?

--
Mark
InstallShield Software Corporation

> Have you an another idea
>
> Thanks for your help.
>
> best regards.

> "Mark at IS" <http://support.installshield.com/ask-via-web/default.asp> a
> écrit dans le message news: 3c39a5ce$1@news.installshield.com...
> > "lo" <vneiva@sidexa.com> wrote in message
> > news:3c35e3f3$1@news.installshield.com...
> > > Hi
> > >
> > > Is it possible to disable the CRC-check in an installation so I can
make
> > > changes to files without rebuilding the entire installation?

> > If after running the media builder you replace an uncompressed file in a
> > disk image folder, an MD5Error event will be generated at run time. You
> can
> > modify the default OnMD5Error code to automatically handle this MD5Error
> > event rather than display a dialog box. For example, to automatically
> ignore
> > the MD5Error event for the file ReplacedAfterBuild.txt, which is
installed
> > to TARGETDIR, add the following lines at the beginning of the OnMD5Error
> > code:
> >
> > if File = TARGETDIR ^ "ReplacedAfterBuild.txt" then
> > return ERR_IGNORE;
> > endif;

NewsArchive
01-08-2002, 01:00 AM
It doesn't rewrite the fileexistant in the directory by the new file ...


"Mark at IS" <http://support.installshield.com/ask-via-web/default.asp> a
écrit dans le message news: 3c3af791$1@news.installshield.com...
> "lo" <vneiva@sidexa.com> wrote in message
> news:3c3aa38d$1@news.installshield.com...
>
> > Hi and thanks to answer ...
> >
> > I have IS6.3 and I use "OnMD5Error" event but I write directly "return
> > ERR_IGNORE;"
> > and doesn't work !!
>
> What exactly happens?
>
> --
> Mark
> InstallShield Software Corporation
>
> > Have you an another idea
> >
> > Thanks for your help.
> >
> > best regards.
>
> > "Mark at IS" <http://support.installshield.com/ask-via-web/default.asp>
a
> > écrit dans le message news: 3c39a5ce$1@news.installshield.com...
> > > "lo" <vneiva@sidexa.com> wrote in message
> > > news:3c35e3f3$1@news.installshield.com...
> > > > Hi
> > > >
> > > > Is it possible to disable the CRC-check in an installation so I can
> make
> > > > changes to files without rebuilding the entire installation?
>
> > > If after running the media builder you replace an uncompressed file in
a
> > > disk image folder, an MD5Error event will be generated at run time.
You
> > can
> > > modify the default OnMD5Error code to automatically handle this
MD5Error
> > > event rather than display a dialog box. For example, to automatically
> > ignore
> > > the MD5Error event for the file ReplacedAfterBuild.txt, which is
> installed
> > > to TARGETDIR, add the following lines at the beginning of the
OnMD5Error
> > > code:
> > >
> > > if File = TARGETDIR ^ "ReplacedAfterBuild.txt" then
> > > return ERR_IGNORE;
> > > endif;
>
>
>

NewsArchive
01-08-2002, 01:00 AM
"lo" <vneiva@sidexa.com> wrote in message
news:3c3b034b$1@news.installshield.com...

> It doesn't rewrite the fileexistant in the directory by the new file ...

That should have nothing to do with MD5 checking. A file will overwrite an
existing file only if its file group's Overwrite property is satisfied; and
if the existing file is locked (in use) during the setup, it will be
overwritten only if the installed file's file group's Potentially Locked
property is set to Yes AND only after the machine is rebooted. See the
online Help Library for more information on these subjects.

> "Mark at IS" <http://support.installshield.com/ask-via-web/default.asp> a
> écrit dans le message news: 3c3af791$1@news.installshield.com...
> > "lo" <vneiva@sidexa.com> wrote in message
> > news:3c3aa38d$1@news.installshield.com...
> >
> > > Hi and thanks to answer ...
> > >
> > > I have IS6.3 and I use "OnMD5Error" event but I write directly
"return
> > > ERR_IGNORE;"
> > > and doesn't work !!

> > What exactly happens?
> >
> > --
> > Mark
> > InstallShield Software Corporation
> >
> > > Have you an another idea
> > >
> > > Thanks for your help.
> > >
> > > best regards.
> >
> > > "Mark at IS"
<http://support.installshield.com/ask-via-web/default.asp>
> a
> > > écrit dans le message news: 3c39a5ce$1@news.installshield.com...
> > > > "lo" <vneiva@sidexa.com> wrote in message
> > > > news:3c35e3f3$1@news.installshield.com...
> > > > > Hi
> > > > >
> > > > > Is it possible to disable the CRC-check in an installation so I
can
> > make
> > > > > changes to files without rebuilding the entire installation?
> >
> > > > If after running the media builder you replace an uncompressed file
in
> a
> > > > disk image folder, an MD5Error event will be generated at run time.
> You
> > > can
> > > > modify the default OnMD5Error code to automatically handle this
> MD5Error
> > > > event rather than display a dialog box. For example, to
automatically
> > > ignore
> > > > the MD5Error event for the file ReplacedAfterBuild.txt, which is
> > installed
> > > > to TARGETDIR, add the following lines at the beginning of the
> OnMD5Error
> > > > code:
> > > >
> > > > if File = TARGETDIR ^ "ReplacedAfterBuild.txt" then
> > > > return ERR_IGNORE;
> > > > endif;
> >
> >
> >
>
>