File install depending on registry key ?

Giganews Newsgroups
Subject: File install depending on registry key ?
Posted by:  Sharon (SharonG@newsgroups.nospam)
Date: Thu, 6 Sep 2007

I'm using VS2005 Setup project.

I need to check if a specific registry key exist in the registry.
If it exists - to skip installing some file.
If not exists - to installing some file.

I guess it should be done in two stages, one reading the registry key, and
the other is to install or not install the file accordingly.

I tried setting the first stage using the Launch Conditions, but it causes
to the entire install to quite, but I only need it to determine if to install
a specific file or not, without any notification to the user.

Can anybody help on that?

--
Thanks
Sharon

Replies