I'd give your property an initial value of something like "notfound" and use a
condition of
OLDVERSIONDETECTED = "notfound". The condition will fail if AppSearch found
something and updated
the property.
Rob
Craig0ss wrote:
> HI
>
> Yeah sorry i see what ya mean now, ive decided to look fo
HI
Yeah sorry i see what ya mean now, ive decided to look for a registry of an
earlier installed version of my software, not a txt file anymore.
so my registry search is ok? how do i call the "condition" if the registry
search returns false?
thanks
Rob Hamflett wrote:
>
> As an aside, what
As an aside, what you're doing isn't a Custom Action, but it should work
anyway. I think maybe
you've got the condition wrong. I think you need it so that the package
continues when the
condition is successful, which is what's happening now. If the condition is
false then the error is
show
hi thanks for your reply
Im doing a registry search at the moment, its basicaly the same however i
cant get my code working, here is my reg search code
and here is my custom action
OLDVERSIONDETECTED
im not quite sure how to call the custom action if the reg search returns
You can do the same thing with an Error Custom Action. Get AppSearch to look
for your file, and if
it doesn't find it, call your Custom Action to show the error.
Rob
Craig0ss wrote:
> Hi
>
> I need to search for a txt file that is installed with a certain app that my
> app needs to run, so i
Hi
I need to search for a txt file that is installed with a certain app that my
app needs to run, so im looking for a launch condition that looks on the
computer (C:\Windows\System32\vbruntme.txt), if this is found the installer
installs as normal and if it doesnt find the file on the computer t
6 matches
Mail list logo