Page 1 of 1

Preventing an installation from running

Posted: Tue Feb 20, 2007 11:33 am
by Stephen Ibbs
I am still low down on the learning curve of Installaware so please accept my apologies if the answer is obvious.

I want to stop the installation from running by detecting if a particular file $TARGETDIR$\\REPORTS\\RPTROLLLIST.FRX is missing.

Could somebody explain how I do this please?

Many thanks

Stephen

Posted: Tue Feb 20, 2007 1:02 pm
by jimo
Test for the files existence with "Does File/Folder Exist".
if it does, "Terminate Installation"

Posted: Wed Feb 21, 2007 5:51 am
by Stephen Ibbs
Many thanks for your reply. Please forgive my ignorance, but I presume I would put this in via the scripting language. Can you post an example of where I would put it, and what the code would be?

I have already added some lines to the script, to copy some local files, so I am fairly comfortable about how to enter the commands - I just don't know what commands and where <g>.

Many thanks

Stephen

Posted: Wed Feb 21, 2007 6:57 am
by Stephen Ibbs
Please ignore previous message. I have just tried it and it worked first time. I figured out where it should go in the code, added the lines and it worked !! I struggle to believe that it is so simple in Installaware.

Many thanks

Stephen