If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

How do I add/offer Reboot to a Windows Installer app.

I need to offer to reboot after program installation - if a vxd is not found
in the registry during installation (a prior installation does not reboot, a
new install does need a reboot to load the vxd), and also offer either to
run the program after reboot (add a runonce key) or immediately if vxd was
already installed.
This was easy in the setup.rul file for the Installshield 5 version - but I
am trying to rewrite this as a Windows Installer app. All the same
functions, i.e. sdFinishReboot all say "This function is not available in
InstallShield for Windows Installer". Help lists the 'Configurable
property' called "REBOOT" but there is no help anywhere on using it.

This would be a very good topic for an article in their knowledgebase -
hint, hint.
Thanks,

Re: How do I add/offer Reboot to a Windows Installer app.

ScheduleReboot action in execute sequence with an appropriate condition will
do it. REBOOT property is about how to handle the situation when reboot is
scheduled.

Ivan

Todd Nelson <tnelson@ontrack.com> wrote in message
news:39c14f43$1@12.41.20.38...
> I need to offer to reboot after program installation - if a vxd is not
found
> in the registry during installation (a prior installation does not reboot,
a
> new install does need a reboot to load the vxd), and also offer either to
> run the program after reboot (add a runonce key) or immediately if vxd was
> already installed.
> This was easy in the setup.rul file for the Installshield 5 version - but
I
> am trying to rewrite this as a Windows Installer app. All the same
> functions, i.e. sdFinishReboot all say "This function is not available in
> InstallShield for Windows Installer". Help lists the 'Configurable
> property' called "REBOOT" but there is no help anywhere on using it.
>
> This would be a very good topic for an article in their knowledgebase -
> hint, hint.
> Thanks,
>
> Todd Nelson
>
>

re:How do I add/offer Reboot to a Windows Installer app.

I search for "ScheduleReboot" in the Installshield Windows Installer help,
and cannot find it...

This is my first Windows Installer app, so I am not familiar with how to add
an 'execute sequence', this is why I think this a good topic for
Installshield to write an entire 'how to' article on... unless you could
beat them to it - I would be most grateful...
Thanks,
Todd

"Ivan Lalis" <Ivan.Lalis@NOSPAM.simultan.ch> wrote in message
news:39c1d93f$1@12.41.20.38...
> ScheduleReboot action in execute sequence with an appropriate condition
will
> do it. REBOOT property is about how to handle the situation when reboot is
> scheduled.
>
> Ivan
>
> Todd Nelson <tnelson@ontrack.com> wrote in message
> news:39c14f43$1@12.41.20.38...
> > I need to offer to reboot after program installation - if a vxd is not
> found
> > in the registry during installation (a prior installation does not
reboot,
> a
> > new install does need a reboot to load the vxd), and also offer either
to
> > run the program after reboot (add a runonce key) or immediately if vxd
was
> > already installed.
> > This was easy in the setup.rul file for the Installshield 5 version -
but
> I
> > am trying to rewrite this as a Windows Installer app. All the same
> > functions, i.e. sdFinishReboot all say "This function is not available
in
> > InstallShield for Windows Installer". Help lists the 'Configurable
> > property' called "REBOOT" but there is no help anywhere on using it.
> >
> > This would be a very good topic for an article in their knowledgebase -
> > hint, hint.
> > Thanks,
> >
> > Todd Nelson
> >
> >
>
>

re:How do I add/offer Reboot to a Windows Installer app.

This is an excerpt from my MSI help:
------------
ScheduleReboot Action
Insert the ScheduleReboot action into the action sequence to prompt the user
for a reboot of the system at the end of the installation. Use the
ForceReboot action to prompt for a reboot during the installation.

If the installation has a user interface, the installer displays a message
box and button at the end of the installation asking whether the user wants
to reboot the system. The user must respond to this prompt before completing
the installation. If the installation has no user interface, the system
automatically reboots at the end.
-------------

ScheduleReboot must be available in the selection dialog, when inserting a
new action into execute sequence. It's a standard action. If you cannot find
it in a listbox, it means it is already in the sequence. In that case you
have to modify a condition a little bit to include your case.

Ivan

Todd Nelson <tnelson@ontrack.com> wrote in message
news:39c232d0$1@12.41.20.38...
> I search for "ScheduleReboot" in the Installshield Windows Installer help,
> and cannot find it...
>
> This is my first Windows Installer app, so I am not familiar with how to
add
> an 'execute sequence', this is why I think this a good topic for
> Installshield to write an entire 'how to' article on... unless you could
> beat them to it - I would be most grateful...
> Thanks,
> Todd
>
>
> "Ivan Lalis" <Ivan.Lalis@NOSPAM.simultan.ch> wrote in message
> news:39c1d93f$1@12.41.20.38...
> > ScheduleReboot action in execute sequence with an appropriate condition
> will
> > do it. REBOOT property is about how to handle the situation when reboot
is
> > scheduled.
> >
> > Ivan
> >
> > Todd Nelson <tnelson@ontrack.com> wrote in message
> > news:39c14f43$1@12.41.20.38...
> > > I need to offer to reboot after program installation - if a vxd is not
> > found
> > > in the registry during installation (a prior installation does not
> reboot,
> > a
> > > new install does need a reboot to load the vxd), and also offer either
> to
> > > run the program after reboot (add a runonce key) or immediately if vxd
> was
> > > already installed.
> > > This was easy in the setup.rul file for the Installshield 5 version -
> but
> > I
> > > am trying to rewrite this as a Windows Installer app. All the same
> > > functions, i.e. sdFinishReboot all say "This function is not available
> in
> > > InstallShield for Windows Installer". Help lists the 'Configurable
> > > property' called "REBOOT" but there is no help anywhere on using it.
> > >
> > > This would be a very good topic for an article in their
knowledgebase -
> > > hint, hint.
> > > Thanks,
> > >
> > > Todd Nelson
> > >
> > >
> >
> >
>
>