installscript


InstallScript Reboot after multiple prequisites


My product uses an InstallScript 2014 project that has multiple prerequisites (PRQ). Sometimes one or more of these PRQs requires that the machine be rebooted. I have set the PRQ Editor Behavior tab to "Note it, fail to resume if the machine is rebooted, and reboot after the installation", and have set the return codes as 1641 and 3010, both of which indicate that a restart is required.
I interpret the Behavior setting to indicate that once ALL of the prerequisites have been installed and after MY application is installed that computer will be rebooted. However, this is not the case - the reboot never occurs.
Could it be that if PRQ #1 requests a reboot but PRQ does not, the "note" for a reboot is lost thus none occurs? This would certainly explain what I'm seeing. (The PRQ process is a black-box: There's no way to see what happens as it's running.)
If this is true, what other options do I have? Should I allow each PRQ to reboot as necessary, potentially aggravating my customers, or is there another way that I'm not seeing?
When the user runs the installer, I check if they are installed in the registry and ask the user if they would like to install them one by one if they are missing anything. If I decide that one needs a reboot, then I display the prompt to reboot the machine. It gives me complete control over how I handle the prereqs rather than using the PRQ system.

Related Links

Let Setup.exe return '0'(success) when reinstalling - installshield
Limitations of InstallScript “Is(FILE_EXISTS, filename)”?
InstallScript Reboot after multiple prequisites
InstallScript detect app during upgrade?
InstallShield - Detect USB 3.0 Ports
Execute command line statement in installshield / installscript
InstallScript and machine.config
Need an example of /installfromweb command line switch for Installscript Project Setup.exe
How do you compare versions in InstallScript?
unInstallApplication of InstallShield is not working
How to find if the Installatoion was per user or per machine installation
During uninstallation the dll does not remove from system32 folder
Good resources on InstallScript

Categories

HOME
embedded
google-cloud-platform
prism
angular2-material
numbers
oracle-apex-5
sh
jsf-2.2
graphics
rendering
alarm
simulink
emscripten
code-coverage
project
distribution
siddhi
cmdb
stellar.js
parameter-passing
job-scheduling
fileserver
red5
asp.net-mvc-viewmodel
nim
charles
asp.net-core-webapi
lilypond
guzzle
imagemap
exploit
epsilon
game-theory
expressionengine3
definitelytyped
moses
android-things
complex-numbers
wacom
dsx-desktop
hibernate-search
parse-tree
projects-and-solutions
sim-card
linq-to-objects
lpsolve
apollostack
android-exoplayer
stylecop
xbmc
yii2-api
corruption
java-6
backbone-collections
mouseleave
mathcad
swingworker
smartfoxserver
angular2-testing
hadoop-2.7.2
pacemaker
centrifuge
watch-os-2
hclust
expectations
delta
appscale
android-wake-lock
spreadjs
phpwebsocket
toast
boomerang
assertion
uncompress
botan
nutiteq
shopizer
xmltype
primitive-types
crowd
appserver
template-deduction
personalization
ora-00904
malformedurlexception
xml-dsig
alternate
gnumeric
dsym
websphere-esb
sphinxql
dtmf
kogrid
asdf
cmmi
joomla-template
composite-component
web-notifications
fusefabric
floating-point-exceptions
update-statement
tmx
ajax-polling
pos-for-.net
request-headers
complex-event-processing
scrubyt
information-management
blind

Resources

Encrypt Message