installer doesn't start after uninstall.
Posted: Tue Aug 07, 2012 11:26 am
I had a working project and something changed. Previously after a prerequisite unistall the installer started now it doesn't anymore, it just goes to the end.
Did somekind fo a jump to a label get deleted?
This is a no maintance setup. Just Install... If already installed then uninstall/install.
Thank you.
Code: Select all
[DEFINE REGION: Install Application Pre-Requisites]
Comment: Install setup pre-requisites
if Variable PREREQ not Equals FALSE
Display Dialog: prereq, wait for dialog to return (modal)
if Variable WIZARD Equals CANCEL
Terminate Installation
end
Display Dialog: progressprereq, use as progress dialog (non-modal)
[compiler if Variable BUILDMODE not Equals PATCH]
if Variable NEEDSUPGRADE Equals TRUE
Set Variable REMOVEOLD to
Set Variable ERROROLD to
Install/Remove MSI Package $PRODUCTCODE$[REMOVE=ALL] (get result into variable REMOVEOLD)
if Variable REMOVEOLD Equals ERROR
MessageBox: $TITLE$ Setup, ...
Terminate Installation
end
if Variable REMOVEOLD Equals REBOOT
MessageBox: $TITLE$ Setup, Your computer needs ...
if Variable REBOOTNOW Equals OK
Reboot Computer and Resume Setup
else
Terminate Installation
end
end
Set Variable MAINTENANCE to FALSE
end
[DEFINE WEB MEDIA Microsoft Windows Installer 2.0]
Include Script: setupmsi20
[compiler end]
Hide Dialog
end
Did somekind fo a jump to a label get deleted?
This is a no maintance setup. Just Install... If already installed then uninstall/install.
Thank you.