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

Repair mode custom actions

6 views
Skip to first unread message

Heather B.

unread,
Oct 1, 2001, 7:25:11 PM10/1/01
to

Hi there,

Just realized that my custom action to kick off mdac_typ does not happen
during repair mode. Seems the list of times that a custom action can be
kicked off is pretty limited, and I can't tell which of the events listed
are events that actually happen during application repair mode.

Right now I have mdac being kicked off after the welcome dialog. Apparently
the welcome dialog doesn't get shown during repair. Any suggestions?

Thanks very much.

Heather

James P. Hoffman

unread,
Oct 2, 2001, 8:01:37 AM10/2/01
to
I've wondered about having MDAC_type installed in the application directory
to be run by the application itself. There are several problems with this
approach; but, the repair mode would at least cause the file to be recopied
for reexecution. Problems include:
1. The application has to terminate itself when running MDAC_typ, after
setting some kind of indication, possibly a register value, that the file's
been executed.
2. Then on each subsequent run that sees that MDAC_typ is present, it tests
the register value, deletes MDAC_typ, and resets the register value.
3. There has been postings about marking a file to not be auto-repaired.
This is not an area I'm familiar about. Would we have to do this to keep
the MDAC_typ file itself from being automatically restored to the
application directory?

Pete Hoffman

"Heather B." <heat...@NOSPAM.attglobal.net> wrote in message
news:3bb8...@news.installshield.com...

reply@installshield.com Chandima Rajakaruna

unread,
Oct 2, 2001, 10:11:40 AM10/2/01
to
If you are running Mdac_Typ.exe as a Custom Action, unless you specify it in
the Uninstall Sequence as well, it will not be run in repair mode. Setting
and clearing key files has no effect on Custom Actions.

"James P. Hoffman" <jpho...@velocenet.net> wrote in message
news:3bb9...@news.installshield.com...

reply@installshield.com Chandima Rajakaruna

unread,
Oct 2, 2001, 10:08:15 AM10/2/01
to
Try putting the Custom Action in the uninstall Sequence as well and make it
launch after the "Maintenance Welcome" dialog.

If you run MDAC as a Custom Action on repair or uninstall, it will ALWAYS
run the MDAC install (and maybe the reboot as well) regardless of whether
MDAC files are all installed or some are missing. The repair mode will only
look at files that are in the msi's repair table. This is pretty much the
files you added from the Files view in Express.

"Heather B." <heat...@NOSPAM.attglobal.net> wrote in message
news:3bb8...@news.installshield.com...
>

0 new messages