installscript


Let Setup.exe return '0'(success) when reinstalling - installshield


I wanted to have the ResultCode of '0' returned when reinstall the same package among others of the parent installer, but '-3' always returned. This is in silent mode!
I'm not sure if "return 0" is a valid method but I didn't find much reference of the desired action.
I did the following to the Setup.rul script:
function OnFirstUIBefore()
if ((MODE = SILENTMODE)
&& MSICONDITION_TRUE = MsiEvaluateCondition(ISMSI_HANDLE, "REINSTALL<>\"\"")) then
**return 0;**
...
endif;
and the following:
function OnMaintUIBefore()
begin
// reinstall scenario - ignore
if ((MODE = SILENTMODE)
&& REMOVEONLY) then
return 0;
endif;
but still Setup.log has this inside:
[ResponseResult]
ResultCode=-3
Thanks,

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
android
beautifulsoup
grok
oracle12c
adal
interface
mstest
grafana
r-googlesheets
ms-access-2016
tail
title
joomla3.0
p2p
project
why3
dynatrace
zerobrane
plink
coin3d
job-scheduling
intershop
qliksense
aggregation
onload
ms-access-web-app
jaws
failover
dotspatial
utorrent
database-comparison
glib
wacom
timing
sim-card
railstutorial.org
vmware-fusion
escpos
postgresql-8.4
subclipse
apollostack
flask-restful
openrasta
serde
yii2-api
bluez
wpas
filehandle
boo
template-toolkit
renaming
branch-prediction
gets
cronexpression
docpad
meteor-packages
custom-lists
microstation
iotivity
uicolor
delta
nservicebus5
omniauth-facebook
kiosk
concept-insights
sapi
xenomai
fuelcms
toolkit
visual-sourcesafe-2005
batik
jsvc
keyup
omnifaces
j-security-check
execve
crowd
spy++
entry-point
psr-4
cbind
jjaql
cfcache
clickbank
koala
ora-06550
hibernate-entitymanager
isqlquery
jeromq
observium
scringo
jquery-1.9
android-icons
composite-component
wp7test
booksleeve
qi4j
nokia-s40
vfs
objectquery
ikimagebrowserview
uipagecontrol
django-paypal
appledoc
qglwidget
diagrams
globals
spread
technical-debt
idatareader

Resources

Encrypt Message