| |
microsoft.public.platformsdk.msi |
I even tried writting a C++ DLL that will call ::MsiDoAction(hInstall,
_T("ScheduleReboot")). It doesn't seem to work.
Any ideas?
> "Phil Wilson" <Phil.Wil...@unisys.spamcom> wrote in message
> news:%23NB5MTUiEHA.3608@TK2MSFTNGP09.phx.gbl...
> > Session.DoAction for ScheduleReboot apparently works only in an
immediate
> > custom action.
> > --
> > Phil Wilson [MVP Windows Installer]
> > ----
> > "Prasanna" <csoprasanna-nos...@hotmail.com> wrote in message
> > news:#wZulEUiEHA.1048@tk2msftngp13.phx.gbl...
> > > I am trying to schedule a reboot if certain actions were done as part
of
> > my
> > > custom action. I have a CA1 that runs in a deferred mode. This CA1
sets
> a
> > > registry key to indicate whether a reboot is necessary following the
> > > installation. I need to have another CA2 run after my CA1. CA2 checks
> for
> > > the registry key and must call ScheduleReboot action.
> > > I run CA2 on a deferred mode. I just call
> > > Session.DoAction("ScheduleReboot"). However my installation is giving
an
> > > error whenever it hits this CA2.
> > > MSI (s) (D8:30): Executing op:
> > > I have CA1 scheduled to run after StartServices action. I have CA2
> > schduled
> > > to run after CA1.
> > > Am I doing something wrong?