OKay think ive worked out now what you mean


try something like this
Code:
 

script2:
Gosub Acrobat
GoTo end
:Acrobat
Dim $uninst, $leftpart, $rightpart

;Read Registry key to determine if AR4 is installed
$uninst=ReadValue("KLM\Software....", "UninstallString")
If $uninst<>""
WriteProfileString ("c:\temp\Yes.txt","Yes","Yes","yes")
Call \\server\kix\acrobat7.kix

Else
WriteProfileString ("c:\temp\No.txt","No","No","No")
Call \\server\kix\acrobat7.kix
endif
Return




script3:
If exist ("c:\temp\yes.txt")
Gosub ar4_detected
Endif
If exist ("c:\temp\No.txt")
Gosub MSIparam
Endif

Gosub Install
{code...
}
del




Something like that

Aaron


Edited by AzzerShaw (2005-01-14 02:44 PM)
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields