Preventing an installation from running

Got a problem you cannot solve? Try here.
Stephen Ibbs
Posts: 36
Joined: Thu Oct 26, 2006 5:44 am

Preventing an installation from running

Postby Stephen Ibbs » Tue Feb 20, 2007 11:33 am

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

jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Postby jimo » Tue Feb 20, 2007 1:02 pm

Test for the files existence with "Does File/Folder Exist".
if it does, "Terminate Installation"
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com

Stephen Ibbs
Posts: 36
Joined: Thu Oct 26, 2006 5:44 am

Postby Stephen Ibbs » Wed Feb 21, 2007 5:51 am

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

Stephen Ibbs
Posts: 36
Joined: Thu Oct 26, 2006 5:44 am

Postby Stephen Ibbs » Wed Feb 21, 2007 6:57 am

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 110 guests