Hello,

like the title of this thread shows, I would like to use a System Search as condition if a component should be installed or not.
This component only adds values to the registy.

I've defined System Search to look up a path in the registry, if this path doesn't the component should set this registry path.

The path is "HKEY_LOCAL_MACHINE\WOW6432Node\SOFTWARE\myEntry".

--------- System Search ---------

Want to find: Registry entry

Registry Root: HKEY_LOCAL_MACHINE
Registry Key: SOFTWARE\myEntry
Registry Value: (no value)
Search 64bit: not checked

Property: TESTPROPERTY
Addditional Option: Just store the value in the property

--------- Component Condition ---------

Condition: NOT TESTPROPERTY

This is what I did in my Merge Module, in my Basic MSI file I did rearrange the Sequence into this order:

Installation
-> User Interface
-> SetupCompleteError
SetupInterrupted
SetupCompleteSuccess
ISSetupFilesExtract
ISSetAllUsers
AppSearch
LaunchConditions
...

-> Execute
-> ISSetupFilesExtract
ISSetAllUsers
AppSearch
LaunchConditions
...

But after all this, every time I execute the installation the registy path gets overwritten by the default no matter if the path in the registry exists or not.

Maybe one of you can tell me what I miss.

Kind regard